ref: ab4ed9a604bc6bc797dfa7e01e3612f1bc915bdd
dir: /toolchain/cortex-m4.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 "") set(LD_FLAGS "-nostartfiles") include(${CMAKE_CURRENT_LIST_DIR}/common/arm-none-eabi.cmake)