Kconfig.projbuild 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. menu "SD SPI Example Configuration"
  2. orsource "$IDF_PATH/examples/common_components/env_caps/$IDF_TARGET/Kconfig.env_caps"
  3. config PIN_MISO
  4. int "MISO pin configuration"
  5. default 19
  6. range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
  7. help
  8. GPIO number where the SD card MISO pin is connected.
  9. Make sure the pin supports input/output and has pull-up if needed.
  10. config PIN_MOSI
  11. int "MOSI pin configuration"
  12. default 23
  13. range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
  14. help
  15. GPIO number where the SD card MOSI pin is connected.
  16. Make sure the pin supports input/output and has pull-up if needed.
  17. config PIN_CLK
  18. int "CLK pin configuration"
  19. default 18
  20. range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
  21. help
  22. GPIO number where the SD card CLK pin is connected.
  23. Make sure the pin supports input/output and has pull-up if needed.
  24. config PIN_CS
  25. int "CS pin configuration"
  26. default 5
  27. range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
  28. help
  29. GPIO number where the SD card CS pin is connected.
  30. Make sure the pin supports input/output and has pull-up if needed.
  31. endmenu