adds map generation and updates bsp

This commit is contained in:
Hongyu Liu 2025-03-21 16:07:17 +01:00
parent c6bfaf0546
commit 658ffbb405
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit ada4881d335e079b1ea655461e03e1e6fd90d63f
Subproject commit 7d55172d51290ab1e9d36d40c600da0d7a386b69

View File

@ -13,6 +13,7 @@ set(BOARD "iss" CACHE STRING "Target board")
add_subdirectory(../../bare-metal-bsp bsp)
target_link_libraries(${TARGET} PRIVATE bsp)
target_link_options(${TARGET} PRIVATE LINKER:--wrap=scanf)
target_link_options(${TARGET} PRIVATE -Wl,-Map=${TARGET}.map)
include(CMakePrintHelpers)
cmake_print_properties(TARGETS ${TARGET} PROPERTIES COMPILE_DEFINITIONS COMPILE_OPTIONS LINK_OPTIONS INTERFACE_LINK_OPTIONS)