mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
periph/flashpage: deprecate *_free functions
This commit is contained in:
parent
a834cc9acf
commit
4974790bad
@ -238,6 +238,9 @@ void flashpage_erase(unsigned page);
|
||||
|
||||
/**
|
||||
* @brief Get number of first free flashpage
|
||||
* @deprecated Use @ref FLASH_WRITABLE_INIT instead, which is usable in modules
|
||||
* as well as applications. The function will be removed after
|
||||
* the 2022.04 release.
|
||||
*
|
||||
* If riotboot is used in two slot mode, this number will change across
|
||||
* firmware updates as the firmware slots alternate.
|
||||
@ -246,6 +249,9 @@ unsigned flashpage_first_free(void);
|
||||
|
||||
/**
|
||||
* @brief Get number of last free flashpage
|
||||
* @deprecated Use @ref FLASH_WRITABLE_INIT instead, which is usable in modules
|
||||
* as well as applications. The function will be removed after
|
||||
* the 2022.04 release.
|
||||
*
|
||||
* If riotboot is used in two slot mode, this number will change across
|
||||
* firmware updates as the firmware slots alternate.
|
||||
|
Loading…
Reference in New Issue
Block a user