1# Name of the target 2set(CMAKE_SYSTEM_NAME Generic) 3set(CMAKE_SYSTEM_PROCESSOR cortex-m0) 4 5set(THREADX_ARCH "cortex_m3") 6set(THREADX_TOOLCHAIN "gnu") 7 8set(MCPU_FLAGS "-mthumb -mcpu=cortex-m3") 9set(VFP_FLAGS "") 10set(SPEC_FLAGS "--specs=nosys.specs") 11# set(LD_FLAGS "-nostartfiles") 12 13include(${CMAKE_CURRENT_LIST_DIR}/arm-none-eabi.cmake)