1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
Gunar Schorcht
04df8cd387 tests/periph_flashpage_unittest: enable periph_flashpage
Testing the correct calculation of flash page indices without assuming the `periph_flashpage` feature and enabling the `periph_flashpage` module makes no sense. On ESP32x SoCs for example, the space in the flash is only reserved and `FLASHPAGE_NUMOF` is greater than 0 if `periph_flashpage` is used.
2023-01-30 09:26:16 +01:00
Karl Fessel
54ada3685a tests: add missing includes 2022-11-22 13:39:35 +01:00
Francisco Molina
9bda6b2938 tests/periph_flashpage_unittests: use unsgined int for address cast
For 16bit platforms casting to int will overflow when ROM size nears
2**16
2022-03-24 07:58:32 +01:00
Francisco Molina
91269794d9
tests/periph_flashpage_unittest: lower FLASHPAGE_SIZE for int overflow
On AVR_8 512*256 causes an int overflow.
2021-04-20 14:59:50 +02:00
Francisco Molina
2bb8cb4b55
tests/unittests/tests-flashpage: move out of unittests
Co-authored-by: Martine Lenders <mlenders@inf.fu-berlin.de>
2021-02-23 09:08:57 +01:00