fix(esp_modem): Fix CRLF endlines in examples

This commit is contained in:
David Cermak
2022-09-20 08:20:05 +02:00
parent d9c9681094
commit 07a347f907

View File

@ -1,190 +1,190 @@
menu "Example Configuration" menu "Example Configuration"
choice EXAMPLE_SERIAL_CONFIG choice EXAMPLE_SERIAL_CONFIG
prompt "Type of serial connection to the modem" prompt "Type of serial connection to the modem"
default EXAMPLE_SERIAL_CONFIG_UART default EXAMPLE_SERIAL_CONFIG_UART
config EXAMPLE_SERIAL_CONFIG_UART config EXAMPLE_SERIAL_CONFIG_UART
bool "UART" bool "UART"
help help
Connect to modem via UART. Connect to modem via UART.
config EXAMPLE_SERIAL_CONFIG_USB config EXAMPLE_SERIAL_CONFIG_USB
bool "USB" bool "USB"
depends on IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3 depends on IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
help help
Connect to modem via USB (CDC-ACM class). For IDF version >= 4.4. Connect to modem via USB (CDC-ACM class). For IDF version >= 4.4.
endchoice endchoice
choice EXAMPLE_MODEM_DEVICE choice EXAMPLE_MODEM_DEVICE
prompt "Choose supported modem device (DCE)" prompt "Choose supported modem device (DCE)"
default EXAMPLE_MODEM_DEVICE_BG96 default EXAMPLE_MODEM_DEVICE_BG96
help help
Select modem device connected to the ESP DTE. Select modem device connected to the ESP DTE.
config EXAMPLE_MODEM_DEVICE_SHINY config EXAMPLE_MODEM_DEVICE_SHINY
bool "SHINY" bool "SHINY"
help help
SHINY is a GSM/GPRS module. SHINY is a GSM/GPRS module.
It supports SHINY. It supports SHINY.
config EXAMPLE_MODEM_DEVICE_SIM800 config EXAMPLE_MODEM_DEVICE_SIM800
bool "SIM800" bool "SIM800"
help help
SIMCom SIM800L is a GSM/GPRS module. SIMCom SIM800L is a GSM/GPRS module.
It supports Quad-band 850/900/1800/1900MHz. It supports Quad-band 850/900/1800/1900MHz.
config EXAMPLE_MODEM_DEVICE_BG96 config EXAMPLE_MODEM_DEVICE_BG96
bool "BG96" bool "BG96"
help help
Quectel BG96 is a series of LTE Cat M1/Cat NB1/EGPRS module. Quectel BG96 is a series of LTE Cat M1/Cat NB1/EGPRS module.
config EXAMPLE_MODEM_DEVICE_SIM7000 config EXAMPLE_MODEM_DEVICE_SIM7000
bool "SIM7000" bool "SIM7000"
help help
SIM7000 is a Multi-Band LTE-FDD and GSM/GPRS/EDGE module. SIM7000 is a Multi-Band LTE-FDD and GSM/GPRS/EDGE module.
config EXAMPLE_MODEM_DEVICE_SIM7070 config EXAMPLE_MODEM_DEVICE_SIM7070
bool "SIM7070" bool "SIM7070"
help help
SIM7070 is Multi-Band CAT M and NB IoT module. SIM7070 is Multi-Band CAT M and NB IoT module.
config EXAMPLE_MODEM_DEVICE_SIM7600 config EXAMPLE_MODEM_DEVICE_SIM7600
bool "SIM7600" bool "SIM7600"
help help
SIM7600 is a Multi-Band LTE-TDD/LTE-FDD/HSPA+ and GSM/GPRS/EDGE module. SIM7600 is a Multi-Band LTE-TDD/LTE-FDD/HSPA+ and GSM/GPRS/EDGE module.
endchoice endchoice
config EXAMPLE_MODEM_PPP_APN config EXAMPLE_MODEM_PPP_APN
string "Set MODEM APN" string "Set MODEM APN"
default "internet" default "internet"
help help
Set APN (Access Point Name), a logical name to choose data network Set APN (Access Point Name), a logical name to choose data network
config EXAMPLE_MODEM_PPP_AUTH_USERNAME config EXAMPLE_MODEM_PPP_AUTH_USERNAME
string "Set username for authentication" string "Set username for authentication"
default "espressif" default "espressif"
depends on !EXAMPLE_MODEM_PPP_AUTH_NONE depends on !EXAMPLE_MODEM_PPP_AUTH_NONE
help help
Set username for PPP Authentication. Set username for PPP Authentication.
config EXAMPLE_MODEM_PPP_AUTH_PASSWORD config EXAMPLE_MODEM_PPP_AUTH_PASSWORD
string "Set password for authentication" string "Set password for authentication"
default "esp32" default "esp32"
depends on !EXAMPLE_MODEM_PPP_AUTH_NONE depends on !EXAMPLE_MODEM_PPP_AUTH_NONE
help help
Set password for PPP Authentication. Set password for PPP Authentication.
config EXAMPLE_MODEM_PPP_AUTH_NONE config EXAMPLE_MODEM_PPP_AUTH_NONE
bool "Skip PPP authentication" bool "Skip PPP authentication"
default n default n
help help
Set to true for the PPP client to skip authentication Set to true for the PPP client to skip authentication
config EXAMPLE_SEND_MSG config EXAMPLE_SEND_MSG
bool "Short message (SMS)" bool "Short message (SMS)"
default n default n
help help
Select this, the modem will send a short message before power off. Select this, the modem will send a short message before power off.
if EXAMPLE_SEND_MSG if EXAMPLE_SEND_MSG
config EXAMPLE_SEND_MSG_PEER_PHONE_NUMBER config EXAMPLE_SEND_MSG_PEER_PHONE_NUMBER
string "Peer Phone Number (with area code)" string "Peer Phone Number (with area code)"
default "+8610086" default "+8610086"
help help
Enter the peer phone number that you want to send message to. Enter the peer phone number that you want to send message to.
endif endif
config EXAMPLE_NEED_SIM_PIN config EXAMPLE_NEED_SIM_PIN
bool "SIM PIN needed" bool "SIM PIN needed"
default n default n
help help
Enable to set SIM PIN before starting the example Enable to set SIM PIN before starting the example
config EXAMPLE_SIM_PIN config EXAMPLE_SIM_PIN
string "Set SIM PIN" string "Set SIM PIN"
default "1234" default "1234"
depends on EXAMPLE_NEED_SIM_PIN depends on EXAMPLE_NEED_SIM_PIN
help help
Pin to unlock the SIM Pin to unlock the SIM
choice EXAMPLE_FLOW_CONTROL choice EXAMPLE_FLOW_CONTROL
bool "Set preferred modem control flow" bool "Set preferred modem control flow"
default EXAMPLE_FLOW_CONTROL_NONE default EXAMPLE_FLOW_CONTROL_NONE
help help
Set the modem's preferred control flow Set the modem's preferred control flow
config EXAMPLE_FLOW_CONTROL_NONE config EXAMPLE_FLOW_CONTROL_NONE
bool "No control flow" bool "No control flow"
config EXAMPLE_FLOW_CONTROL_SW config EXAMPLE_FLOW_CONTROL_SW
bool "SW control flow" bool "SW control flow"
config EXAMPLE_FLOW_CONTROL_HW config EXAMPLE_FLOW_CONTROL_HW
bool "HW control flow" bool "HW control flow"
endchoice endchoice
menu "UART Configuration" menu "UART Configuration"
config EXAMPLE_MODEM_UART_TX_PIN config EXAMPLE_MODEM_UART_TX_PIN
int "TXD Pin Number" int "TXD Pin Number"
default 25 default 25
range 0 31 range 0 31
help help
Pin number of UART TX. Pin number of UART TX.
config EXAMPLE_MODEM_UART_RX_PIN config EXAMPLE_MODEM_UART_RX_PIN
int "RXD Pin Number" int "RXD Pin Number"
default 26 default 26
range 0 31 range 0 31
help help
Pin number of UART RX. Pin number of UART RX.
config EXAMPLE_MODEM_UART_RTS_PIN config EXAMPLE_MODEM_UART_RTS_PIN
int "RTS Pin Number" int "RTS Pin Number"
default 27 default 27
range 0 31 range 0 31
help help
Pin number of UART RTS. Pin number of UART RTS.
config EXAMPLE_MODEM_UART_CTS_PIN config EXAMPLE_MODEM_UART_CTS_PIN
int "CTS Pin Number" int "CTS Pin Number"
default 23 default 23
range 0 31 range 0 31
help help
Pin number of UART CTS. Pin number of UART CTS.
config EXAMPLE_MODEM_UART_EVENT_TASK_STACK_SIZE config EXAMPLE_MODEM_UART_EVENT_TASK_STACK_SIZE
int "UART Event Task Stack Size" int "UART Event Task Stack Size"
range 2000 6000 range 2000 6000
default 2048 default 2048
help help
Stack size of UART event task. Stack size of UART event task.
config EXAMPLE_MODEM_UART_EVENT_TASK_PRIORITY config EXAMPLE_MODEM_UART_EVENT_TASK_PRIORITY
int "UART Event Task Priority" int "UART Event Task Priority"
range 3 22 range 3 22
default 5 default 5
help help
Priority of UART event task. Priority of UART event task.
config EXAMPLE_MODEM_UART_EVENT_QUEUE_SIZE config EXAMPLE_MODEM_UART_EVENT_QUEUE_SIZE
int "UART Event Queue Size" int "UART Event Queue Size"
range 10 40 range 10 40
default 30 default 30
help help
Length of UART event queue. Length of UART event queue.
config EXAMPLE_MODEM_UART_PATTERN_QUEUE_SIZE config EXAMPLE_MODEM_UART_PATTERN_QUEUE_SIZE
int "UART Pattern Queue Size" int "UART Pattern Queue Size"
range 10 40 range 10 40
default 20 default 20
help help
Length of UART pattern queue. Length of UART pattern queue.
config EXAMPLE_MODEM_UART_TX_BUFFER_SIZE config EXAMPLE_MODEM_UART_TX_BUFFER_SIZE
int "UART TX Buffer Size" int "UART TX Buffer Size"
range 256 2048 range 256 2048
default 512 default 512
help help
Buffer size of UART TX buffer. Buffer size of UART TX buffer.
config EXAMPLE_MODEM_UART_RX_BUFFER_SIZE config EXAMPLE_MODEM_UART_RX_BUFFER_SIZE
int "UART RX Buffer Size" int "UART RX Buffer Size"
range 256 2048 range 256 2048
default 1024 default 1024
help help
Buffer size of UART RX buffer. Buffer size of UART RX buffer.
endmenu endmenu
endmenu endmenu