micropython/ports
stijn fa5994bd0f ports/Makefile: Assign C optimization options conditionally
-Og introduced in for example 9ffb1ad and c5dbbf7 results in a binary
with debug symbols, but essentially breaks debugging with gdb since
it still allows the compiler to optimize temporaries for instance,
so gdb will report 'optimized out' for a lot of variables and will
often halt on other lines than where breakpoints are defined.
-O0 has none of these problems, but also makes for a large binary, so
allow specifying it via COPT=-O0 by making all Makefiles consistently
use this flag and related CSUPEROPT as well.

Signed-off-by: stijn <stijn@ignitron.net>
2024-03-19 13:24:05 +01:00
..
bare-arm ports/Makefile: Assign C optimization options conditionally 2024-03-19 13:24:05 +01:00
cc3200 extmod/modmachine: Add MICROPY_PY_MACHINE_RESET configuration option. 2024-03-15 12:04:37 +11:00
embed all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
esp32 extmod/modmachine: Add MICROPY_PY_MACHINE_RESET configuration option. 2024-03-15 12:04:37 +11:00
esp8266 ports/Makefile: Assign C optimization options conditionally 2024-03-19 13:24:05 +01:00
mimxrt ports/Makefile: Assign C optimization options conditionally 2024-03-19 13:24:05 +01:00
minimal ports/Makefile: Assign C optimization options conditionally 2024-03-19 13:24:05 +01:00
nrf nrf/boards: Enable MICROPY_HW_ENABLE_USBDEV on boards with USB CDC. 2024-03-16 00:40:39 +11:00
pic16bit ports/Makefile: Assign C optimization options conditionally 2024-03-19 13:24:05 +01:00
powerpc ports/Makefile: Assign C optimization options conditionally 2024-03-19 13:24:05 +01:00
qemu-arm ports/Makefile: Assign C optimization options conditionally 2024-03-19 13:24:05 +01:00
renesas-ra ports/Makefile: Assign C optimization options conditionally 2024-03-19 13:24:05 +01:00
rp2 rp2: Enable support for Python USB devices. 2024-03-15 14:24:52 +11:00
samd samd: Enable support for Python USB devices. 2024-03-15 14:24:52 +11:00
stm32 ports/Makefile: Assign C optimization options conditionally 2024-03-19 13:24:05 +01:00
unix ports/Makefile: Assign C optimization options conditionally 2024-03-19 13:24:05 +01:00
webassembly all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
windows ports/Makefile: Assign C optimization options conditionally 2024-03-19 13:24:05 +01:00
zephyr all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00