Kconfig.projbuild 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. config PIN_SDA
  32. int "SDA pin configuration"
  33. default 21
  34. range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
  35. help
  36. GPIO number where the OLED display SDA pin is connected.
  37. config PIN_SCL
  38. int "SCL pin configuration"
  39. default 22
  40. range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
  41. help
  42. GPIO number where the OLED display SCL pin is connected.
  43. endmenu