summaryrefslogtreecommitdiff
path: root/toolchain/cortex-m0+.cmake
blob: 56c4ddec500913cecf00b4a134bde10f58f24edd (plain)
1
2
3
4
5
6
7
8
9
# 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)