Skip to content
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

Generated STM32 targets with FPU #255

Merged
merged 3 commits into from
Oct 20, 2024

Conversation

Copper280z
Copy link
Contributor

This PR adds some logic to use the floating point version of a target if the core has an interrupt labeled "FPU". It also adds a target with the FPU features set and hard float abi for the M33 and M7 cores, and for the non-f M7 it sets the soft float abi.

Also makes the register defs path public in chips.zig so a user can specify their own target but still use the generated registers if they need to for whatever reason.

Addresses #245 (comment)

Copper280z and others added 3 commits October 20, 2024 06:43
…has the 'FPU' interrupt. Also make the register definition path public so a user can use the defs to create a custom target if they need.
Copy link
Contributor

@mattnite mattnite left a comment

Choose a reason for hiding this comment

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

Thank you!

@mattnite mattnite merged commit cc4a338 into ZigEmbeddedGroup:main Oct 20, 2024
3 checks 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