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

rust: Enable on Cortex-M0(+) boards

This commit is contained in:
chrysn 2021-11-18 15:03:14 +01:00
parent a72ee1fb03
commit b557fdce55
3 changed files with 19 additions and 2 deletions

View File

@ -65,11 +65,13 @@ config CPU_CORE_CORTEX_M0
bool
select CPU_ARCH_ARMV6M
select CPU_CORE_CORTEX_M
select HAS_RUST_TARGET
config CPU_CORE_CORTEX_M0PLUS
bool
select CPU_ARCH_ARMV6M
select CPU_CORE_CORTEX_M
select HAS_RUST_TARGET
config CPU_CORE_CORTEX_M23
bool

View File

@ -23,10 +23,10 @@ endif
# the `rust_target` feature to esnure things are checked properly.
ifeq ($(CPU_CORE),cortex-m0)
CPU_ARCH := armv6m
#RUST_TARGET = thumbv6m-none-eabi
RUST_TARGET = thumbv6m-none-eabi
else ifeq ($(CPU_CORE),cortex-m0plus)
CPU_ARCH := armv6m
#RUST_TARGET = thumbv6m-none-eabi
RUST_TARGET = thumbv6m-none-eabi
else ifeq ($(CPU_CORE),cortex-m23)
CPU_ARCH := armv8m
else ifeq ($(CPU_CORE),cortex-m3)

View File

@ -1,8 +1,23 @@
BOARD_INSUFFICIENT_MEMORY := \
blackpill \
bluepill \
bluepill-stm32f030c8 \
i-nucleo-lrwan1 \
nucleo-f030r8 \
nucleo-f031k6 \
nucleo-f042k6 \
nucleo-f302r8 \
nucleo-f303k8 \
nucleo-f334r8 \
nucleo-l011k4 \
nucleo-l031k6 \
nucleo-l053r8 \
samd10-xmini \
slstk3400a \
stk3200 \
stm32f030f4-demo \
stm32f0discovery \
stm32g0316-disco \
stm32l0538-disco \
stm32mp157c-dk2 \
#