2018-04-23 22:50:01 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018 O.S.Systems
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __UPDATEHUB_FIRMWARE_H__
|
|
|
|
#define __UPDATEHUB_FIRMWARE_H__
|
|
|
|
|
2019-06-26 03:53:50 +08:00
|
|
|
#include <drivers/flash.h>
|
2018-04-23 22:50:01 +08:00
|
|
|
#include <dfu/mcuboot.h>
|
|
|
|
#include <dfu/flash_img.h>
|
|
|
|
|
|
|
|
bool updatehub_get_firmware_version(char *version, int version_len);
|
|
|
|
|
|
|
|
#endif /* __UPDATEHUB_FIRMWARE_H__ */
|