From 99faf57b4296b032e486cbf3829745cbcb14a80b Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 25 Jan 2017 22:33:54 +0100 Subject: o Using upstream's tinyprintf which requires 64-bit math operations, so add gcc as a required library. --- apps/serial2/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/serial2') 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 -- cgit v1.2.3