Adding debug flag to PIO build script (#2510)
Adding the -g3 flag that was omitted in the PIO build script but is present in Arduino IDE build scripts. This flag restores the ability to get line numbers from stack traces for elf files generated in PlatformIO IDE.
This commit is contained in:
parent
cebd8704c8
commit
cb0a939a6f
@ -44,6 +44,7 @@ env.Append(
|
|||||||
|
|
||||||
CCFLAGS=[
|
CCFLAGS=[
|
||||||
"-Os",
|
"-Os",
|
||||||
|
"-g3",
|
||||||
"-Wall",
|
"-Wall",
|
||||||
"-nostdlib",
|
"-nostdlib",
|
||||||
"-Wpointer-arith",
|
"-Wpointer-arith",
|
||||||
|
Loading…
Reference in New Issue
Block a user