embassy-rs / stm32-data

76 stars 116 forks source link

Fix flash info and register configuration for STM32U5 #542

Closed williams-one closed 3 days ago

williams-one commented 3 days ago

This addresses some of the issues listed here https://github.com/embassy-rs/embassy/issues/3561

It doesn't seem that in single bank mode two sector of 8 kb are teamed up in a single 16 kb sector. But I just confirmed this with a test! The information is not clear in the datasheets.

In any case, it seems that there is no difference in flash layout between STM32U5[78] chips and the rest of the chips. The only difference is the size of the memory. So I believe that the flash page size should be the same for the entire family

image image

image

embassy-ci[bot] commented 3 days ago

diff: https://ci.embassy.dev/jobs/97f59e0ad92e/artifacts/diff.html