Tried the compiler flags of Jena Optronik -- it compiles -- todo: test on zedboard, link jena-library

This commit is contained in:
Paul Nehlich
2023-12-19 16:38:01 +01:00
parent 0f99bff211
commit 23c0f7bcd0

View File

@ -75,7 +75,7 @@ target_compile_definitions(freertos_config
target_include_directories( target_include_directories(
freertos_config INTERFACE ${BSP_PATH}/ps7_cortexa9_0/include) freertos_config INTERFACE ${BSP_PATH}/ps7_cortexa9_0/include)
# our compiler options, will trickle down through the project # 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}) add_subdirectory(${FreeRTOS_PATH})