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/stepper2/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/stepper2') diff --git a/apps/stepper2/CMakeLists.txt b/apps/stepper2/CMakeLists.txt index 928bbfd..14dbb45 100644 --- a/apps/stepper2/CMakeLists.txt +++ b/apps/stepper2/CMakeLists.txt @@ -15,7 +15,7 @@ target_include_directories(stepper2.elf PUBLIC $ ) target_compile_definitions(stepper2.elf PUBLIC ${STM32F10X_STDPERIPH_DEFINES}) -target_link_libraries(stepper2.elf tinyprintf m) +target_link_libraries(stepper2.elf tinyprintf m gcc) set_target_properties(stepper2.elf PROPERTIES LINK_FLAGS "-nostartfiles -T${CMAKE_SOURCE_DIR}/cmake/stm32.ld") add_extra_commands(stepper2.elf) -- cgit v1.2.3