5d0f2837d1
ci / Check build (pull_request) Has been cancelled
ci / Check formatting (pull_request) Has been cancelled
ci / Check Documentation Build (pull_request) Has been cancelled
ci / Clippy (pull_request) Has been cancelled
ci / Check build (push) Has been cancelled
ci / Check formatting (push) Has been cancelled
ci / Check Documentation Build (push) Has been cancelled
ci / Clippy (push) Has been cancelled
This PR introduces some major features while also changing the project structure to be more flexible for multiple platforms (e.g. host tooling). It also includes a lot of bugfixes, renamings for consistency purposes and dependency updates. Added features: 1. Pure Rust FSBL for the Zedboard. This first variant is simplistic. It is currently only capable of QSPI boot. It searches for a bitstream and ELF file inside the boot binary, flashes them and jumps to them. 2. QSPI flasher for the Zedboard. 3. DDR, QSPI, DEVC, private CPU timer and PLL configuration modules 3. Tooling to auto-generate board specific DDR and DDRIOB config parameters from the vendor provided ps7init.tcl file Changed project structure: 1. All target specific project are inside a dedicated workspace inside the `zynq` folder now. 2. All tool intended to be run on a host are inside a `tools` workspace 3. All other common projects are at the project root Major bugfixes: 1. SPI module: CPOL was not configured properly 2. Logger flush implementation was empty, implemented properly now.
55 lines
1.8 KiB
TOML
55 lines
1.8 KiB
TOML
[package]
|
|
name = "embassy-examples"
|
|
version = "0.1.0"
|
|
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]
|
|
edition = "2024"
|
|
description = "Embassy examples for the Zynq7000 SoC"
|
|
homepage = "https://egit.irs.uni-stuttgart.de/rust/zynq7000-rs"
|
|
repository = "https://egit.irs.uni-stuttgart.de/rust/zynq7000-rs"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["no-std", "arm", "cortex-a", "amd", "zynq7000"]
|
|
categories = ["embedded", "no-std", "hardware-support"]
|
|
|
|
[dependencies]
|
|
cortex-ar = { version = "0.3", features = ["critical-section-single-core"] }
|
|
zynq7000-rt = { path = "../../zynq7000-rt" }
|
|
zynq7000 = { path = "../../zynq7000" }
|
|
zynq7000-hal = { path = "../../zynq7000-hal" }
|
|
zynq7000-embassy = { path = "../../zynq7000-embassy" }
|
|
dht-sensor = { git = "https://github.com/michaelbeaumont/dht-sensor.git", rev = "10319bdeae9ace3bb0fc79a15da2869c5bf50f52", features = ["async"] }
|
|
static_cell = "2"
|
|
critical-section = "1"
|
|
heapless = "0.9"
|
|
embedded-io = "0.7"
|
|
embedded-hal = "1"
|
|
fugit = "0.3"
|
|
log = "0.4"
|
|
|
|
embassy-executor = { git = "https://github.com/embassy-rs/embassy.git", features = [
|
|
"arch-cortex-ar",
|
|
"executor-thread",
|
|
]}
|
|
# TODO: Remove generic-queue-16 feature as soon as upstream executor is used again.
|
|
embassy-time = { version = "0.5", features = ["tick-hz-1_000_000", "generic-queue-16"] }
|
|
|
|
# cargo build/run
|
|
[profile.dev]
|
|
# default is opt-level = '0', but that makes very
|
|
# verbose machine code
|
|
opt-level = 's'
|
|
# trade compile speed for slightly better optimisations
|
|
codegen-units = 1
|
|
|
|
# cargo build/run --release
|
|
[profile.release]
|
|
# default is opt-level = '3', but that makes quite
|
|
# verbose machine code
|
|
opt-level = 's'
|
|
# trade compile speed for slightly better optimisations
|
|
codegen-units = 1
|
|
# Use Link Time Optimisations to further inline things across
|
|
# crates
|
|
lto = 'fat'
|
|
# Leave the debug symbols in (default is no debug info)
|
|
debug = 2
|