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

Add STM32U0 support. #2809

Merged
merged 1 commit into from
Apr 14, 2024
Merged

Add STM32U0 support. #2809

merged 1 commit into from
Apr 14, 2024

Conversation

Dirbaio
Copy link
Member

@Dirbaio Dirbaio commented Apr 13, 2024

  • stm32/spi,crc: update for new PAC
  • stm32/flash: remove otp flash regions (removed in newer metapacs).
  • stm32/adc: update g4 for new pac.
  • Add stm32u0 support.

@Dirbaio
Copy link
Member Author

Dirbaio commented Apr 13, 2024

bender run

2 similar comments
@Dirbaio
Copy link
Member Author

Dirbaio commented Apr 13, 2024

bender run

@Dirbaio
Copy link
Member Author

Dirbaio commented Apr 13, 2024

bender run

@@ -0,0 +1,9 @@
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
# replace STM32G071C8Rx with your chip as listed in `probe-rs chip list`
runner = "probe-rs run --speed 100 --chip STM32u083rctx"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
runner = "probe-rs run --speed 100 --chip STM32u083rctx"
runner = "probe-rs run --chip STM32u083rctx"

Not sure if you found you needed to limit the speed, but it works fine for me without (and it's almost 10x the speed)

Copy link
Member Author

Choose a reason for hiding this comment

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

ahh tha'ts why it flashed so slow! 🤣 (it's copypasted from the c0 examples...)

@Dirbaio Dirbaio merged commit 2f5023f into main Apr 14, 2024
3 of 6 checks passed
@Dirbaio Dirbaio deleted the u0 branch April 14, 2024 20:29
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.

None yet

2 participants