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/i2c1/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/i2c1') diff --git a/apps/i2c1/CMakeLists.txt b/apps/i2c1/CMakeLists.txt index 67139f8..e148c41 100644 --- a/apps/i2c1/CMakeLists.txt +++ b/apps/i2c1/CMakeLists.txt @@ -20,6 +20,8 @@ target_include_directories(i2c1.elf PUBLIC ${STM32F10X_STDPERIPH_LIB}/Libraries/STM32F10x_StdPeriph_Driver/inc) target_compile_definitions(i2c1.elf PUBLIC ${STM32F10X_STDPERIPH_DEFINES} USE_FULL_ASSERT) +target_link_libraries(i2c1.elf gcc) + set_target_properties(i2c1.elf PROPERTIES O_LEVEL 3) #set_source_files_properties(i2c1.cpp PROPERTIES O_LEVEL s) -- cgit v1.2.3