1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: Disable -Wl,--print-memory-usage as that messes with blhc
With that linker option, cmake output will be interrupted by this:
Memory region Used Size Region Size %age Used
RAM_START: 68 B 68 B 100.00%
SCRATCH_X: 3992 B 4028 B 99.11%
SCRATCH_Y: 1952 B 2 KB 95.31%
RAM: 1428 B 2 KB 69.73%
Author: Johannes Schauer Marin Rodrigues <josch@debian.org>
Forwarded: not-needed
--- a/enc_bootloader/CMakeLists.txt
+++ b/enc_bootloader/CMakeLists.txt
@@ -105,9 +105,6 @@ if (NOT USE_PRECOMPILED)
target_compile_definitions(enc_bootloader PRIVATE ALLOW_DEBUGGING=1)
endif()
- # print memory usage
- target_link_options(enc_bootloader PUBLIC -Wl,--print-memory-usage)
-
pico_minimize_runtime(enc_bootloader)
pico_set_binary_type(enc_bootloader no_flash)
|