gems-kernel/source/THIRDPARTY/lwext4-master/toolchain/cortex-m7.cmake

9 lines
277 B
CMake
Raw Normal View History

# Name of the target
set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_SYSTEM_PROCESSOR cortex-m4)
set(MCPU_FLAGS "-mthumb -mcpu=cortex-m7")
set(VFP_FLAGS "-mfloat-abi=hard -mfpu=fpv4-sp-d16")
set(LD_FLAGS "-nostartfiles")
include(${CMAKE_CURRENT_LIST_DIR}/common/arm-none-eabi.cmake)