2021-04-02 19:07:39 +02:00
|
|
|
# name of your application
|
|
|
|
APPLICATION = hello-world
|
|
|
|
|
|
|
|
# If no BOARD is found in the environment, use this default:
|
|
|
|
BOARD ?= native
|
|
|
|
|
|
|
|
# This has to be the absolute path to the RIOT base directory:
|
|
|
|
RIOTBASE ?= $(CURDIR)/../..
|
|
|
|
|
|
|
|
# Comment this out to disable code in RIOT that does safety checking
|
|
|
|
# which is not needed in a production environment but helps in the
|
|
|
|
# development process:
|
|
|
|
DEVELHELP ?= 1
|
|
|
|
|
|
|
|
# Change this to 0 show compiler invocation lines by default:
|
|
|
|
QUIET ?= 1
|
|
|
|
|
|
|
|
# The name of crate (as per Cargo.toml package name, but with '-' replaced with '_')
|
|
|
|
APPLICATION_RUST_MODULE = rust_hello_world
|
|
|
|
BASELIBS += $(APPLICATION_RUST_MODULE).module
|
|
|
|
|
|
|
|
FEATURES_REQUIRED += rust_target
|
|
|
|
|
2022-11-03 18:05:26 +01:00
|
|
|
# All Rust components RIOT uses work on stable Rust. If any extra libraries
|
|
|
|
# were to require a more recent version, switch to `CARGO_CHANNEL =
|
|
|
|
# $(CARGO_CHANNEL_NIGHTLY)` to use whichever nightly version is available.
|
|
|
|
CARGO_CHANNEL ?= stable
|
2022-06-22 12:07:45 +02:00
|
|
|
|
2022-01-07 14:23:09 +01:00
|
|
|
# Currently unknown, something related to the LED_PORT definition that doesn't
|
|
|
|
# pass C2Rust's transpilation
|
|
|
|
BOARD_BLACKLIST := ek-lm4f120xl
|
|
|
|
|
2021-04-02 19:07:39 +02:00
|
|
|
include $(RIOTBASE)/Makefile.include
|