Kconfig 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. menu "Ultra Low Power (ULP) Co-processor"
  2. depends on (SOC_ULP_SUPPORTED || SOC_RISCV_COPROC_SUPPORTED)
  3. config ULP_COPROC_ENABLED
  4. bool "Enable Ultra Low Power (ULP) Co-processor"
  5. default "n"
  6. help
  7. Enable this feature if you plan to use the ULP Co-processor.
  8. Once this option is enabled, further ULP co-processor configuration will appear in the menu.
  9. choice ULP_COPROC_TYPE
  10. prompt "ULP Co-processor type"
  11. depends on ULP_COPROC_ENABLED
  12. default ULP_COPROC_TYPE_FSM if IDF_TARGET_ESP32
  13. default ULP_COPROC_TYPE_RISCV if (IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3)
  14. help
  15. Choose the ULP Coprocessor type: ULP FSM (Finite State Machine) or ULP RISC-V.
  16. Please note that ESP32 only supports ULP FSM.
  17. config ULP_COPROC_TYPE_FSM
  18. bool "ULP FSM (Finite State Machine)"
  19. config ULP_COPROC_TYPE_RISCV
  20. bool "ULP RISC-V"
  21. depends on !IDF_TARGET_ESP32
  22. endchoice
  23. config ULP_COPROC_RESERVE_MEM
  24. int
  25. prompt "RTC slow memory reserved for coprocessor"
  26. depends on ULP_COPROC_ENABLED
  27. default 512 if IDF_TARGET_ESP32
  28. default 4096 if (IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3)
  29. range 32 8176
  30. help
  31. Bytes of memory to reserve for ULP Co-processor firmware & data.
  32. Data is reserved at the beginning of RTC slow memory.
  33. menu "ULP RISC-V Settings"
  34. depends on ULP_COPROC_TYPE_RISCV
  35. config ULP_RISCV_UART_BAUDRATE
  36. int
  37. prompt "Baudrate used by the bitbanged ULP RISC-V UART driver"
  38. default 9600
  39. help
  40. The accuracy of the bitbanged UART driver is limited, it is not
  41. recommend to increase the value above 19200.
  42. endmenu
  43. endmenu # Ultra Low Power (ULP) Co-processor