Kconfig 846 B

1234567891011121314151617
  1. menu "ESP-Driver:GPIO Configurations"
  2. config GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL
  3. bool "Support light sleep GPIO pullup/pulldown configuration for ESP32"
  4. depends on IDF_TARGET_ESP32
  5. help
  6. This option is intended to fix the bug that ESP32 is not able to switch to configured
  7. pullup/pulldown mode in sleep.
  8. If this option is selected, chip will automatically emulate the behaviour of switching,
  9. and about 450B of source codes would be placed into IRAM.
  10. config GPIO_CTRL_FUNC_IN_IRAM
  11. bool "Place GPIO control functions into IRAM"
  12. default n
  13. help
  14. Place GPIO control functions (like intr_disable/set_level) into IRAM,
  15. so that these functions can be IRAM-safe and able to be called in the other IRAM interrupt context.
  16. endmenu