florisla / stm32loader

Flash firmware to STM32 microcontrollers using Python.
GNU General Public License v3.0
109 stars 53 forks source link

feat: Add support for STM32C0 chips #75

Closed doceme closed 8 months ago

doceme commented 8 months ago

Add support for STM32C011xx and STM32C031xx chips

florisla commented 8 months ago

Thanks!

If you're up to it, it would be great if you could test the 'device-table' branch against some STM32C0 devices.

https://github.com/florisla/stm32loader/tree/feat/device-table

It's supposed to no longer need the --family flag, and support all known STM32 devices.

florisla commented 8 months ago

See #76 for the pip command to easily install the device-table branch.

doceme commented 8 months ago

Yes, I will try to do that soon. Thanks for the suggestion.

doceme commented 8 months ago

I was successful in testing this change on the feat/device-table branch and was able to remove the --family flag without any issues.

doceme commented 8 months ago

Sorry, I misunderstood what you meant before. I just realized that you were saying the feat/device-table branch should support all known STM32 devices (including the STM32C0 family) without needing this change. I just backed out my commit and re-tested. I can confirm the feat/device-table branch was able to successfully detect my STM32C0 device and flash it without this PR.

florisla commented 8 months ago

Thanks for testing! The next release will be based on the device-table branch so it seems no change is necessary.