Kconfig 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. menu "Driver configurations"
  2. menu "ADC configuration"
  3. config ADC_FORCE_XPD_FSM
  4. bool "Use the FSM to control ADC power"
  5. default n
  6. help
  7. ADC power can be controlled by the FSM instead of software. This allows the ADC to
  8. be shut off when it is not working leading to lower power consumption. However
  9. using the FSM control ADC power will increase the noise of ADC.
  10. config ADC2_DISABLE_DAC
  11. bool "Disable DAC when ADC2 is used on GPIO 25 and 26"
  12. default y
  13. help
  14. If this is set, the ADC2 driver will disables the output of the DAC corresponding to the specified channel. This is the default value.
  15. For testing, disable this option so that we can measure the output of DAC by internal ADC.
  16. endmenu # ADC Configuration
  17. menu "SPI configuration"
  18. config SPI_MASTER_IN_IRAM
  19. bool "Place transmitting functions of SPI master into IRAM"
  20. default n
  21. select SPI_MASTER_ISR_IN_IRAM
  22. help
  23. Normally only the ISR of SPI master is placed in the IRAM, so that it
  24. can work without the flash when interrupt is triggered.
  25. For other functions, there's some possibility that the flash cache
  26. miss when running inside and out of SPI functions, which may increase
  27. the interval of SPI transactions.
  28. Enable this to put ``queue_trans``, ``get_trans_result`` and
  29. ``transmit`` functions into the IRAM to avoid possible cache miss.
  30. During unit test, this is enabled to measure the ideal case of api.
  31. config SPI_MASTER_ISR_IN_IRAM
  32. bool "Place SPI master ISR function into IRAM"
  33. default y
  34. help
  35. Place the SPI master ISR in to IRAM to avoid possible cache miss.
  36. Also you can forbid the ISR being disabled during flash writing
  37. access, by add ESP_INTR_FLAG_IRAM when initializing the driver.
  38. config SPI_SLAVE_IN_IRAM
  39. bool "Place transmitting functions of SPI slave into IRAM"
  40. default n
  41. select SPI_SLAVE_ISR_IN_IRAM
  42. help
  43. Normally only the ISR of SPI slave is placed in the IRAM, so that it
  44. can work without the flash when interrupt is triggered.
  45. For other functions, there's some possibility that the flash cache
  46. miss when running inside and out of SPI functions, which may increase
  47. the interval of SPI transactions.
  48. Enable this to put ``queue_trans``, ``get_trans_result`` and
  49. ``transmit`` functions into the IRAM to avoid possible cache miss.
  50. config SPI_SLAVE_ISR_IN_IRAM
  51. bool "Place SPI slave ISR function into IRAM"
  52. default y
  53. help
  54. Place the SPI slave ISR in to IRAM to avoid possible cache miss.
  55. Also you can forbid the ISR being disabled during flash writing
  56. access, by add ESP_INTR_FLAG_IRAM when initializing the driver.
  57. endmenu # SPI Configuration
  58. endmenu # Driver configurations