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/dma1/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/dma1') diff --git a/apps/dma1/CMakeLists.txt b/apps/dma1/CMakeLists.txt index 19321d8..008982d 100644 --- a/apps/dma1/CMakeLists.txt +++ b/apps/dma1/CMakeLists.txt @@ -13,7 +13,7 @@ target_include_directories(dma1.elf PUBLIC $ ) target_compile_definitions(dma1.elf PUBLIC ${DEFINES_FROM_MCU_STM32}) -target_link_libraries(dma1.elf tinyprintf) +target_link_libraries(dma1.elf tinyprintf gcc) target_link_libraries(dma1.elf dma1-mcu-stm32) set_target_properties(dma1.elf PROPERTIES LINK_FLAGS "-nostartfiles -T${CMAKE_SOURCE_DIR}/cmake/stm32.ld") -- cgit v1.2.3