add artybio target to utralib

This commit is contained in:
bunnie 2025-06-14 01:42:06 +08:00
parent 20140b2cdd
commit 0f6f6d10dc
7 changed files with 4838 additions and 5 deletions

8
utralib/Cargo.lock generated
View file

@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
version = 4
[[package]]
name = "memchr"
@ -19,16 +19,16 @@ dependencies = [
[[package]]
name = "svd2utra"
version = "0.1.22"
version = "0.1.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c25aa8b02b722429dce9144a5de9228b90ad4867e237b97c27b770d684c3d050"
checksum = "39cd1364c764d8850b69b610c303bf715836dabf08025e72bdff782b2c696462"
dependencies = [
"quick-xml",
]
[[package]]
name = "utralib"
version = "0.1.24"
version = "0.1.25"
dependencies = [
"svd2utra",
]

View file

@ -53,5 +53,8 @@ cramium-fpga = []
# Emulation for cramium
hosted-baosec = []
# Arty target
artybio = []
# Specify a Precusor default so that we can pass packaging CI tests.
default = ["hosted"]

1307
utralib/artybio/bio.svd Normal file

File diff suppressed because it is too large Load diff

1319
utralib/artybio/soc.svd Normal file

File diff suppressed because it is too large Load diff

View file

@ -89,7 +89,8 @@ fn main() {
"renode",
"atsama5d27",
"cramium-soc",
"cramium-fpga"
"cramium-fpga",
"artybio"
);
#[cfg(feature = "precursor")]
@ -131,6 +132,11 @@ fn main() {
#[cfg(feature = "cramium-fpga")]
let generated_filename = "src/generated/cramium_fpga.rs";
#[cfg(feature = "artybio")]
let svd_filenames = vec!["artybio/soc.svd", "artybio/bio.svd"];
#[cfg(feature = "artybio")]
let generated_filename = "src/generated/artybio.rs";
// ----- control file generation and rebuild sequence -----
// check and see if the configuration has changed since the last build. This should be
// passed by the build system (e.g. xtask) if the feature is used.

View file

@ -50,6 +50,13 @@ mod atsama5d27;
#[rustfmt::skip]
pub use atsama5d27::*;
#[cfg(feature = "artybio")]
#[rustfmt::skip]
mod artybio;
#[cfg(feature = "artybio")]
#[rustfmt::skip]
pub use artybio::*;
// Hosted mode includes nothing, as it relies on the abstract host
// architecture for I/O; so this file is empty when the "hosted"
// configuration is selected and there are no corresponding "hosted"

File diff suppressed because it is too large Load diff