diff options
author | Oxore <oxore@protonmail.com> | 2023-03-06 01:14:11 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-03-06 01:14:11 +0300 |
commit | 5e565f35686b41ae5b5a2125213e01d8aa9d0e61 (patch) | |
tree | 7874b3eaace97797f7b5f7dc83bb4d06d592c9f7 /CMakeLists.txt | |
parent | 774d716be80fade075c2d15f30cbcf8fe0066f53 (diff) |
Move FreeRTOS handlers to retarget.cpp
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
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} |