Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
version.h File Reference

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
 
#define APP_VERSION_MINOR   0
 
#define APP_PATCHLEVEL   0
 
#define APP_TWEAK   0
 
#define infuse_version   mcuboot_img_sem_ver
 
#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.
 

Detailed Description

Infuse application versioning.

Author
Jordan Yates jorda.nosp@m.n@em.nosp@m.beint.nosp@m..com

SPDX-License-Identifier: FSL-1.1-ALv2

Macro Definition Documentation

◆ APP_PATCHLEVEL

#define APP_PATCHLEVEL   0

◆ APP_TWEAK

#define APP_TWEAK   0

◆ APP_VERSION_MAJOR

#define APP_VERSION_MAJOR   0

◆ APP_VERSION_MINOR

#define APP_VERSION_MINOR   0