1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

rust: Add triples for M23 and M33 (but keep disabled)

This commit is contained in:
chrysn 2021-11-24 09:16:07 +01:00
parent b557fdce55
commit 1838cdf69c
3 changed files with 6 additions and 0 deletions

View File

@ -77,6 +77,7 @@ config CPU_CORE_CORTEX_M23
bool
select CPU_ARCH_ARMV8M
select CPU_CORE_CORTEX_M
#select HAS_RUST_TARGET
config CPU_CORE_CORTEX_M3
bool
@ -88,6 +89,7 @@ config CPU_CORE_CORTEX_M33
bool
select CPU_ARCH_ARMV8M
select CPU_CORE_CORTEX_M
#select HAS_RUST_TARGET
config CPU_CORE_CORTEX_M4
bool

View File

@ -29,11 +29,13 @@ else ifeq ($(CPU_CORE),cortex-m0plus)
RUST_TARGET = thumbv6m-none-eabi
else ifeq ($(CPU_CORE),cortex-m23)
CPU_ARCH := armv8m
#RUST_TARGET = thumbv8m.base-none-eabi
else ifeq ($(CPU_CORE),cortex-m3)
CPU_ARCH := armv7m
RUST_TARGET = thumbv7m-none-eabi
else ifeq ($(CPU_CORE),cortex-m33)
CPU_ARCH := armv8m
#RUST_TARGET = thumbv8m.main-none-eabi
else ifeq ($(CPU_CORE),cortex-m4)
CPU_ARCH := armv7m
RUST_TARGET = thumbv7em-none-eabi

View File

@ -13,6 +13,8 @@ BOARD_INSUFFICIENT_MEMORY := \
nucleo-l031k6 \
nucleo-l053r8 \
samd10-xmini \
saml10-xpro \
saml11-xpro \
slstk3400a \
stk3200 \
stm32f030f4-demo \