We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af23895 commit 0b9cc3dCopy full SHA for 0b9cc3d
iot/esp-hosted/Kconfig
@@ -134,6 +134,25 @@ menuconfig PKG_USING_ESP_HOSTED
134
default "spi1"
135
depends on ESP_HOSTED_SPI_HOST_INTERFACE
136
137
+ if PKG_ESP_HOSTED_VER_NUM > 0x10000
138
+ choice
139
+ prompt "Set the spi mode"
140
+ default ESP_HOSTED_SPI_MODE_3
141
+
142
+ config ESP_HOSTED_SPI_MODE_0
143
+ bool "Mode 0"
144
145
+ config ESP_HOSTED_SPI_MODE_1
146
+ bool "Mode 1"
147
148
+ config ESP_HOSTED_SPI_MODE_2
149
+ bool "Mode 2"
150
151
+ config ESP_HOSTED_SPI_MODE_3
152
+ bool "Mode 3"
153
+ endchoice
154
+ endif
155
156
config ESP_HOSTED_SPI_MAX_HZ
157
int "Set the maximum spi frequency(Hz)"
158
default 30000000
0 commit comments