CC26xx Driver Library
[driverlib_release.h] Driverlib Release

Functions

 DRIVERLIB_DECLARE_RELEASE (0, 55938)
 External declaration of the DriverLib release locking object. More...
 

Detailed Description

Function Documentation

DRIVERLIB_DECLARE_RELEASE ( ,
55938   
)

External declaration of the DriverLib release locking object.

Macro Definition Documentation

#define DRIVERLIB_ASSERT_CURR_RELEASE ( )    DRIVERLIB_ASSERT_RELEASE(0, 55938)

This macro shall be called once from within a function of a precompiled software deliverable to lock the deliverable to a specific DriverLib release. It is essential that the call is made from code that is not optimized away.

This macro locks to the current DriverLib release used at compile-time.

If attempting to use the precompiled deliverable with a different release of DriverLib, a linker error will be produced, stating that "driverlib_release_xx_yyyyy is undefined" or similar.

To override the check, for example when upgrading DriverLib but not the precompiled deliverables, or when mixing precompiled deliverables, application developers may (at own risk) declare the missing DriverLib release using the DRIVERLIB_DECLARE_RELEASE() macro.

#define DRIVERLIB_ASSERT_RELEASE (   group,
  build 
)    (driverlib_release_##group##_##build)

This macro shall be called once from within a function of a precompiled software deliverable to lock the deliverable to a specific DriverLib release. It is essential that the call is made from code that is not optimized away.

This macro locks to a specific DriverLib release:

Parameters
groupis the DriverLib release group number.
buildis the DriverLib release build number.

If attempting to use the precompiled deliverable with a different release of DriverLib, a linker error will be produced, stating that "driverlib_release_xx_yyyyy is undefined" or similar.

To override the check, for example when upgrading DriverLib but not the precompiled deliverables, or when mixing precompiled deliverables, application developers may (at own risk) declare the missing DriverLib release using the DRIVERLIB_DECLARE_RELEASE() macro.

#define DRIVERLIB_DECLARE_RELEASE (   group,
  build 
)    const volatile uint8_t driverlib_release_##group##_##build

This macro is called internally from within DriverLib to declare the DriverLib release locking object:

Parameters
groupis the DriverLib release group number.
buildis the DriverLib release build number.

This macro shall not be called in the application unless the intention is to bypass the release locking (at own risk).

#define DRIVERLIB_RELEASE_BUILD   55938

DriverLib release build number.

#define DRIVERLIB_RELEASE_GROUP   0

DriverLib release group number.