File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 38
38
DefaultEnvironment ,
39
39
)
40
40
41
- from platformio import fs
41
+ from platformio import fs , __version__
42
42
from platformio .compat import IS_WINDOWS
43
43
from platformio .proc import exec_command
44
44
from platformio .builder .tools .piolib import ProjectAsLibBuilder
70
70
assert os .path .isdir (FRAMEWORK_DIR )
71
71
assert os .path .isdir (TOOLCHAIN_DIR )
72
72
73
+ # The latest IDF uses a standalone GDB package which requires at least PlatformIO 6.1.11
74
+ if (
75
+ ["espidf" ] == env .get ("PIOFRAMEWORK" )
76
+ and semantic_version .Version .coerce (__version__ )
77
+ <= semantic_version .Version ("6.1.10" )
78
+ and "__debug" in COMMAND_LINE_TARGETS
79
+ ):
80
+ print ("Warning! Debugging an IDF project requires PlatformIO Core >= 6.1.11!" )
81
+
73
82
# Arduino framework as a component is not compatible with ESP-IDF >=4.1
74
83
if "arduino" in env .subst ("$PIOFRAMEWORK" ):
75
84
ARDUINO_FRAMEWORK_DIR = platform .get_package_dir ("framework-arduinoespressif32" )
You can’t perform that action at this time.
0 commit comments