forked from espressif/esp-at
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support esp8266 1MB module without OTA
- Loading branch information
Showing
9 changed files
with
315 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
branch:release/v3.3 | ||
commit:0a187af845c780ea93863b25fbbe80bf56a4cdca | ||
repository:https://github.com/espressif/ESP8266_RTOS_SDK.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Name,Type,SubType,Offset,Size | ||
factory_param,0x40,8,0x19000,4K | ||
client_cert,0x40,5,0x1A000,4K | ||
client_key,0x40,6,0x1B000,4K | ||
client_ca,0x40,7,0x1C000,4K | ||
mqtt_cert,0x40,11,0x1D000,4K | ||
mqtt_key,0x40,12,0x1E000,4K | ||
mqtt_ca,0x40,13,0x1F000,4K |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Name, Type, SubType, Offset, Size | ||
otadata,data,ota,0x9000,8K | ||
phy_init, data, phy,0xf000,0x1000 | ||
nvs,data,nvs,0x10000,0x8000 | ||
at_customize,0x40,0,0x18000,0x8000 | ||
factory,app,factory,0x20000,0xE0000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
# | ||
# Automatically generated file; DO NOT EDIT. | ||
# Espressif IoT Development Framework Configuration | ||
# | ||
CONFIG_IDF_TARGET_ESP8266=y | ||
|
||
# | ||
# Serial flasher config | ||
# | ||
CONFIG_ESPTOOLPY_FLASHMODE="dio" | ||
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y | ||
CONFIG_ESPTOOLPY_FLASHSIZE_2MB=y | ||
|
||
# | ||
# Partition Table | ||
# | ||
# CONFIG_PARTITION_TABLE_SINGLE_APP is not set | ||
# CONFIG_PARTITION_TABLE_TWO_OTA is not set | ||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="module_config/module_esp8266_1mb/partitions_at.csv" | ||
CONFIG_PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET=0x10000 | ||
CONFIG_PARTITION_TABLE_CUSTOM_PHY_DATA_OFFSET=0xf000 | ||
CONFIG_PARTITION_TABLE_FILENAME="module_config/module_esp8266_1mb/partitions_at.csv" | ||
CONFIG_APP1_OFFSET=0x10000 | ||
CONFIG_APP1_SIZE=0xAF000 | ||
CONFIG_PHY_DATA_OFFSET=0xf000 | ||
CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG=y | ||
# CONFIG_OPTIMIZATION_LEVEL_RELEASE is not set | ||
|
||
CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION=y | ||
|
||
# | ||
# AT Customized Partitions | ||
# | ||
CONFIG_AT_CUSTOMIZED_PARTITION_TABLE_FILE="module_config/module_esp8266_1mb/at_customize.csv" | ||
CONFIG_AT_CUSTOMIZED_PARTITION_TABLE_OFFSET=0x18000 | ||
# | ||
# ESP8266-specific | ||
# | ||
CONFIG_CONSOLE_UART_CUSTOM=y | ||
CONFIG_CONSOLE_UART_CUSTOM_NUM_1=y | ||
CONFIG_CONSOLE_UART_BAUDRATE=115200 | ||
|
||
# | ||
# FreeRTOS | ||
# | ||
CONFIG_FREERTOS_HZ=1000 | ||
CONFIG_USE_QUEUE_SETS=y | ||
|
||
# | ||
# LWIP | ||
# | ||
# CONFIG_L2_TO_L3_COPY is not set | ||
CONFIG_LWIP_SO_REUSE=y | ||
CONFIG_LWIP_SO_RCVBUF=y | ||
CONFIG_LWIP_DHCP_MAX_NTP_SERVERS=3 | ||
CONFIG_LWIP_IP_FRAG=y | ||
CONFIG_LWIP_IP_REASSEMBLY=y | ||
CONFIG_TCP_MAXRTX=6 | ||
CONFIG_TCP_SYNMAXRTX=3 | ||
CONFIG_LWIP_RAW=y | ||
CONFIG_LWIP_NETIF_LOOPBACK=y | ||
|
||
# | ||
# mDNS | ||
# | ||
CONFIG_ENABLE_MDNS=y | ||
CONFIG_MDNS_MAX_SERVICES=5 | ||
|
||
# | ||
# SSL | ||
# | ||
CONFIG_ESP_TLS_USING_WOLFSSL=y | ||
CONFIG_ESP_WOLFSSL_INTERNAL=y | ||
|
||
# | ||
# wpa_supplicant | ||
# | ||
CONFIG_LTM_FAST= | ||
|
||
CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=4096 | ||
CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=4096 | ||
CONFIG_MBEDTLS_RSA_BITLEN_2048=y | ||
|
||
# ESP-TLS | ||
CONFIG_ESP_WOLFSSL_INTERNAL=y | ||
|
||
# MQTT | ||
CONFIG_MQTT_USE_CUSTOM_CONFIG=y | ||
CONFIG_MQTT_BUFFER_SIZE=512 | ||
CONFIG_MQTT_TASK_STACK_SIZE=2048 | ||
|
||
# AT | ||
# | ||
CONFIG_AT_ENABLE=y | ||
CONFIG_AT_BASE_ON_UART=y | ||
CONFIG_AT_TASK_STACK_SIZE=2048 | ||
CONFIG_AT_SSL_SERVER_SERVER_AUTH_CLIENT=n | ||
CONFIG_AT_SSL_SERVER_CLIENT_AUTH_SERVER=n | ||
CONFIG_AT_MQTT_COMMAND_SUPPORT=y | ||
CONFIG_AT_OTA_SUPPORT=n | ||
CONFIG_AT_OTA_SERVER_IP="iot.espressif.cn" | ||
CONFIG_AT_OTA_SERVER_PORT=80 | ||
CONFIG_AT_OTA_TOKEN_KEY="dd93253c287f725de50d4071a05dd28b72056ca7" | ||
CONFIG_AT_OTA_SSL_TOKEN_KEY="dd93253c287f725de50d4071a05dd28b72056ca7" | ||
CONFIG_AT_SOCKET_MAX_CONN_NUM=5 | ||
CONFIG_ESP_AT_FW_VERSION="2.0.0" | ||
|
||
####### | ||
CONFIG_SUPPORT_TERMIOS=n | ||
CONFIG_NEWLIB_LIBRARY_LEVEL_FLOAT_NANO=y | ||
CONFIG_ESP_ERR_TO_NAME_LOOKUP=n | ||
|
||
CONFIG_LOG_DEFAULT_LEVEL_ERROR=y |
116 changes: 116 additions & 0 deletions
116
module_config/module_esp8266_1mb/sdkconfig_silence.defaults
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
# | ||
# Automatically generated file; DO NOT EDIT. | ||
# Espressif IoT Development Framework Configuration | ||
# | ||
CONFIG_IDF_TARGET_ESP8266=y | ||
|
||
# | ||
# Serial flasher config | ||
# | ||
CONFIG_ESPTOOLPY_FLASHMODE="dio" | ||
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y | ||
CONFIG_ESPTOOLPY_FLASHSIZE_2MB=y | ||
|
||
# | ||
# Partition Table | ||
# | ||
# CONFIG_PARTITION_TABLE_SINGLE_APP is not set | ||
# CONFIG_PARTITION_TABLE_TWO_OTA is not set | ||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="module_config/module_esp8266_1mb/partitions_at.csv" | ||
CONFIG_PARTITION_TABLE_CUSTOM_APP_BIN_OFFSET=0x10000 | ||
CONFIG_PARTITION_TABLE_CUSTOM_PHY_DATA_OFFSET=0xf000 | ||
CONFIG_PARTITION_TABLE_FILENAME="module_config/module_esp8266_1mb/partitions_at.csv" | ||
CONFIG_APP1_OFFSET=0x10000 | ||
CONFIG_APP1_SIZE=0xAF000 | ||
CONFIG_PHY_DATA_OFFSET=0xf000 | ||
CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG=y | ||
# CONFIG_OPTIMIZATION_LEVEL_RELEASE is not set | ||
|
||
CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION=y | ||
|
||
# | ||
# AT Customized Partitions | ||
# | ||
CONFIG_AT_CUSTOMIZED_PARTITION_TABLE_FILE="module_config/module_esp8266_1mb/at_customize.csv" | ||
CONFIG_AT_CUSTOMIZED_PARTITION_TABLE_OFFSET=0x18000 | ||
# | ||
# ESP8266-specific | ||
# | ||
CONFIG_CONSOLE_UART_CUSTOM=y | ||
CONFIG_CONSOLE_UART_CUSTOM_NUM_1=y | ||
CONFIG_CONSOLE_UART_BAUDRATE=115200 | ||
|
||
# | ||
# FreeRTOS | ||
# | ||
CONFIG_FREERTOS_HZ=1000 | ||
CONFIG_USE_QUEUE_SETS=y | ||
|
||
# | ||
# LWIP | ||
# | ||
# CONFIG_L2_TO_L3_COPY is not set | ||
CONFIG_LWIP_SO_REUSE=y | ||
CONFIG_LWIP_SO_RCVBUF=y | ||
CONFIG_LWIP_DHCP_MAX_NTP_SERVERS=3 | ||
CONFIG_LWIP_IP_FRAG=y | ||
CONFIG_LWIP_IP_REASSEMBLY=y | ||
CONFIG_TCP_MAXRTX=6 | ||
CONFIG_TCP_SYNMAXRTX=3 | ||
CONFIG_LWIP_RAW=y | ||
CONFIG_LWIP_NETIF_LOOPBACK=y | ||
|
||
# | ||
# mDNS | ||
# | ||
CONFIG_ENABLE_MDNS=y | ||
CONFIG_MDNS_MAX_SERVICES=5 | ||
|
||
# | ||
# SSL | ||
# | ||
CONFIG_ESP_TLS_USING_WOLFSSL=y | ||
CONFIG_ESP_WOLFSSL_INTERNAL=y | ||
|
||
# | ||
# wpa_supplicant | ||
# | ||
CONFIG_LTM_FAST= | ||
|
||
CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=4096 | ||
CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=4096 | ||
CONFIG_MBEDTLS_RSA_BITLEN_2048=y | ||
|
||
# ESP-TLS | ||
CONFIG_ESP_WOLFSSL_INTERNAL=y | ||
|
||
# MQTT | ||
CONFIG_MQTT_USE_CUSTOM_CONFIG=y | ||
CONFIG_MQTT_BUFFER_SIZE=512 | ||
CONFIG_MQTT_TASK_STACK_SIZE=2048 | ||
|
||
# AT | ||
# | ||
CONFIG_AT_ENABLE=y | ||
CONFIG_AT_BASE_ON_UART=y | ||
CONFIG_AT_TASK_STACK_SIZE=2048 | ||
CONFIG_AT_SSL_SERVER_SERVER_AUTH_CLIENT=n | ||
CONFIG_AT_SSL_SERVER_CLIENT_AUTH_SERVER=n | ||
CONFIG_AT_MQTT_COMMAND_SUPPORT=y | ||
CONFIG_AT_OTA_SUPPORT=n | ||
CONFIG_AT_OTA_SERVER_IP="iot.espressif.cn" | ||
CONFIG_AT_OTA_SERVER_PORT=80 | ||
CONFIG_AT_OTA_TOKEN_KEY="dd93253c287f725de50d4071a05dd28b72056ca7" | ||
CONFIG_AT_OTA_SSL_TOKEN_KEY="dd93253c287f725de50d4071a05dd28b72056ca7" | ||
CONFIG_AT_SOCKET_MAX_CONN_NUM=5 | ||
CONFIG_ESP_AT_FW_VERSION="2.0.0" | ||
|
||
####### | ||
CONFIG_SUPPORT_TERMIOS=n | ||
CONFIG_NEWLIB_LIBRARY_LEVEL_FLOAT_NANO=y | ||
CONFIG_ESP_ERR_TO_NAME_LOOKUP=n | ||
|
||
CONFIG_LOG_DEFAULT_LEVEL_NONE=y | ||
CONFIG_FREERTOS_ASSERT_DISABLE=y | ||
CONFIG_OPTIMIZATION_ASSERTIONS_SILENT=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters