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/can1/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/can1/CMakeLists.txt') diff --git a/apps/can1/CMakeLists.txt b/apps/can1/CMakeLists.txt index 20ebd0d..48bacdd 100644 --- a/apps/can1/CMakeLists.txt +++ b/apps/can1/CMakeLists.txt @@ -10,7 +10,7 @@ add_executable(can1.elf can1.cpp ${STM32F10X_STDPERIPH_LIB}/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_can.c ${STM32F10X_STDPERIPH_LIB}/Libraries/STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c ) -target_link_libraries(can1.elf tinyprintf) +target_link_libraries(can1.elf tinyprintf gcc) target_include_directories(can1.elf PUBLIC ${PLAYGROUND_DIR}/include -- cgit v1.2.3