|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Infuse application versioning. More...
#include <zephyr/dfu/mcuboot.h>#include <zephyr/storage/flash_map.h>Go to the source code of this file.
Macros | |
| #define | APP_VERSION_MAJOR 0 |
| Application major version (fallback when no VERSION file) | |
| #define | APP_VERSION_MINOR 0 |
| Application minor version (fallback when no VERSION file) | |
| #define | APP_PATCHLEVEL 0 |
| Application patch level (fallback when no VERSION file) | |
| #define | APP_TWEAK 0 |
| Application tweak version (fallback when no VERSION file) | |
| #define | infuse_version mcuboot_img_sem_ver |
| Infuse version structure, uses the MCUboot semantic version definition. | |
| #define | INFUSE_VERSION_INT(v) |
| Convert version struct to sortable integer. | |
Functions | |
| struct mcuboot_img_sem_ver | application_version_get (void) |
| Get version of the currently running application. | |
| static int | infuse_version_compare (struct mcuboot_img_sem_ver *a, struct mcuboot_img_sem_ver *b) |
| Compare two version structures. | |
Infuse application versioning.
SPDX-License-Identifier: FSL-1.1-ALv2
| #define APP_PATCHLEVEL 0 |
Application patch level (fallback when no VERSION file)
| #define APP_TWEAK 0 |
Application tweak version (fallback when no VERSION file)
| #define APP_VERSION_MAJOR 0 |
Application major version (fallback when no VERSION file)
| #define APP_VERSION_MINOR 0 |
Application minor version (fallback when no VERSION file)