[riot-notifications] [RIOT-OS/RIOT] stm32/flashpage: Add common stm32_flashpage_block_t type (#15467)
Koen Zandberg
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
None
You can view, comment on, or merge this pull request online at:
https://github.com/RIOT-OS/RIOT/pull/15467
-- 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 --
https://github.com/RIOT-OS/RIOT/pull/15467.patch
https://github.com/RIOT-OS/RIOT/pull/15467.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15467
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201118/81de6133/attachment.htm>
More information about the notifications
mailing list