1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

Merge pull request #20339 from chrysn-pull-requests/native64-rust

cpu/native: Enable Rust on 64bit
This commit is contained in:
chrysn 2024-02-23 10:41:47 +00:00 committed by GitHub
commit 6714a77026
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 3 additions and 6 deletions

View File

@ -6,7 +6,7 @@
[Family: native](https://github.com/RIOT-OS/RIOT/wiki/Family:-native)
Same board as \ref boards_native "native", but compiled for 64-bit instead of 32-bit.
Currently only Linux x86-64 is supported, and Rust support is missing.
Currently only Linux x86-64 is supported.
Otherwise, everything works the same as for the 32-bit version.
For more information on this board, see the \ref boards_native "native board" documentation.

View File

@ -60,7 +60,7 @@ config NATIVE_OS_LINUX
select HAS_PERIPH_GPIO
select HAS_PERIPH_GPIO_IRQ
select HAS_PERIPH_SPI
select HAS_RUST_TARGET if "$(OS_ARCH)" = "x86_64" && HAS_ARCH_32BIT
select HAS_RUST_TARGET if "$(OS_ARCH)" = "x86_64"
config NATIVE_OS_FREEBSD
bool

View File

@ -19,10 +19,7 @@ FEATURES_PROVIDED += periph_pwm
FEATURES_PROVIDED += periph_timer_periodic
FEATURES_PROVIDED += periph_timer_query_freqs
ifeq ($(OS) $(OS_ARCH),Linux x86_64)
# TODO: Add rust support for native 64 bit.
ifneq ($(BOARD),native64)
FEATURES_PROVIDED += rust_target
endif
FEATURES_PROVIDED += rust_target
endif
FEATURES_PROVIDED += ssp

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.