Skip to content

[MCXA] use metadata#5849

Draft
diondokter wants to merge 16 commits intoembassy-rs:mainfrom
diondokter:mcxa-use-metadata
Draft

[MCXA] use metadata#5849
diondokter wants to merge 16 commits intoembassy-rs:mainfrom
diondokter:mcxa-use-metadata

Conversation

@diondokter
Copy link
Copy Markdown
Contributor

No description provided.

@diondokter diondokter added the e-mcxa Issues for the NXP MCX-A family of chips label Apr 14, 2026
Copy link
Copy Markdown
Contributor

@felipebalbi felipebalbi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aren't you missing updates to the tests directory?

Comment on lines +109 to 131
/// Peripheral chip select pin trait.
#[allow(private_bounds)]
pub trait Pcs0Pin<Instance>: GpioPin + sealed::SealedSpiPin<Instance> + PeripheralType {
fn mux(&self);
}

/// Peripheral chip select or host request pin trait.
#[allow(private_bounds)]
pub trait Pcs1Pin<Instance>: GpioPin + sealed::SealedSpiPin<Instance> + PeripheralType {
fn mux(&self);
}

/// Peripheral chip select or data pin 2 during parallel data transfers pin trait.
#[allow(private_bounds)]
pub trait Pcs2Pin<Instance>: GpioPin + sealed::SealedSpiPin<Instance> + PeripheralType {
fn mux(&self);
}

/// Peripheral chip select or data pin 3 during parallel data transfers pin trait.
#[allow(private_bounds)]
pub trait Pcs3Pin<Instance>: GpioPin + sealed::SealedSpiPin<Instance> + PeripheralType {
fn mux(&self);
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we're not really using the HW-managed chip select lines

Comment thread embassy-mcxa/build.rs
Comment on lines +29 to +33
let cfg_name = match peripheral.driver_name.split_once("::") {
Some((path, _block)) => path,
None => peripheral.driver_name,
}
.replace("/", "_");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe also downcase?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e-mcxa Issues for the NXP MCX-A family of chips

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants