mirror of
https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials.git
synced 2024-11-05 12:00:22 +00:00
22 lines
493 B
TOML
22 lines
493 B
TOML
|
[package]
|
||
|
name = "kernel"
|
||
|
version = "0.1.0"
|
||
|
authors = ["Andre Richter <andre.o.richter@gmail.com>"]
|
||
|
edition = "2018"
|
||
|
|
||
|
[package.metadata.cargo-xbuild]
|
||
|
sysroot_path = "../xbuild_sysroot"
|
||
|
|
||
|
# The features section is used to select the target board.
|
||
|
[features]
|
||
|
default = []
|
||
|
bsp_rpi3 = ["cortex-a", "register"]
|
||
|
bsp_rpi4 = ["cortex-a", "register"]
|
||
|
|
||
|
[dependencies]
|
||
|
r0 = "0.2.*"
|
||
|
|
||
|
# Optional dependencies
|
||
|
cortex-a = { version = "2.*", optional = true }
|
||
|
register = { version = "0.3.*", optional = true }
|