summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1648bb4..113b3a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -74,6 +74,7 @@ set(nixie_clock_sources
"app/main.c"
"app/stm32f0xx_it.c"
"app/system_stm32f0xx.c"
+ "app/platform/retarget.cpp"
"app/platform/stm32f0-gcc/freertos/port.c"
"app/platform/stm32f0-gcc/startup/handlers_cm.c"
"app/platform/stm32f0-gcc/startup/stack.cpp"
@@ -141,6 +142,7 @@ target_compile_options(${PROJECT_NAME} PRIVATE
)
target_link_options(${PROJECT_NAME} PRIVATE
+ --specs=nano.specs
${cpu_options}
-Wl,--gc-sections
-T${linker_script_mcu}