40 lines
1.1 KiB
TOML
40 lines
1.1 KiB
TOML
[package]
|
|
name = "chainboot"
|
|
version = "0.0.1"
|
|
authors = ["Berkus Decker <berkus+vesper@metta.systems>"]
|
|
description = "Chain boot loader"
|
|
license = "BlueOak-1.0.0"
|
|
categories = ["no-std", "embedded", "os"]
|
|
publish = false
|
|
edition = "2021"
|
|
|
|
[badges]
|
|
maintenance = { status = "experimental" }
|
|
|
|
[features]
|
|
default = ["asm"]
|
|
# Build for running under QEMU with semihosting, so various halt/reboot options would for example quit QEMU instead.
|
|
qemu = ["machine/qemu"]
|
|
# Build for debugging it over JTAG/SWD connection - halts on first non-startup function start.
|
|
jtag = ["machine/jtag"]
|
|
# Dummy feature, ignored in this crate.
|
|
noserial = []
|
|
# Startup relocation code is implemented in assembly
|
|
asm = []
|
|
# Mutually exclusive features to choose a target board
|
|
rpi3 = ["machine/rpi3"]
|
|
rpi4 = ["machine/rpi4"]
|
|
|
|
[dependencies]
|
|
machine = { path = "../../machine" }
|
|
r0 = "1.0"
|
|
cortex-a = "7.0"
|
|
tock-registers = "0.7"
|
|
ux = { version = "0.1", default-features = false }
|
|
usize_conversions = "0.2"
|
|
bit_field = "0.10"
|
|
bitflags = "1.3"
|
|
cfg-if = "1.0"
|
|
snafu = { version = "0.7", default-features = false }
|
|
seahash = "4.1"
|