diff options
author | Damien George <damien@micropython.org> | 2020-12-07 17:11:49 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-12-07 22:27:38 +1100 |
commit | cb1bb7592e18a50f33d22f84614c5ee9f45ce21e (patch) | |
tree | 3086e1f99fc94f5b800883153b004b4759cab8b5 /py/objmap.c | |
parent | 1e4e2644ecfd2cab5154a2ad95f3eb5aca545ba7 (diff) |
stm32/Makefile: Change -O0 to -Og for DEBUG=1 builds.
The -Og optimisation level produces a more realistic build, gives a better
debugging experience, and generates smaller code than -O0, allowing debug
builds to fit in flash.
This commit also assigns variables in can.c to prevent warnings when -Og is
used, and builds a board in CI with DEBUG=1 enabled.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/objmap.c')
0 files changed, 0 insertions, 0 deletions