forked from platformio/platformio-core
Improve debugging in debug_load_mode = modified and fix an issue with useless project rebuilding
This commit is contained in:
1 parent
be24c6ab4d
commit
4d615416f3
2 files changed
+2
-2
No files matched your search
@@ -296,8 +296,7 @@ def ProcessDebug(env):
|
||||
if not env.subst("$PIODEBUGFLAGS"):
|
||||
env.Replace(PIODEBUGFLAGS=["-Og", "-g3", "-ggdb3"])
|
||||
env.Append(
|
||||
PIODEBUGFLAGS=["-D__PLATFORMIO_DEBUG__"],
|
||||
BUILD_FLAGS=env.get("PIODEBUGFLAGS", []))
|
||||
BUILD_FLAGS=list(env['PIODEBUGFLAGS']) + ["-D__PLATFORMIO_DEBUG__"])
|
||||
unflags = ["-Os"]
|
||||
for level in [0, 1, 2]:
|
||||
for flag in ("O", "g", "ggdb"):
|
||||
|
||||
Reference in new issue
Block a user