aboutsummaryrefslogtreecommitdiff
path: root/apps/os1
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2017-01-25 22:33:54 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2017-01-25 22:33:54 +0100
commit99faf57b4296b032e486cbf3829745cbcb14a80b (patch)
tree85ad7541a4e7aef2a5ffa9eef91b3b26100ed2f8 /apps/os1
parent40e04e3772726829d66c12e69f24b03920d79c67 (diff)
downloadstm32f103-playground-99faf57b4296b032e486cbf3829745cbcb14a80b.tar.gz
stm32f103-playground-99faf57b4296b032e486cbf3829745cbcb14a80b.tar.bz2
stm32f103-playground-99faf57b4296b032e486cbf3829745cbcb14a80b.tar.xz
stm32f103-playground-99faf57b4296b032e486cbf3829745cbcb14a80b.zip
o Using upstream's tinyprintf which requires 64-bit math operations, so add gcc as a required library.HEADmaster
Diffstat (limited to 'apps/os1')
-rw-r--r--apps/os1/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/os1/CMakeLists.txt b/apps/os1/CMakeLists.txt
index b6849b7..f27c6de 100644
--- a/apps/os1/CMakeLists.txt
+++ b/apps/os1/CMakeLists.txt
@@ -10,7 +10,7 @@ add_executable(os1.elf os1.cpp os1_cm3.s
${STM32F10X_STDPERIPH_LIB}/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_usart.c
${STM32F10X_STDPERIPH_LIB}/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c
)
-target_link_libraries(os1.elf tinyprintf)
+target_link_libraries(os1.elf tinyprintf gcc)
target_include_directories(os1.elf PUBLIC
${PLAYGROUND_DIR}/include