mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
utralib: add SAMA5D27 svd and cargo feature
This commit is contained in:
parent
47b5b88438
commit
de296fb6c0
5 changed files with 174781 additions and 2 deletions
|
|
@ -46,5 +46,8 @@ precursor = []
|
|||
hosted = []
|
||||
renode = []
|
||||
|
||||
# ATSAMA5D27 ARMv7A SoC
|
||||
atsama5d27 = []
|
||||
|
||||
# Specify a Precusor default so that we can pass packaging CI tests.
|
||||
default = ["precursor-70190e2", "precursor"]
|
||||
|
|
|
|||
85593
utralib/atsama5d/ATSAMA5D27.svd
Normal file
85593
utralib/atsama5d/ATSAMA5D27.svd
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -21,7 +21,7 @@ macro_rules! count_enabled_features {
|
|||
}
|
||||
|
||||
/// Helper macro that returns a compile-time error if multiple or none of the
|
||||
/// features of some caterogy are defined.
|
||||
/// features of some category are defined.
|
||||
///
|
||||
/// # Example
|
||||
///
|
||||
|
|
@ -83,7 +83,7 @@ fn main() {
|
|||
// This script retains the use of an explicit "hosted" flag because we want to catch
|
||||
// unintentional build system misconfigurations that meant to build for a target other
|
||||
// than "hosted", rather than just falling back silently to defaults.
|
||||
allow_single_target_feature!("precursor", "hosted", "renode");
|
||||
allow_single_target_feature!("precursor", "hosted", "renode", "atsama5d27");
|
||||
|
||||
#[cfg(feature = "precursor")]
|
||||
allow_single_gitrev_feature!(
|
||||
|
|
@ -125,6 +125,11 @@ fn main() {
|
|||
#[cfg(feature = "precursor-70190e2")]
|
||||
let generated_filename = "src/generated/precursor_70190e2.rs";
|
||||
|
||||
#[cfg(feature = "atsama5d27")]
|
||||
let svd_filename = "atsama5d/ATSAMA5D27.svd";
|
||||
#[cfg(feature = "atsama5d27")]
|
||||
let generated_filename = "src/generated/atsama5d27.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.
|
||||
|
|
|
|||
|
|
@ -31,6 +31,11 @@ mod precursor_70190e2;
|
|||
#[cfg(feature="precursor-70190e2")]
|
||||
pub use precursor_70190e2::*;
|
||||
|
||||
#[cfg(feature = "atsama5d27")]
|
||||
mod atsama5d27;
|
||||
#[cfg(feature = "atsama5d27")]
|
||||
pub use atsama5d27::*;
|
||||
|
||||
// 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"
|
||||
|
|
|
|||
89173
utralib/src/generated/atsama5d27.rs
Normal file
89173
utralib/src/generated/atsama5d27.rs
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue