From 23c0f7bcd023f23d014340dc76d839c512c42e4f Mon Sep 17 00:00:00 2001 From: Paul Nehlich Date: Tue, 19 Dec 2023 16:38:01 +0100 Subject: [PATCH] Tried the compiler flags of Jena Optronik -- it compiles -- todo: test on zedboard, link jena-library --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bcffc80..1cf0c1b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,7 +75,7 @@ target_compile_definitions(freertos_config target_include_directories( freertos_config INTERFACE ${BSP_PATH}/ps7_cortexa9_0/include) # our compiler options, will trickle down through the project -target_compile_options(freertos_config INTERFACE -c -fmessage-length=0 -g -O0 -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -ffunction-sections -fdata-sections) +target_compile_options(freertos_config INTERFACE -c -fmessage-length=0 -g -O0 -mfloat-abi=hard -ffunction-sections -fdata-sections -march=armv7-a -mtune=cortex-a9 -mthumb -mfloat-abi=hard -mfpu=neon) add_subdirectory(${FreeRTOS_PATH})