-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix build for STM32C051xx boards #2791
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
Conversation
fpistm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First thanks for your contribution,
It misses several update to be properly added:
- Reference all the entries in the boards.txt
- Reference in the README.md
- Add a default clock config
system/Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio_ex.h
Outdated
Show resolved
Hide resolved
|
I've submitted issue for the AF0: STMicroelectronics/stm32c0xx-hal-driver#4 |
See STMicroelectronics/stm32c0xx-hal-driver#4 Signed-off-by: Nessotrin <nessotrin@hotmail.fr> Co-authored-by: Frederic Pillon <frederic.pillon@st.com>
Signed-off-by: Nessotrin <nessotrin@hotmail.fr> Co-authored-by: Frederic Pillon <frederic.pillon@st.com>
fpistm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @nessotrin
I've rework your PR to not modify the HAL GPIO.
I've also completed the STM32C051C addition.
Summary
This PR adds the ability to compile for STM32C051xx based boards. Most of the infrastructure was already there.
The STM32C051xx is a recently upgraded version of the STM32C031xx with 2x more flash.
The link script still mentions the STM32C031CxTx. Since it is auto-generated I chose to leave it as is. Someone with STM32CubeIDE could generate a new one, but I suspect there would be no difference whatsoever.