:orphan: .. title:: CONFIG_TEST_ARM_CORTEX_M .. kconfig:: CONFIG_TEST_ARM_CORTEX_M CONFIG_TEST_ARM_CORTEX_M ######################## *(No prompt -- not directly user assignable.)* Type: ``bool`` Help ==== .. code-block:: none ARM Cortex-M configuration required when testing. Currently, this option is only utilized, to force routing BusFault, HardFault, and NMI exceptions to Secure State, when building a Secure ARMv8-M firmware. This will allow the testing suite to utilize these exceptions, in tests. Note that by default, when building with ARM_SECURE_FIRMWARE set, these exceptions are set to target the Non-Secure state. Direct dependencies =================== \ :kconfig:`CPU_CORTEX_M ` && \ :kconfig:`TEST ` *(Includes any dependencies from ifs and menus.)* Default ======= - y Symbols selected by this symbol =============================== - \ :kconfig:`ARM_SECURE_BUSFAULT_HARDFAULT_NMI ` if \ :kconfig:`ARM_SECURE_FIRMWARE ` Kconfig definition ================== At ``/testsuite/Kconfig:132`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:61`` Menu path: (Top) → Sub Systems and OS Services → Testing .. code-block:: kconfig config TEST_ARM_CORTEX_M bool default y select ARM_SECURE_BUSFAULT_HARDFAULT_NMI if ARM_SECURE_FIRMWARE depends on CPU_CORTEX_M && TEST help ARM Cortex-M configuration required when testing. Currently, this option is only utilized, to force routing BusFault, HardFault, and NMI exceptions to Secure State, when building a Secure ARMv8-M firmware. This will allow the testing suite to utilize these exceptions, in tests. Note that by default, when building with ARM_SECURE_FIRMWARE set, these exceptions are set to target the Non-Secure state. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*