CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
module_defaults.h
Go to the documentation of this file.
1
#pragma once
2
3
// Compile-time module default-enabled map (edit before build)
4
//
5
// Lists every module with its factory-default activation state for a fresh
6
// install (no NVS entry yet). User toggles persist independently in NVS and
7
// are not affected by this map.
8
//
9
// Module names must match the module runtime name (IModule::getName()), which
10
// also matches the entry in main/CMakeLists.txt MODULES.
11
12
namespace
cdc::module_defaults
{
13
14
// X("module_name", default_enabled)
15
#define MODULE_DEFAULT_MAP(X) \
16
X("mod_2fa", true) \
17
X("mod_fido2", true) \
18
X("mod_password", true) \
19
X("mod_gpg", true) \
20
X("mod_sao", true) \
21
X("mod_vcard", true) \
22
X("mod_ble_serial", true) \
23
X("mod_nvsedit", true) \
24
X("mod_blehid", true) \
25
X("mod_usbhid", false) \
26
X("mod_otphid", false) \
27
X("mod_vfat", true)
28
29
}
// namespace cdc::module_defaults
cdc::module_defaults
Definition
module_defaults.h:12
main
module_defaults.h
Generated by
1.16.1