forked from espressif/arduino-esp32
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:
@ -44,6 +44,7 @@ env.Append(
|
||||
|
||||
CCFLAGS=[
|
||||
"-Os",
|
||||
"-g3",
|
||||
"-Wall",
|
||||
"-nostdlib",
|
||||
"-Wpointer-arith",
|
||||
|
Reference in New Issue
Block a user