1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #13759 from benpicco/riotboot_flashwrite_t-stack

sys/riotboot: add a warning about the size of riotboot_flashwrite_t
This commit is contained in:
benpicco 2020-03-31 17:02:19 +02:00 committed by GitHub
commit d5156d6da3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,6 +59,9 @@ extern "C" {
/**
* @brief firmware update state structure
*
* @note @ref FLASHPAGE_SIZE can be very large on some platforms, don't place
* this struct on the stack or increase the thread stack size accordingly.
*/
typedef struct {
int target_slot; /**< update targets this slot */