periph/flashpage.h: add comment about riotboot impact on flashpage layout
This commit is contained in:
parent
7f3344870d
commit
c6e94aa6be
@ -213,11 +213,17 @@ void flashpage_erase(unsigned page);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Get number of first free flashpage
|
* @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);
|
unsigned flashpage_first_free(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Get number of last free flashpage
|
* @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);
|
unsigned flashpage_last_free(void);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user