Skip to content

Commit bd57969

Browse files
committed
ports/rp2: Add print-memory-usage.
Add --print-memory-usage to print memory usage at the end of a build. Shows used/remaining app storage. Signed-off-by: Phil Howard <github@gadgetoid.com>
1 parent 8f8ac1c commit bd57969

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ports/rp2/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,10 @@ target_link_libraries(${MICROPY_TARGET}
585585
${PICO_SDK_COMPONENTS}
586586
)
587587

588+
target_link_options(${MICROPY_TARGET} PRIVATE
589+
-Wl,--print-memory-usage
590+
)
591+
588592
if (MICROPY_HW_ENABLE_DOUBLE_TAP)
589593
# Enable double tap reset into bootrom.
590594
target_link_libraries(${MICROPY_TARGET}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy