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

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.
This commit is contained in:
Gunar Schorcht 2023-01-30 09:26:06 +01:00
parent d187b2fc98
commit 04df8cd387
2 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,9 @@
include ../Makefile.tests_common
FEATURES_REQUIRED += periph_flashpage
USEMODULE += embunit
USEMODULE += periph_flashpage
# avoid running Kconfig by default
SHOULD_RUN_KCONFIG ?=

View File

@ -1,3 +1,4 @@
# this file enables modules defined in Kconfig. Do not use this file for
# application configuration. This is only needed during migration.
CONFIG_MODULE_EMBUNIT=y
CONFIG_MODULE_PERIPH_FLASHPAGE=y