ref: 5fa8a1a7d4f49a8c36196f6a73249bb016a1abad
dir: /toolchain/cortex-m0.cmake/
# Name of the target set(CMAKE_SYSTEM_NAME Generic) set(CMAKE_SYSTEM_PROCESSOR cortex-m0) set(MCPU_FLAGS "-mthumb -mcpu=cortex-m0") set(VFP_FLAGS "") set(LD_FLAGS "-nostartfiles") include(${CMAKE_CURRENT_LIST_DIR}/common/arm-none-eabi.cmake)