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