CONFIG_CAF_MODULES_FLAGS_COUNT

Number of supported modules

Type: int

Help

Configure number of supported modules by modules flags variable.
The flags count should be big enough to have a bit for every module.
Bigger number allows more modules to be controllerd.
Smaller minimizes the footprint.
The memory is allocated in 32 bits chunks.

Direct dependencies

CAF_MODULE_STATE_EVENTS && CAF

(Includes any dependencies from ifs and menus.)

Default

  • 32

Kconfig definition

At <nRF>/subsys/caf/events/Kconfig.module_state_event:18

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:88<nRF>/subsys/Kconfig:50<nRF>/subsys/caf/Kconfig:15<nRF>/subsys/caf/events/Kconfig:148

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Common Application Framework → Event options → Enable module state events

config CAF_MODULES_FLAGS_COUNT
    int "Number of supported modules"
    default 32
    depends on CAF_MODULE_STATE_EVENTS && CAF
    help
      Configure number of supported modules by modules flags variable.
      The flags count should be big enough to have a bit for every module.
      Bigger number allows more modules to be controllerd.
      Smaller minimizes the footprint.
      The memory is allocated in 32 bits chunks.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)