mirror of
https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials.git
synced 2024-11-03 15:40:21 +00:00
22 lines
495 B
TOML
22 lines
495 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.8.x", optional = true }
|
|
register = { version = "0.4.x", optional = true }
|