From 5e565f35686b41ae5b5a2125213e01d8aa9d0e61 Mon Sep 17 00:00:00 2001 From: Oxore Date: Mon, 6 Mar 2023 01:14:11 +0300 Subject: Move FreeRTOS handlers to retarget.cpp --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') 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} -- cgit v1.2.3