rust-raspberrypi-OS-tutorials/06_drivers_gpio_uart/Cargo.toml

21 lines
482 B
TOML
Raw Normal View History

2019-10-08 20:13:25 +00:00
[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"]
2019-10-21 19:19:11 +00:00
bsp_rpi4 = ["cortex-a", "register"]
2019-10-08 20:13:25 +00:00
[dependencies]
# Optional dependencies
2020-01-16 21:06:43 +00:00
cortex-a = { version = "2.9.x", optional = true }
register = { version = "0.5.x", optional = true }