migration
This commit is contained in:
+152
-152
@@ -1,152 +1,152 @@
|
||||
menu "Sillyfilly-CAN Configuration"
|
||||
|
||||
config GPIO_RANGE_MAX
|
||||
int
|
||||
default 33 if IDF_TARGET_ESP32
|
||||
default 46 if IDF_TARGET_ESP32S2
|
||||
default 48 if IDF_TARGET_ESP32S3
|
||||
default 19 if IDF_TARGET_ESP32C3
|
||||
default 30 if IDF_TARGET_ESP32C6
|
||||
|
||||
menu "CAN Setting"
|
||||
|
||||
choice CAN_BITRATE
|
||||
prompt "CAN Bitrate"
|
||||
default CAN_BITRATE_500
|
||||
help
|
||||
Select the CAN bitrate for the example.
|
||||
config CAN_BITRATE_25
|
||||
bool "BITRATE_25"
|
||||
help
|
||||
CAN bitrate is 25 Kbit/s.
|
||||
config CAN_BITRATE_50
|
||||
bool "BITRATE_50"
|
||||
help
|
||||
CAN bitrate is 50 Kbit/s.
|
||||
config CAN_BITRATE_100
|
||||
bool "BITRATE_100"
|
||||
help
|
||||
CAN bitrate is 100 Kbit/s.
|
||||
config CAN_BITRATE_125
|
||||
bool "BITRATE_125"
|
||||
help
|
||||
CAN bitrate is 125 Kbit/s.
|
||||
config CAN_BITRATE_250
|
||||
bool "BITRATE_250"
|
||||
help
|
||||
CAN bitrate is 250 Kbit/s.
|
||||
config CAN_BITRATE_500
|
||||
bool "BITRATE_500"
|
||||
help
|
||||
CAN bitrate is 500 Kbit/s.
|
||||
config CAN_BITRATE_800
|
||||
bool "BITRATE_800"
|
||||
help
|
||||
CAN bitrate is 800 Kbit/s.
|
||||
config CAN_BITRATE_1000
|
||||
bool "BITRATE_1000"
|
||||
help
|
||||
CAN bitrate is 1 Mbit/s.
|
||||
endchoice
|
||||
|
||||
config CTX_GPIO
|
||||
int "CTX GPIO number"
|
||||
range 0 GPIO_RANGE_MAX
|
||||
default 21 if IDF_TARGET_ESP32
|
||||
default 17 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
|
||||
default 0 # C3 and others
|
||||
help
|
||||
GPIO number (IOxx) to CTX.
|
||||
Some GPIOs are used for other purposes (flash connections, etc.).
|
||||
GPIOs 35-39 are input-only so cannot be used as outputs.
|
||||
|
||||
config CRX_GPIO
|
||||
int "CRX GPIO number"
|
||||
range 0 GPIO_RANGE_MAX
|
||||
default 22 if IDF_TARGET_ESP32
|
||||
default 18 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
|
||||
default 1 # C3 and others
|
||||
help
|
||||
GPIO number (IOxx) to CRX.
|
||||
Some GPIOs are used for other purposes (flash connections, etc.).
|
||||
GPIOs 35-39 are input-only so cannot be used as outputs.
|
||||
|
||||
config ENABLE_PRINT
|
||||
bool "Output the received CAN FRAME to STDOUT"
|
||||
default true
|
||||
help
|
||||
Output the received CAN FRAME to STDOUT.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "WiFi Setting"
|
||||
|
||||
config ESP_WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "wifi-name"
|
||||
help
|
||||
SSID (network name) to connect to.
|
||||
|
||||
config ESP_WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "wifi-password"
|
||||
help
|
||||
WiFi password (WPA or WPA2) to connect to.
|
||||
|
||||
config ESP_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.
|
||||
|
||||
config MDNS_HOSTNAME
|
||||
string "mDNS Hostname"
|
||||
default "esp32-can-server"
|
||||
help
|
||||
The mDNS host name used by the ESP32.
|
||||
|
||||
config STATIC_IP
|
||||
bool "Enable Static IP Address"
|
||||
default false
|
||||
help
|
||||
Enable Static IP Address.
|
||||
|
||||
config STATIC_IP_ADDRESS
|
||||
depends on STATIC_IP
|
||||
string "Static IP Address"
|
||||
default "192.168.10.100"
|
||||
help
|
||||
Static IP Address for Station.
|
||||
|
||||
config STATIC_GW_ADDRESS
|
||||
depends on STATIC_IP
|
||||
string "Static GW Address"
|
||||
default "192.168.10.1"
|
||||
help
|
||||
Static GW Address for Station.
|
||||
|
||||
config STATIC_NM_ADDRESS
|
||||
depends on STATIC_IP
|
||||
string "Static Netmask"
|
||||
default "255.255.255.0"
|
||||
help
|
||||
Static Netmask for Station.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "HTTP Server Setting"
|
||||
|
||||
config WEB_SERVER
|
||||
string "HTTP Server IP or mDNS"
|
||||
default "esp32-can-server"
|
||||
help
|
||||
The host name or IP address of the HTTP server to use.
|
||||
|
||||
config WEB_PORT
|
||||
int "HTTP Server Port"
|
||||
default 8000
|
||||
help
|
||||
HTTP server port to use.
|
||||
|
||||
endmenu
|
||||
endmenu
|
||||
menu "Sillyfilly-CAN Configuration"
|
||||
|
||||
config GPIO_RANGE_MAX
|
||||
int
|
||||
default 33 if IDF_TARGET_ESP32
|
||||
default 46 if IDF_TARGET_ESP32S2
|
||||
default 48 if IDF_TARGET_ESP32S3
|
||||
default 19 if IDF_TARGET_ESP32C3
|
||||
default 30 if IDF_TARGET_ESP32C6
|
||||
|
||||
menu "CAN Setting"
|
||||
|
||||
choice CAN_BITRATE
|
||||
prompt "CAN Bitrate"
|
||||
default CAN_BITRATE_500
|
||||
help
|
||||
Select the CAN bitrate for the example.
|
||||
config CAN_BITRATE_25
|
||||
bool "BITRATE_25"
|
||||
help
|
||||
CAN bitrate is 25 Kbit/s.
|
||||
config CAN_BITRATE_50
|
||||
bool "BITRATE_50"
|
||||
help
|
||||
CAN bitrate is 50 Kbit/s.
|
||||
config CAN_BITRATE_100
|
||||
bool "BITRATE_100"
|
||||
help
|
||||
CAN bitrate is 100 Kbit/s.
|
||||
config CAN_BITRATE_125
|
||||
bool "BITRATE_125"
|
||||
help
|
||||
CAN bitrate is 125 Kbit/s.
|
||||
config CAN_BITRATE_250
|
||||
bool "BITRATE_250"
|
||||
help
|
||||
CAN bitrate is 250 Kbit/s.
|
||||
config CAN_BITRATE_500
|
||||
bool "BITRATE_500"
|
||||
help
|
||||
CAN bitrate is 500 Kbit/s.
|
||||
config CAN_BITRATE_800
|
||||
bool "BITRATE_800"
|
||||
help
|
||||
CAN bitrate is 800 Kbit/s.
|
||||
config CAN_BITRATE_1000
|
||||
bool "BITRATE_1000"
|
||||
help
|
||||
CAN bitrate is 1 Mbit/s.
|
||||
endchoice
|
||||
|
||||
config CTX_GPIO
|
||||
int "CTX GPIO number"
|
||||
range 0 GPIO_RANGE_MAX
|
||||
default 21 if IDF_TARGET_ESP32
|
||||
default 17 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
|
||||
default 0 # C3 and others
|
||||
help
|
||||
GPIO number (IOxx) to CTX.
|
||||
Some GPIOs are used for other purposes (flash connections, etc.).
|
||||
GPIOs 35-39 are input-only so cannot be used as outputs.
|
||||
|
||||
config CRX_GPIO
|
||||
int "CRX GPIO number"
|
||||
range 0 GPIO_RANGE_MAX
|
||||
default 22 if IDF_TARGET_ESP32
|
||||
default 18 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
|
||||
default 1 # C3 and others
|
||||
help
|
||||
GPIO number (IOxx) to CRX.
|
||||
Some GPIOs are used for other purposes (flash connections, etc.).
|
||||
GPIOs 35-39 are input-only so cannot be used as outputs.
|
||||
|
||||
config ENABLE_PRINT
|
||||
bool "Output the received CAN FRAME to STDOUT"
|
||||
default true
|
||||
help
|
||||
Output the received CAN FRAME to STDOUT.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "WiFi Setting"
|
||||
|
||||
config ESP_WIFI_SSID
|
||||
string "WiFi SSID"
|
||||
default "wifi-name"
|
||||
help
|
||||
SSID (network name) to connect to.
|
||||
|
||||
config ESP_WIFI_PASSWORD
|
||||
string "WiFi Password"
|
||||
default "wifi-password"
|
||||
help
|
||||
WiFi password (WPA or WPA2) to connect to.
|
||||
|
||||
config ESP_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.
|
||||
|
||||
config MDNS_HOSTNAME
|
||||
string "mDNS Hostname"
|
||||
default "esp32-can-server"
|
||||
help
|
||||
The mDNS host name used by the ESP32.
|
||||
|
||||
config STATIC_IP
|
||||
bool "Enable Static IP Address"
|
||||
default false
|
||||
help
|
||||
Enable Static IP Address.
|
||||
|
||||
config STATIC_IP_ADDRESS
|
||||
depends on STATIC_IP
|
||||
string "Static IP Address"
|
||||
default "192.168.10.100"
|
||||
help
|
||||
Static IP Address for Station.
|
||||
|
||||
config STATIC_GW_ADDRESS
|
||||
depends on STATIC_IP
|
||||
string "Static GW Address"
|
||||
default "192.168.10.1"
|
||||
help
|
||||
Static GW Address for Station.
|
||||
|
||||
config STATIC_NM_ADDRESS
|
||||
depends on STATIC_IP
|
||||
string "Static Netmask"
|
||||
default "255.255.255.0"
|
||||
help
|
||||
Static Netmask for Station.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "HTTP Server Setting"
|
||||
|
||||
config WEB_SERVER
|
||||
string "HTTP Server IP or mDNS"
|
||||
default "esp32-can-server"
|
||||
help
|
||||
The host name or IP address of the HTTP server to use.
|
||||
|
||||
config WEB_PORT
|
||||
int "HTTP Server Port"
|
||||
default 8000
|
||||
help
|
||||
HTTP server port to use.
|
||||
|
||||
endmenu
|
||||
endmenu
|
||||
|
||||
Reference in New Issue
Block a user