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