Skip to content

Commit

Permalink
memory usage report after build
Browse files Browse the repository at this point in the history
  • Loading branch information
xrip committed Jan 27, 2024
1 parent cb665ea commit f1f8bb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ else ()
)
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
target_compile_options(${PROJECT_NAME} PUBLIC
-mcpu=cortex-m0plus
-Wno-error=suggest-attribute=format
-Wno-error=cast-qual
-Wno-error=unused-parameter
Expand Down Expand Up @@ -240,7 +241,7 @@ target_compile_definitions(${PROJECT_NAME} PRIVATE

#DMA_8237
)

target_link_options(${PROJECT_NAME} PRIVATE -Xlinker --print-memory-usage)

pico_enable_stdio_uart(${PROJECT_NAME} 0)
pico_enable_stdio_usb(${PROJECT_NAME} 0)
Expand Down

0 comments on commit f1f8bb2

Please sign in to comment.