[riot-notifications] [RIOT-OS/RIOT] stm32/flashpage: Add common stm32_flashpage_block_t type (#15467)
notifications at github.com
Wed Nov 18 12:09:41 CET 2020
### Contribution description
This commits adds a common type for the block writes to the flash of the
stm32. Depending on the family, the type has a different size. This
allows the removal of a number of ifdefs to track the differences
between families, simplifying the flashpage code
### Testing procedure
flashpage should still work on all supported stm32 families. Binaries should, in theory, not change with this.
### Issues/PRs references
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* stm32/flashpage: Add common stm32_flashpage_block_t type
* stm32/flashpage: Remove page address casts from erase
-- File Changes --
M cpu/stm32/include/cpu_conf.h (4)
M cpu/stm32/periph/flashpage.c (41)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications