File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ enum {
151151#error "periph/flashpage: FLASHPAGE_NUMOF not defined"
152152#endif
153153
154- #ifdef MODULE_PERIPH_FLASHPAGE_IN_ADDRESS_SPACE
154+ #if defined( MODULE_PERIPH_FLASHPAGE_IN_ADDRESS_SPACE ) || defined( DOXYGEN )
155155/**
156156 * @def FLASH_WRITABLE_INIT(name, size)
157157 * @brief Define an array in flash memory
@@ -238,6 +238,9 @@ void flashpage_erase(unsigned page);
238238
239239/**
240240 * @brief Get number of first free flashpage
241+ * @deprecated Use @ref FLASH_WRITABLE_INIT instead, which is usable in modules
242+ * as well as applications. The function will be removed after
243+ * the 2022.04 release.
241244 *
242245 * If riotboot is used in two slot mode, this number will change across
243246 * firmware updates as the firmware slots alternate.
@@ -246,6 +249,9 @@ unsigned flashpage_first_free(void);
246249
247250/**
248251 * @brief Get number of last free flashpage
252+ * @deprecated Use @ref FLASH_WRITABLE_INIT instead, which is usable in modules
253+ * as well as applications. The function will be removed after
254+ * the 2022.04 release.
249255 *
250256 * If riotboot is used in two slot mode, this number will change across
251257 * firmware updates as the firmware slots alternate.
You can’t perform that action at this time.
0 commit comments