-
Notifications
You must be signed in to change notification settings - Fork 807
/
Copy pathKconfig.projbuild
152 lines (135 loc) · 5.64 KB
/
Kconfig.projbuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
menu "Board Options"
choice BOARD_TARGET
prompt "Choose Target Board"
default BOARD_ESP32_DEVKITC_V4 if IDF_TARGET_ESP32
default BOARD_ESP32S2_SAOLA_1 if IDF_TARGET_ESP32S2
default BOARD_ESP32S3_USB_OTG_EV if IDF_TARGET_ESP32S3
config BOARD_ESP32_DEVKITC_V4
bool "esp32-devkitc-v4"
depends on IDF_TARGET_ESP32
config BOARD_ESP32_MESHKIT_SENSE
bool "esp32-meshkit-sense"
depends on IDF_TARGET_ESP32
config BOARD_ESP32S2_SAOLA_1
bool "esp32s2-saola-1"
depends on IDF_TARGET_ESP32S2
config BOARD_ESP32_LCDKIT
bool "esp32-lcdkit"
depends on IDF_TARGET_ESP32
config BOARD_ESP32S3_USB_OTG_EV
bool "esp32s3_usb_otg_ev"
depends on IDF_TARGET_ESP32S3
config BOARD_ESP32S3_DEVKITC_V1
bool "esp32s3_devkitc_v1"
depends on IDF_TARGET_ESP32S3
config BOARD_ESP32_M5STACK
bool "Board ESP32-M5Stack"
depends on IDF_TARGET_ESP32
endchoice
config BOARD_TARGET_PATH
string
default "esp32-devkitc-v4" if BOARD_ESP32_DEVKITC_V4
default "esp32-meshkit-sense" if BOARD_ESP32_MESHKIT_SENSE
default "esp32s2-saola-1" if BOARD_ESP32S2_SAOLA_1
default "esp32-lcdkit" if BOARD_ESP32_LCDKIT
default "esp32s3_usb_otg_ev" if BOARD_ESP32S3_USB_OTG_EV
default "esp32s3-devkitc-v1" if BOARD_ESP32S3_DEVKITC_V1
default "esp32-m5stack" if BOARD_ESP32_M5STACK
menu "Board Common Options"
menu "Initialize Options"
config BOARD_LED_INIT
bool "init led during board initialize"
default n
help
if yes, led will be initialized during board initialize
config BOARD_BUTTON_INIT
bool "init buttons during board initialize"
default n
help
if yes, buttons will be initialized during board initialize
then you can use iot_board_get_handle to get the button handle.
config BOARD_GPIO_INIT
bool "init gpio during board init"
default n
help
if yes, gpio for power control will be initialized with default configuration during board initialize,
config BOARD_I2C0_INIT
bool "init i2c0 during board initialize"
default n
help
if yes, i2c0 will be initialized with default configuration during board initialize,
then you can use iot_board_get_handle to get the bus handle.
menu "i2c0 configurations"
visible if BOARD_I2C0_INIT
config BOARD_I2C0_SPEED
int "i2c0 clock speed"
default 100000
config BOARD_I2C0_SCL_PULLUP_EN
bool "i2c0 scl pullup enable"
default y
config BOARD_I2C0_SDA_PULLUP_EN
bool "i2c0 sda pullup enable"
default y
endmenu
config BOARD_SPI2_INIT
bool "init spi2 during board initialize"
default n
help
if yes, spi2 will be initialized with default configuration during board initialize,
then you can use iot_board_get_handle to get the bus handle.
menu "spi2 configuration"
visible if BOARD_SPI2_INIT
config BOARD_SPI2_MAX_TXF_SIZE
int "sp2 max transfer size"
default 4096
endmenu
endmenu
menu "Wi-Fi Settings"
config BOARD_WIFI_SSID
string "WiFi STA SSID"
default ""
help
WiFi SSID (network name) to connect to or empty for Off.
config BOARD_WIFI_PASSWORD
string "WiFi STA Password"
default ""
help
WiFi Password if WEP/WPA/WPA2 or empty if Open.
config BOARD_WIFI_AP_SSID
string "WiFi AP SSID"
default "iot-default"
help
AP SSID (network name) to create or empty for Off.
config BOARD_WIFI_AP_PASSWORD
string "WiFi AP Password"
default ""
help
AP password for WPA2 or empty for Open.
config BOARD_MAX_STA_CONN
int "WiFi AP Maximal STA connections"
default 3
help
Max number of the STA connects to AP.
config BOARD_WIFI_AP_CHANNEL
int "WiFi AP Channel"
default 6
help
AP channel for better connection performance.
config BOARD_SERVER_IP
string "WiFi AP IP Address"
default "192.168.4.1"
help
IP address that the ESP will assign to it's AP interface. You can use this IP to connect to the camera after flashing.
config BOARD_MAXIMUM_RETRY
int "Maximum retry"
default 5
help
Set the Maximum retry to avoid station reconnecting to the AP unlimited when the AP is really inexistent.
endmenu
endmenu
menu "Meshkit Sense Board Options"
visible if BOARD_ESP32_MESHKIT_SENSE
orsource "./esp32-meshkit-sense/Kconfig.in"
#source "{absolute path}/esp32-meshkit-sense/Kconfig.in" # v4.0 Backwards compatibility
endmenu
endmenu