adds map generation and updates bsp

This commit is contained in:
hongyu committed 2025-03-21 16:07:17 +01:00
1 parent c6bfaf0546
commit 658ffbb405
2 files changed
+2 -1

No files matched your search

+1
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)