NMSIS-Core  Version 1.0.0-HummingBird
NMSIS-Core support for HummingBird RISC-V processor-based devices
Version Control

Version #define symbols for NMSIS release specific C/C++ source code. More...

Files

file  nmsis_version.h
 NMSIS Version definitions.
 

Macros

#define __NMSIS_VERSION_MAJOR   (1U)
 Represent the NMSIS major version. More...
 
#define __NMSIS_VERSION_MINOR   (0U)
 Represent the NMSIS minor version. More...
 
#define __NMSIS_VERSION_PATCH   (1U)
 Represent the NMSIS patch version. More...
 
#define __NMSIS_VERSION   ((__NMSIS_VERSION_MAJOR << 16U) | (__NMSIS_VERSION_MINOR << 8) | __NMSIS_VERSION_PATCH)
 Represent the NMSIS Version. More...
 
#define __HBIRD_RISCV_REV   (0x0100)
 HummingBird RISC-V revision number. More...
 

Detailed Description

Version #define symbols for NMSIS release specific C/C++ source code.

Note
This NMSIS-Core is modified to match requirements of HummingBird RISC-V Core

We followed the semantic versioning 2.0.0 to control NMSIS version. The version format is MAJOR.MINOR.PATCH, increment the:

  1. MAJOR version when you make incompatible API changes,
  2. MINOR version when you add functionality in a backwards compatible manner, and
  3. PATCH version when you make backwards compatible bug fixes.

The header file nmsis_version.h is included by each core header so that these definitions are available.

Example Usage for NMSIS Version Check:

#if defined(__NMSIS_VERSION) && (__NMSIS_VERSION >= 0x00010105)
#warning "Yes, we have NMSIS 1.1.5 or later"
#else
#error "We need NMSIS 1.1.5 or later!"
#endif

Macro Definition Documentation

◆ __HBIRD_RISCV_REV

#define __HBIRD_RISCV_REV   (0x0100)

HummingBird RISC-V revision number.

Reversion number format: [15:8] revision number, [7:0] patch number

Definition at line 44 of file nmsis_core.h.

◆ __NMSIS_VERSION

#define __NMSIS_VERSION   ((__NMSIS_VERSION_MAJOR << 16U) | (__NMSIS_VERSION_MINOR << 8) | __NMSIS_VERSION_PATCH)

Represent the NMSIS Version.

NMSIS Version format: MAJOR.MINOR.PATCH

Definition at line 85 of file nmsis_version.h.

◆ __NMSIS_VERSION_MAJOR

#define __NMSIS_VERSION_MAJOR   (1U)

Represent the NMSIS major version.

The NMSIS major version can be used to differentiate between NMSIS major releases.

Definition at line 59 of file nmsis_version.h.

◆ __NMSIS_VERSION_MINOR

#define __NMSIS_VERSION_MINOR   (0U)

Represent the NMSIS minor version.

The NMSIS minor version can be used to query a NMSIS release update including new features.

Definition at line 68 of file nmsis_version.h.

◆ __NMSIS_VERSION_PATCH

#define __NMSIS_VERSION_PATCH   (1U)

Represent the NMSIS patch version.

The NMSIS patch version can be used to show bug fixes in this package.

Definition at line 76 of file nmsis_version.h.