Skip to content

Add N6 support #612

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Jun 30, 2025
Merged

Add N6 support #612

merged 20 commits into from
Jun 30, 2025

Conversation

tarfu
Copy link
Contributor

@tarfu tarfu commented May 29, 2025

Adding support for N6

@tarfu
Copy link
Contributor Author

tarfu commented May 31, 2025

@Dirbaio can you please have a sharp look at my renaming effort for the ENUM values?
I still have errors to fix Error: rcc: duplicate en/rst for RTC for rcc_n6 but not today, probably after the renaming pain.

@Dirbaio
Copy link
Member

Dirbaio commented Jun 1, 2025

looks good from a quick look. anything in particular you want me to check / any particular question?

@tarfu
Copy link
Contributor Author

tarfu commented Jun 1, 2025

If there are some unwritten naming conventions, you would probably spot them. The easiest is to look at the diff of e2a5bda.

Fixing the duplication error I need to read up in the docs as in my understanding right now there is a bit of a difference in the fields flaged as duplicate.

@tarfu tarfu marked this pull request as ready for review June 25, 2025 11:35
@tarfu
Copy link
Contributor Author

tarfu commented Jun 25, 2025

It generates and building pac works.

@tarfu
Copy link
Contributor Author

tarfu commented Jun 25, 2025

As there is no flash I have not defined any flash if someone wonders at review.

@Dirbaio
Copy link
Member

Dirbaio commented Jun 25, 2025

there is no flash holy shit

@Dirbaio
Copy link
Member

Dirbaio commented Jun 25, 2025

bender run

@@ -243,7 +275,9 @@ impl ParsedRccs {
stop_mode: StopMode::default(),
};

if en_rst.insert(peri.to_string(), val).is_some() {
println!("{}: {} -> {:?}", rcc_version, peri, val);
Copy link
Member

Choose a reason for hiding this comment

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

these prints are spamming quite a lot at gen time, could you remove them?

@embassy-ci
Copy link

embassy-ci bot commented Jun 25, 2025

@tarfu
Copy link
Contributor Author

tarfu commented Jun 26, 2025

Removed printing. They were nice to find some errors in the yaml.
Would think about adding log and with different levels, maybe sometime.

@embassy-ci
Copy link

embassy-ci bot commented Jun 26, 2025

@tarfu
Copy link
Contributor Author

tarfu commented Jun 26, 2025

Ok, there is something wrong I guess ... It should not add all those signals and interrupts to other chips.

@tarfu
Copy link
Contributor Author

tarfu commented Jun 26, 2025

there is no flash holy shit

Yeah, something new for the stm32 and I think it will be a lot of pain :D

And there might be some variants with flash later.

@embassy-ci
Copy link

embassy-ci bot commented Jun 29, 2025

@embassy-ci
Copy link

embassy-ci bot commented Jun 30, 2025

@embassy-ci
Copy link

embassy-ci bot commented Jun 30, 2025

@embassy-ci
Copy link

embassy-ci bot commented Jun 30, 2025

@embassy-ci
Copy link

embassy-ci bot commented Jun 30, 2025

@tarfu
Copy link
Contributor Author

tarfu commented Jun 30, 2025

@Dirbaio The diff looks better to me :)

@Dirbaio
Copy link
Member

Dirbaio commented Jun 30, 2025

🚀

@Dirbaio Dirbaio added this pull request to the merge queue Jun 30, 2025
Merged via the queue into embassy-rs:main with commit 414b7bf Jun 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants