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

periph/flashpage.h: add comment about riotboot impact on flashpage layout

This commit is contained in:
Ollrogge 2021-10-26 14:35:33 +02:00
parent 7f3344870d
commit c6e94aa6be

View File

@ -213,11 +213,17 @@ void flashpage_erase(unsigned page);
/**
* @brief Get number of first free flashpage
*
* If riotboot is used in two slot mode, this number will change across
* firmware updates as the firmware slots alternate.
*/
unsigned flashpage_first_free(void);
/**
* @brief Get number of last free flashpage
*
* If riotboot is used in two slot mode, this number will change across
* firmware updates as the firmware slots alternate.
*/
unsigned flashpage_last_free(void);