9 lines
247 B
CMake
9 lines
247 B
CMake
|
# Name of the target
|
||
|
set(CMAKE_SYSTEM_NAME Generic)
|
||
|
set(CMAKE_SYSTEM_PROCESSOR cortex-m0)
|
||
|
|
||
|
set(MCPU_FLAGS "-mthumb -mcpu=cortex-m0plus")
|
||
|
set(VFP_FLAGS "")
|
||
|
set(LD_FLAGS "-nostartfiles")
|
||
|
|
||
|
include(${CMAKE_CURRENT_LIST_DIR}/common/arm-none-eabi.cmake)
|