Skip to content

Conversation

@mathk
Copy link
Contributor

@mathk mathk commented Nov 18, 2025

This is a rewrite of the hal for STM32F303.
It improve the compatibility with other HAL.
It also provide fixes for the latest regz generated peripherals.
For now only blinky would work and Usart kind of work with only USART1.

I would like to support better Alternate function and the RCC peripherals before moving on.

Copy link
Collaborator

@tact1m4n3 tact1m4n3 left a comment

Choose a reason for hiding this comment

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

Thanks! It's nice to see more hals getting attention 😄

@mathk mathk force-pushed the stm32f303 branch 5 times, most recently from 7354620 to b929a50 Compare November 27, 2025 12:58
@mathk mathk requested a review from tact1m4n3 November 27, 2025 12:58
@mathk
Copy link
Contributor Author

mathk commented Nov 27, 2025

I did the requested change and also improve the FPU handling (for some reason the generated code missed the fact that some cortex_m4 could have FPU and discarded the fpu for those family of processor)

@tact1m4n3
Copy link
Collaborator

(for some reason the generated code missed the fact that some cortex_m4 could have FPU and discarded the fpu for those family of processor)

The register definitions for cortex m are mostly hand written so I think they were just not written yet :)

@tact1m4n3 tact1m4n3 merged commit 9f64648 into ZigEmbeddedGroup:main Dec 1, 2025
88 of 89 checks passed
@mathk mathk deleted the stm32f303 branch December 1, 2025 14:23
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