cmake: gcc: add support for compiling for the ARM Cortex-M1
Add support for compiling for the ARM Cortex-M1 CPU via GCC. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
parent
661f2d49f2
commit
8acd7966af
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@ if("${ARCH}" STREQUAL "arm")
|
|||
set(GCC_M_CPU cortex-m0)
|
||||
elseif(CONFIG_CPU_CORTEX_M0PLUS)
|
||||
set(GCC_M_CPU cortex-m0plus)
|
||||
elseif(CONFIG_CPU_CORTEX_M1)
|
||||
set(GCC_M_CPU cortex-m1)
|
||||
elseif(CONFIG_CPU_CORTEX_M3)
|
||||
set(GCC_M_CPU cortex-m3)
|
||||
elseif(CONFIG_CPU_CORTEX_M4)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue