CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
feature_flags.h File Reference
#include "sdkconfig.h"

Go to the source code of this file.

Macros

#define FEATURE_SECURE_SERIAL   0
#define FEATURE_NVS_EDIT   0
#define FEATURE_PLUGIN_AOT   0
#define DEBUG_MODE   1
#define BUILD_PROFILE_BYTE   ((FEATURE_SECURE_SERIAL ? 0x02 : 0x00) | (DEBUG_MODE ? 0x01 : 0x00))

Macro Definition Documentation

◆ BUILD_PROFILE_BYTE

#define BUILD_PROFILE_BYTE   ((FEATURE_SECURE_SERIAL ? 0x02 : 0x00) | (DEBUG_MODE ? 0x01 : 0x00))

◆ DEBUG_MODE

#define DEBUG_MODE   1

Definition at line 40 of file feature_flags.h.

Referenced by host_feature_enabled().

◆ FEATURE_NVS_EDIT

#define FEATURE_NVS_EDIT   0

Definition at line 28 of file feature_flags.h.

Referenced by cdc::mod_nvsedit::deleteEnabled().

◆ FEATURE_PLUGIN_AOT

#define FEATURE_PLUGIN_AOT   0

Definition at line 35 of file feature_flags.h.

◆ FEATURE_SECURE_SERIAL

#define FEATURE_SECURE_SERIAL   0

Feature Flags - Compile-time feature toggles

Set to 0 to completely disable a feature (zero overhead). When disabled, related code is not compiled at all.

Definition at line 22 of file feature_flags.h.