Closed kapacuk closed 1 year ago
Steps to reproduce:
$ cmake -B debug -DCMAKE_BUILD_TYPE=Debug -DPICO_DEOPTIMIZED_DEBUG=1 $ grep C_FLAGS debug/*/*/*/flags.make debug/App-IRQs/CMakeFiles/IRQS_DEMO.dir/flags.make:C_FLAGS = -mcpu=cortex-m0plus -mthumb -DTSDEBUG -ffunction-sections -fdata-sections debug/App-Scheduling/CMakeFiles/SCHEDULING_DEMO.dir/flags.make:C_FLAGS = -mcpu=cortex-m0plus -mthumb -DTSDEBUG -ffunction-sections -fdata-sections debug/App-Template/CMakeFiles/TEMPLATE.dir/flags.make:C_FLAGS = -mcpu=cortex-m0plus -mthumb -DTSDEBUG -ffunction-sections -fdata-sections debug/App-Timers/CMakeFiles/TIMERS_DEMO.dir/flags.make:C_FLAGS = -mcpu=cortex-m0plus -mthumb -DTSDEBUG -ffunction-sections -fdata-sections
I would expect to see -O0 -g in C_FLAGS
-O0 -g
C_FLAGS
Will take a look, but will likely update this using the methodology from Depot (which I'd have got round to eventually, but not soon, so thanks for the prompt).
Steps to reproduce:
I would expect to see
-O0 -g
inC_FLAGS