lib: updatehub: Add missing include for FLASH_AREA
The conversion from DT_FLASH_AREA to FLASH_AREA macros don't add the storage flash_map.h include file. Fixes: #25332 Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
This commit is contained in:
parent
0b12a7b463
commit
c35cad52f5
2 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,7 @@ LOG_MODULE_REGISTER(updatehub);
|
||||||
#include <power/reboot.h>
|
#include <power/reboot.h>
|
||||||
#include <tinycrypt/sha256.h>
|
#include <tinycrypt/sha256.h>
|
||||||
#include <data/json.h>
|
#include <data/json.h>
|
||||||
|
#include <storage/flash_map.h>
|
||||||
|
|
||||||
#include "include/updatehub.h"
|
#include "include/updatehub.h"
|
||||||
#include "updatehub_priv.h"
|
#include "updatehub_priv.h"
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <storage/flash_map.h>
|
||||||
|
|
||||||
#include "updatehub_firmware.h"
|
#include "updatehub_firmware.h"
|
||||||
|
|
||||||
bool updatehub_get_firmware_version(char *version, int version_len)
|
bool updatehub_get_firmware_version(char *version, int version_len)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue