aboutsummaryrefslogtreecommitdiff
path: root/apps/serial2
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/serial2
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/serial2')
-rw-r--r--apps/serial2/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/serial2/CMakeLists.txt b/apps/serial2/CMakeLists.txt
index 3c31c50..3914115 100644
--- a/apps/serial2/CMakeLists.txt
+++ b/apps/serial2/CMakeLists.txt
@@ -10,7 +10,7 @@ add_executable(serial2.elf serial2.cpp
${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(serial2.elf tinyprintf)
+target_link_libraries(serial2.elf tinyprintf gcc)
target_include_directories(serial2.elf PUBLIC
${PLAYGROUND_DIR}/include