1orsource "./$IDF_TARGET//Kconfig.soc_caps.in"
2
3menu "Boot ROM Behavior"
4    visible if !IDF_TARGET_ESP32  # no options ere currently supported on ESP32
5
6    choice BOOT_ROM_LOG_SCHEME
7        prompt "Permanently change Boot ROM output"
8        default BOOT_ROM_LOG_ALWAYS_ON
9        depends on !IDF_TARGET_ESP32
10        help
11            Controls the Boot ROM log behavior.
12            The rom log behavior can only be changed for once,
13            specific eFuse bit(s) will be burned at app boot stage.
14
15        config BOOT_ROM_LOG_ALWAYS_ON
16            bool "Always Log"
17            help
18                Always print ROM logs, this is the default behavior.
19        config BOOT_ROM_LOG_ALWAYS_OFF
20            bool "Permanently disable logging"
21            help
22                Don't print ROM logs.
23        config BOOT_ROM_LOG_ON_GPIO_HIGH
24            bool "Log on GPIO High"
25            help
26                Print ROM logs when GPIO level is high during start up.
27                The GPIO number is chip dependent,
28                e.g. on ESP32-S2, the control GPIO is GPIO46.
29        config BOOT_ROM_LOG_ON_GPIO_LOW
30            bool "Log on GPIO Low"
31            help
32                Print ROM logs when GPIO level is low during start up.
33                The GPIO number is chip dependent,
34                e.g. on ESP32-S2, the control GPIO is GPIO46.
35    endchoice
36
37endmenu  # Boot ROM Behavior
38