Kconfig 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. menu "Ultra Low Power (ULP) Co-processor"
  2. depends on (SOC_ULP_SUPPORTED || SOC_RISCV_COPROC_SUPPORTED || SOC_LP_CORE_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_RISCV if (IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3)
  13. help
  14. Choose the ULP Coprocessor type: ULP FSM (Finite State Machine) or ULP RISC-V.
  15. config ULP_COPROC_TYPE_FSM
  16. bool "ULP FSM (Finite State Machine)"
  17. depends on SOC_ULP_FSM_SUPPORTED
  18. config ULP_COPROC_TYPE_RISCV
  19. bool "ULP RISC-V"
  20. depends on SOC_RISCV_COPROC_SUPPORTED
  21. config ULP_COPROC_TYPE_LP_CORE
  22. bool "LP core RISC-V"
  23. depends on SOC_LP_CORE_SUPPORTED
  24. endchoice
  25. config ULP_COPROC_RESERVE_MEM
  26. int
  27. prompt "RTC slow memory reserved for coprocessor"
  28. depends on ULP_COPROC_ENABLED
  29. default 512 if IDF_TARGET_ESP32
  30. default 4096 if !IDF_TARGET_ESP32
  31. range 32 8176 if !IDF_TARGET_ESP32C6
  32. range 32 16352 if IDF_TARGET_ESP32C6
  33. help
  34. Bytes of memory to reserve for ULP Co-processor firmware & data.
  35. Data is reserved at the beginning of RTC slow memory.
  36. menu "ULP RISC-V Settings"
  37. depends on ULP_COPROC_TYPE_RISCV
  38. config ULP_RISCV_UART_BAUDRATE
  39. int
  40. prompt "Baudrate used by the bitbanged ULP RISC-V UART driver"
  41. default 9600
  42. help
  43. The accuracy of the bitbanged UART driver is limited, it is not
  44. recommend to increase the value above 19200.
  45. endmenu
  46. endmenu # Ultra Low Power (ULP) Co-processor