diff --git a/variants/esp32-consibio/sdkconfig.defaults.patch b/variants/esp32-consibio/sdkconfig.defaults.patch index 73023eb..bb8fdbb 100644 --- a/variants/esp32-consibio/sdkconfig.defaults.patch +++ b/variants/esp32-consibio/sdkconfig.defaults.patch @@ -3,7 +3,7 @@ @@ -5,27 +5,10 @@ CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP=y - # CONFIG_APP_COMPILE_TIME_DATE is not set + CONFIG_APP_COMPILE_TIME_DATE=n -CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y +CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y CONFIG_PARTITION_TABLE_CUSTOM=y @@ -20,26 +20,40 @@ -CONFIG_BT_NIMBLE_NVS_PERSIST=y -CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME="toit" -CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE=0x0 --CONFIG_BT_NIMBLE_ACL_BUF_COUNT=10 +-CONFIG_BT_NIMBLE_TRANSPORT_ACL_FROM_LL_COUNT=10 -CONFIG_BTDM_CTRL_BLE_MAX_CONN=2 -CONFIG_BTDM_CTRL_PINNED_TO_CORE_1=y --# CONFIG_BTDM_CTRL_MODEM_SLEEP is not set --# CONFIG_BTDM_BLE_SCAN_DUPL is not set +-CONFIG_BTDM_CTRL_MODEM_SLEEP=n +-CONFIG_BTDM_BLE_SCAN_DUPL=n -CONFIG_BTDM_BLE_ADV_REPORT_FLOW_CTRL_NUM=50 - # CONFIG_ADC_CAL_EFUSE_TP_ENABLE is not set - # CONFIG_ADC_CAL_LUT_ENABLE is not set - # CONFIG_SPI_SLAVE_ISR_IN_IRAM is not set -@@ -62,6 +45,8 @@ + CONFIG_ADC_CAL_EFUSE_TP_ENABLE=n + CONFIG_ADC_CAL_LUT_ENABLE=n + CONFIG_SPI_SLAVE_ISR_IN_IRAM=n +@@ -46,7 +29,6 @@ + CONFIG_ESP_WIFI_NVS_ENABLED=n + CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1=y + CONFIG_ESP_WIFI_IRAM_OPT=n +-CONFIG_ESP_WIFI_GMAC_SUPPORT=n + CONFIG_FATFS_LFN_HEAP=y + CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=3 + CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024 +@@ -60,14 +42,12 @@ + CONFIG_LWIP_TCP_MSS=1410 + CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5640 + CONFIG_LWIP_TCP_WND_DEFAULT=5640 +-CONFIG_LWIP_HOOK_IP6_INPUT_NONE=y CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=7800 CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=3700 CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK=y -+CONFIG_MBEDTLS_ECP_RESTARTABLE=y -+CONFIG_MBEDTLS_CMAC_C=y - # CONFIG_MBEDTLS_HARDWARE_MPI is not set + CONFIG_MBEDTLS_ECP_RESTARTABLE=y + CONFIG_MBEDTLS_HARDWARE_MPI=n CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y +-CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y CONFIG_MBEDTLS_POLY1305_C=y -@@ -73,4 +58,3 @@ + CONFIG_MBEDTLS_CHACHA20_C=y + CONFIG_MBEDTLS_CHACHAPOLY_C=y +@@ -77,4 +57,3 @@ CONFIG_SPI_FLASH_LOG_FAILED_WRITE=y CONFIG_SPI_FLASH_WARN_SETTING_ZERO_TO_ONE=y - # CONFIG_WS_TRANSPORT is not set --# CONFIG_TOIT_INTERPRETER_HELPERS_IN_IRAM is not set + CONFIG_WS_TRANSPORT=n +-CONFIG_TOIT_INTERPRETER_HELPERS_IN_IRAM=n diff --git a/variants/esp32-eth-clk-out0-spiram/sdkconfig.defaults.patch b/variants/esp32-eth-clk-out0-spiram/sdkconfig.defaults.patch index e5a5f36..6dfa59b 100644 --- a/variants/esp32-eth-clk-out0-spiram/sdkconfig.defaults.patch +++ b/variants/esp32-eth-clk-out0-spiram/sdkconfig.defaults.patch @@ -1,34 +1,50 @@ --- toit/toolchains/esp32/sdkconfig.defaults +++ synthesized/esp32-eth-clk-out0-spiram/sdkconfig.defaults @@ -31,12 +31,17 @@ - # CONFIG_SPI_SLAVE_ISR_IN_IRAM is not set + CONFIG_SPI_SLAVE_ISR_IN_IRAM=n CONFIG_UART_ISR_IN_IRAM=y - # CONFIG_ESP_ERR_TO_NAME_LOOKUP is not set + CONFIG_ESP_ERR_TO_NAME_LOOKUP=n +CONFIG_ETH_RMII_CLK_OUTPUT=y +CONFIG_ETH_RMII_CLK_OUTPUT_GPIO0=y CONFIG_ETH_SPI_ETHERNET_DM9051=y CONFIG_ETH_SPI_ETHERNET_W5500=y - # CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS is not set + CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=n CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND=y CONFIG_XTAL_FREQ_AUTO=y - # CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE is not set + CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE=n +CONFIG_SPIRAM=y +CONFIG_SPIRAM_IGNORE_NOTFOUND=y +CONFIG_SPIRAM_USE_CAPS_ALLOC=y CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y - # CONFIG_ESP_INT_WDT is not set - # CONFIG_ESP_TASK_WDT_INIT is not set -@@ -45,7 +50,6 @@ - CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=16 - # CONFIG_ESP32_WIFI_NVS_ENABLED is not set - CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1=y --# CONFIG_ESP32_WIFI_IRAM_OPT is not set + CONFIG_ESP_INT_WDT=n + CONFIG_ESP_TASK_WDT_INIT=n +@@ -45,8 +50,6 @@ + CONFIG_ESP_WIFI_DYNAMIC_TX_BUFFER_NUM=16 + CONFIG_ESP_WIFI_NVS_ENABLED=n + CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1=y +-CONFIG_ESP_WIFI_IRAM_OPT=n +-CONFIG_ESP_WIFI_GMAC_SUPPORT=n CONFIG_FATFS_LFN_HEAP=y CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=3 CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024 -@@ -73,4 +77,5 @@ +@@ -60,14 +63,11 @@ + CONFIG_LWIP_TCP_MSS=1410 + CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5640 + CONFIG_LWIP_TCP_WND_DEFAULT=5640 +-CONFIG_LWIP_HOOK_IP6_INPUT_NONE=y + CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=7800 + CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=3700 + CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK=y +-CONFIG_MBEDTLS_ECP_RESTARTABLE=y + CONFIG_MBEDTLS_HARDWARE_MPI=n + CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y +-CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y + CONFIG_MBEDTLS_POLY1305_C=y + CONFIG_MBEDTLS_CHACHA20_C=y + CONFIG_MBEDTLS_CHACHAPOLY_C=y +@@ -77,4 +77,5 @@ CONFIG_SPI_FLASH_LOG_FAILED_WRITE=y CONFIG_SPI_FLASH_WARN_SETTING_ZERO_TO_ONE=y - # CONFIG_WS_TRANSPORT is not set -+# CONFIG_TOIT_INTERPRETER_IN_IRAM is not set - # CONFIG_TOIT_INTERPRETER_HELPERS_IN_IRAM is not set + CONFIG_WS_TRANSPORT=n ++CONFIG_TOIT_INTERPRETER_IN_IRAM=n + CONFIG_TOIT_INTERPRETER_HELPERS_IN_IRAM=n diff --git a/variants/esp32-eth-clk-out0/sdkconfig.defaults.patch b/variants/esp32-eth-clk-out0/sdkconfig.defaults.patch index fbbd35a..fea8f05 100644 --- a/variants/esp32-eth-clk-out0/sdkconfig.defaults.patch +++ b/variants/esp32-eth-clk-out0/sdkconfig.defaults.patch @@ -1,11 +1,34 @@ --- toit/toolchains/esp32/sdkconfig.defaults +++ synthesized/esp32-eth-clk-out0/sdkconfig.defaults @@ -31,6 +31,8 @@ - # CONFIG_SPI_SLAVE_ISR_IN_IRAM is not set + CONFIG_SPI_SLAVE_ISR_IN_IRAM=n CONFIG_UART_ISR_IN_IRAM=y - # CONFIG_ESP_ERR_TO_NAME_LOOKUP is not set + CONFIG_ESP_ERR_TO_NAME_LOOKUP=n +CONFIG_ETH_RMII_CLK_OUTPUT=y +CONFIG_ETH_RMII_CLK_OUTPUT_GPIO0=y CONFIG_ETH_SPI_ETHERNET_DM9051=y CONFIG_ETH_SPI_ETHERNET_W5500=y - # CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS is not set + CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=n +@@ -46,7 +48,6 @@ + CONFIG_ESP_WIFI_NVS_ENABLED=n + CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1=y + CONFIG_ESP_WIFI_IRAM_OPT=n +-CONFIG_ESP_WIFI_GMAC_SUPPORT=n + CONFIG_FATFS_LFN_HEAP=y + CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=3 + CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024 +@@ -60,14 +61,11 @@ + CONFIG_LWIP_TCP_MSS=1410 + CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5640 + CONFIG_LWIP_TCP_WND_DEFAULT=5640 +-CONFIG_LWIP_HOOK_IP6_INPUT_NONE=y + CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=7800 + CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=3700 + CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK=y +-CONFIG_MBEDTLS_ECP_RESTARTABLE=y + CONFIG_MBEDTLS_HARDWARE_MPI=n + CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y +-CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y + CONFIG_MBEDTLS_POLY1305_C=y + CONFIG_MBEDTLS_CHACHA20_C=y + CONFIG_MBEDTLS_CHACHAPOLY_C=y diff --git a/variants/esp32-eth-clk-out17-spiram/sdkconfig.defaults.patch b/variants/esp32-eth-clk-out17-spiram/sdkconfig.defaults.patch index cbf2305..a7306da 100644 --- a/variants/esp32-eth-clk-out17-spiram/sdkconfig.defaults.patch +++ b/variants/esp32-eth-clk-out17-spiram/sdkconfig.defaults.patch @@ -1,33 +1,49 @@ --- toit/toolchains/esp32/sdkconfig.defaults +++ synthesized/esp32-eth-clk-out17-spiram/sdkconfig.defaults @@ -31,12 +31,16 @@ - # CONFIG_SPI_SLAVE_ISR_IN_IRAM is not set + CONFIG_SPI_SLAVE_ISR_IN_IRAM=n CONFIG_UART_ISR_IN_IRAM=y - # CONFIG_ESP_ERR_TO_NAME_LOOKUP is not set + CONFIG_ESP_ERR_TO_NAME_LOOKUP=n +CONFIG_ETH_RMII_CLK_OUTPUT=y CONFIG_ETH_SPI_ETHERNET_DM9051=y CONFIG_ETH_SPI_ETHERNET_W5500=y - # CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS is not set + CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=n CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND=y CONFIG_XTAL_FREQ_AUTO=y - # CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE is not set + CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE=n +CONFIG_SPIRAM=y +CONFIG_SPIRAM_IGNORE_NOTFOUND=y +CONFIG_SPIRAM_USE_CAPS_ALLOC=y CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y - # CONFIG_ESP_INT_WDT is not set - # CONFIG_ESP_TASK_WDT_INIT is not set -@@ -45,7 +49,6 @@ - CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=16 - # CONFIG_ESP32_WIFI_NVS_ENABLED is not set - CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1=y --# CONFIG_ESP32_WIFI_IRAM_OPT is not set + CONFIG_ESP_INT_WDT=n + CONFIG_ESP_TASK_WDT_INIT=n +@@ -45,8 +49,6 @@ + CONFIG_ESP_WIFI_DYNAMIC_TX_BUFFER_NUM=16 + CONFIG_ESP_WIFI_NVS_ENABLED=n + CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1=y +-CONFIG_ESP_WIFI_IRAM_OPT=n +-CONFIG_ESP_WIFI_GMAC_SUPPORT=n CONFIG_FATFS_LFN_HEAP=y CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=3 CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024 -@@ -73,4 +76,5 @@ +@@ -60,14 +62,11 @@ + CONFIG_LWIP_TCP_MSS=1410 + CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5640 + CONFIG_LWIP_TCP_WND_DEFAULT=5640 +-CONFIG_LWIP_HOOK_IP6_INPUT_NONE=y + CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=7800 + CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=3700 + CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK=y +-CONFIG_MBEDTLS_ECP_RESTARTABLE=y + CONFIG_MBEDTLS_HARDWARE_MPI=n + CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y +-CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y + CONFIG_MBEDTLS_POLY1305_C=y + CONFIG_MBEDTLS_CHACHA20_C=y + CONFIG_MBEDTLS_CHACHAPOLY_C=y +@@ -77,4 +76,5 @@ CONFIG_SPI_FLASH_LOG_FAILED_WRITE=y CONFIG_SPI_FLASH_WARN_SETTING_ZERO_TO_ONE=y - # CONFIG_WS_TRANSPORT is not set -+# CONFIG_TOIT_INTERPRETER_IN_IRAM is not set - # CONFIG_TOIT_INTERPRETER_HELPERS_IN_IRAM is not set + CONFIG_WS_TRANSPORT=n ++CONFIG_TOIT_INTERPRETER_IN_IRAM=n + CONFIG_TOIT_INTERPRETER_HELPERS_IN_IRAM=n diff --git a/variants/esp32-eth-clk-out17/sdkconfig.defaults.patch b/variants/esp32-eth-clk-out17/sdkconfig.defaults.patch index 2134eff..618f401 100644 --- a/variants/esp32-eth-clk-out17/sdkconfig.defaults.patch +++ b/variants/esp32-eth-clk-out17/sdkconfig.defaults.patch @@ -1,10 +1,33 @@ --- toit/toolchains/esp32/sdkconfig.defaults +++ synthesized/esp32-eth-clk-out17/sdkconfig.defaults @@ -31,6 +31,7 @@ - # CONFIG_SPI_SLAVE_ISR_IN_IRAM is not set + CONFIG_SPI_SLAVE_ISR_IN_IRAM=n CONFIG_UART_ISR_IN_IRAM=y - # CONFIG_ESP_ERR_TO_NAME_LOOKUP is not set + CONFIG_ESP_ERR_TO_NAME_LOOKUP=n +CONFIG_ETH_RMII_CLK_OUTPUT=y CONFIG_ETH_SPI_ETHERNET_DM9051=y CONFIG_ETH_SPI_ETHERNET_W5500=y - # CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS is not set + CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=n +@@ -46,7 +47,6 @@ + CONFIG_ESP_WIFI_NVS_ENABLED=n + CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1=y + CONFIG_ESP_WIFI_IRAM_OPT=n +-CONFIG_ESP_WIFI_GMAC_SUPPORT=n + CONFIG_FATFS_LFN_HEAP=y + CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=3 + CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024 +@@ -60,14 +60,11 @@ + CONFIG_LWIP_TCP_MSS=1410 + CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5640 + CONFIG_LWIP_TCP_WND_DEFAULT=5640 +-CONFIG_LWIP_HOOK_IP6_INPUT_NONE=y + CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=7800 + CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=3700 + CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK=y +-CONFIG_MBEDTLS_ECP_RESTARTABLE=y + CONFIG_MBEDTLS_HARDWARE_MPI=n + CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y +-CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y + CONFIG_MBEDTLS_POLY1305_C=y + CONFIG_MBEDTLS_CHACHA20_C=y + CONFIG_MBEDTLS_CHACHAPOLY_C=y diff --git a/variants/esp32-no-ble/sdkconfig.defaults.patch b/variants/esp32-no-ble/sdkconfig.defaults.patch index 350ced4..72c17a6 100644 --- a/variants/esp32-no-ble/sdkconfig.defaults.patch +++ b/variants/esp32-no-ble/sdkconfig.defaults.patch @@ -15,27 +15,50 @@ -CONFIG_BT_NIMBLE_NVS_PERSIST=y -CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME="toit" -CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE=0x0 --CONFIG_BT_NIMBLE_ACL_BUF_COUNT=10 +-CONFIG_BT_NIMBLE_TRANSPORT_ACL_FROM_LL_COUNT=10 -CONFIG_BTDM_CTRL_BLE_MAX_CONN=2 -CONFIG_BTDM_CTRL_PINNED_TO_CORE_1=y --# CONFIG_BTDM_CTRL_MODEM_SLEEP is not set --# CONFIG_BTDM_BLE_SCAN_DUPL is not set +-CONFIG_BTDM_CTRL_MODEM_SLEEP=n +-CONFIG_BTDM_BLE_SCAN_DUPL=n -CONFIG_BTDM_BLE_ADV_REPORT_FLOW_CTRL_NUM=50 - # CONFIG_ADC_CAL_EFUSE_TP_ENABLE is not set - # CONFIG_ADC_CAL_LUT_ENABLE is not set - # CONFIG_SPI_SLAVE_ISR_IN_IRAM is not set + CONFIG_ADC_CAL_EFUSE_TP_ENABLE=n + CONFIG_ADC_CAL_LUT_ENABLE=n + CONFIG_SPI_SLAVE_ISR_IN_IRAM=n @@ -37,6 +20,9 @@ CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND=y CONFIG_XTAL_FREQ_AUTO=y - # CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE is not set + CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE=n +CONFIG_SPIRAM=y +CONFIG_SPIRAM_IGNORE_NOTFOUND=y +CONFIG_SPIRAM_USE_CAPS_ALLOC=y CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y - # CONFIG_ESP_INT_WDT is not set - # CONFIG_ESP_TASK_WDT_INIT is not set -@@ -73,4 +59,3 @@ + CONFIG_ESP_INT_WDT=n + CONFIG_ESP_TASK_WDT_INIT=n +@@ -46,7 +32,6 @@ + CONFIG_ESP_WIFI_NVS_ENABLED=n + CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1=y + CONFIG_ESP_WIFI_IRAM_OPT=n +-CONFIG_ESP_WIFI_GMAC_SUPPORT=n + CONFIG_FATFS_LFN_HEAP=y + CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=3 + CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024 +@@ -60,14 +45,11 @@ + CONFIG_LWIP_TCP_MSS=1410 + CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5640 + CONFIG_LWIP_TCP_WND_DEFAULT=5640 +-CONFIG_LWIP_HOOK_IP6_INPUT_NONE=y + CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=7800 + CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=3700 + CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK=y +-CONFIG_MBEDTLS_ECP_RESTARTABLE=y + CONFIG_MBEDTLS_HARDWARE_MPI=n + CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y +-CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y + CONFIG_MBEDTLS_POLY1305_C=y + CONFIG_MBEDTLS_CHACHA20_C=y + CONFIG_MBEDTLS_CHACHAPOLY_C=y +@@ -77,4 +59,3 @@ CONFIG_SPI_FLASH_LOG_FAILED_WRITE=y CONFIG_SPI_FLASH_WARN_SETTING_ZERO_TO_ONE=y - # CONFIG_WS_TRANSPORT is not set --# CONFIG_TOIT_INTERPRETER_HELPERS_IN_IRAM is not set + CONFIG_WS_TRANSPORT=n +-CONFIG_TOIT_INTERPRETER_HELPERS_IN_IRAM=n diff --git a/variants/esp32-qemu/sdkconfig.defaults.patch b/variants/esp32-qemu/sdkconfig.defaults.patch index f12d6bf..f312608 100644 --- a/variants/esp32-qemu/sdkconfig.defaults.patch +++ b/variants/esp32-qemu/sdkconfig.defaults.patch @@ -1,10 +1,40 @@ --- toit/toolchains/esp32/sdkconfig.defaults +++ synthesized/esp32-qemu/sdkconfig.defaults +@@ -1,5 +1,5 @@ + # This file was generated using idf.py save-defconfig. It can be edited manually. +-# Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration ++# Espressif IoT Development Framework (ESP-IDF) 5.3.1 Project Minimal Configuration + # + CONFIG_BOOTLOADER_LOG_LEVEL_NONE=y + CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y @@ -33,6 +33,7 @@ - # CONFIG_ESP_ERR_TO_NAME_LOOKUP is not set + CONFIG_ESP_ERR_TO_NAME_LOOKUP=n CONFIG_ETH_SPI_ETHERNET_DM9051=y CONFIG_ETH_SPI_ETHERNET_W5500=y +CONFIG_ETH_USE_OPENETH=y - # CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS is not set + CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=n CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND=y CONFIG_XTAL_FREQ_AUTO=y +@@ -46,7 +47,6 @@ + CONFIG_ESP_WIFI_NVS_ENABLED=n + CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1=y + CONFIG_ESP_WIFI_IRAM_OPT=n +-CONFIG_ESP_WIFI_GMAC_SUPPORT=n + CONFIG_FATFS_LFN_HEAP=y + CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=3 + CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024 +@@ -60,14 +60,11 @@ + CONFIG_LWIP_TCP_MSS=1410 + CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5640 + CONFIG_LWIP_TCP_WND_DEFAULT=5640 +-CONFIG_LWIP_HOOK_IP6_INPUT_NONE=y + CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=7800 + CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=3700 + CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK=y +-CONFIG_MBEDTLS_ECP_RESTARTABLE=y + CONFIG_MBEDTLS_HARDWARE_MPI=n + CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y +-CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y + CONFIG_MBEDTLS_POLY1305_C=y + CONFIG_MBEDTLS_CHACHA20_C=y + CONFIG_MBEDTLS_CHACHAPOLY_C=y diff --git a/variants/esp32-sedisto/sdkconfig.defaults.patch b/variants/esp32-sedisto/sdkconfig.defaults.patch index 3c7683b..6f13232 100644 --- a/variants/esp32-sedisto/sdkconfig.defaults.patch +++ b/variants/esp32-sedisto/sdkconfig.defaults.patch @@ -1,38 +1,54 @@ --- toit/toolchains/esp32/sdkconfig.defaults +++ synthesized/esp32-sedisto/sdkconfig.defaults @@ -31,12 +31,17 @@ - # CONFIG_SPI_SLAVE_ISR_IN_IRAM is not set + CONFIG_SPI_SLAVE_ISR_IN_IRAM=n CONFIG_UART_ISR_IN_IRAM=y - # CONFIG_ESP_ERR_TO_NAME_LOOKUP is not set + CONFIG_ESP_ERR_TO_NAME_LOOKUP=n +CONFIG_ETH_RMII_CLK_OUTPUT=y +CONFIG_ETH_RMII_CLK_OUTPUT_GPIO0=y CONFIG_ETH_SPI_ETHERNET_DM9051=y CONFIG_ETH_SPI_ETHERNET_W5500=y - # CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS is not set + CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=n CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND=y CONFIG_XTAL_FREQ_AUTO=y - # CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE is not set + CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE=n +CONFIG_SPIRAM=y +CONFIG_SPIRAM_IGNORE_NOTFOUND=y +CONFIG_SPIRAM_USE_CAPS_ALLOC=y CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y - # CONFIG_ESP_INT_WDT is not set - # CONFIG_ESP_TASK_WDT_INIT is not set -@@ -45,7 +50,6 @@ - CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=16 - # CONFIG_ESP32_WIFI_NVS_ENABLED is not set - CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1=y --# CONFIG_ESP32_WIFI_IRAM_OPT is not set + CONFIG_ESP_INT_WDT=n + CONFIG_ESP_TASK_WDT_INIT=n +@@ -45,8 +50,6 @@ + CONFIG_ESP_WIFI_DYNAMIC_TX_BUFFER_NUM=16 + CONFIG_ESP_WIFI_NVS_ENABLED=n + CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1=y +-CONFIG_ESP_WIFI_IRAM_OPT=n +-CONFIG_ESP_WIFI_GMAC_SUPPORT=n CONFIG_FATFS_LFN_HEAP=y CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=3 CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024 -@@ -73,4 +77,9 @@ +@@ -60,14 +63,11 @@ + CONFIG_LWIP_TCP_MSS=1410 + CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5640 + CONFIG_LWIP_TCP_WND_DEFAULT=5640 +-CONFIG_LWIP_HOOK_IP6_INPUT_NONE=y + CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=7800 + CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=3700 + CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK=y +-CONFIG_MBEDTLS_ECP_RESTARTABLE=y + CONFIG_MBEDTLS_HARDWARE_MPI=n + CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y +-CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y + CONFIG_MBEDTLS_POLY1305_C=y + CONFIG_MBEDTLS_CHACHA20_C=y + CONFIG_MBEDTLS_CHACHAPOLY_C=y +@@ -77,4 +77,9 @@ CONFIG_SPI_FLASH_LOG_FAILED_WRITE=y CONFIG_SPI_FLASH_WARN_SETTING_ZERO_TO_ONE=y - # CONFIG_WS_TRANSPORT is not set -+# CONFIG_TOIT_BYTE_DISPLAY is not set -+# CONFIG_TOIT_BIT_DISPLAY is not set -+# CONFIG_TOIT_FONT is not set -+# CONFIG_TOIT_FATFS is not set -+# CONFIG_TOIT_INTERPRETER_IN_IRAM is not set - # CONFIG_TOIT_INTERPRETER_HELPERS_IN_IRAM is not set + CONFIG_WS_TRANSPORT=n ++CONFIG_TOIT_BYTE_DISPLAY=n ++CONFIG_TOIT_BIT_DISPLAY=n ++CONFIG_TOIT_FONT=n ++CONFIG_TOIT_FATFS=n ++CONFIG_TOIT_INTERPRETER_IN_IRAM=n + CONFIG_TOIT_INTERPRETER_HELPERS_IN_IRAM=n diff --git a/variants/esp32-spiram/sdkconfig.defaults.patch b/variants/esp32-spiram/sdkconfig.defaults.patch index 088c4d6..7217d85 100644 --- a/variants/esp32-spiram/sdkconfig.defaults.patch +++ b/variants/esp32-spiram/sdkconfig.defaults.patch @@ -1,27 +1,43 @@ --- toit/toolchains/esp32/sdkconfig.defaults +++ synthesized/esp32-spiram/sdkconfig.defaults -@@ -37,15 +37,16 @@ +@@ -37,16 +37,16 @@ CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND=y CONFIG_XTAL_FREQ_AUTO=y - # CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE is not set + CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE=n +CONFIG_SPIRAM=y +CONFIG_SPIRAM_IGNORE_NOTFOUND=y CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y - # CONFIG_ESP_INT_WDT is not set - # CONFIG_ESP_TASK_WDT_INIT is not set - # CONFIG_ESP_DEBUG_OCDAWARE is not set - CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=16 --CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=16 - # CONFIG_ESP32_WIFI_NVS_ENABLED is not set - CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1=y --# CONFIG_ESP32_WIFI_IRAM_OPT is not set -+CONFIG_ESP32_WIFI_RX_IRAM_OPT=y + CONFIG_ESP_INT_WDT=n + CONFIG_ESP_TASK_WDT_INIT=n + CONFIG_ESP_DEBUG_OCDAWARE=n + CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM=16 +-CONFIG_ESP_WIFI_DYNAMIC_TX_BUFFER_NUM=16 + CONFIG_ESP_WIFI_NVS_ENABLED=n + CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1=y +-CONFIG_ESP_WIFI_IRAM_OPT=n +-CONFIG_ESP_WIFI_GMAC_SUPPORT=n ++CONFIG_ESP_WIFI_RX_IRAM_OPT=y CONFIG_FATFS_LFN_HEAP=y CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=3 CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024 -@@ -73,4 +74,5 @@ +@@ -60,14 +60,11 @@ + CONFIG_LWIP_TCP_MSS=1410 + CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5640 + CONFIG_LWIP_TCP_WND_DEFAULT=5640 +-CONFIG_LWIP_HOOK_IP6_INPUT_NONE=y + CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=7800 + CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=3700 + CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK=y +-CONFIG_MBEDTLS_ECP_RESTARTABLE=y + CONFIG_MBEDTLS_HARDWARE_MPI=n + CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y +-CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y + CONFIG_MBEDTLS_POLY1305_C=y + CONFIG_MBEDTLS_CHACHA20_C=y + CONFIG_MBEDTLS_CHACHAPOLY_C=y +@@ -77,4 +74,5 @@ CONFIG_SPI_FLASH_LOG_FAILED_WRITE=y CONFIG_SPI_FLASH_WARN_SETTING_ZERO_TO_ONE=y - # CONFIG_WS_TRANSPORT is not set -+# CONFIG_TOIT_INTERPRETER_IN_IRAM is not set - # CONFIG_TOIT_INTERPRETER_HELPERS_IN_IRAM is not set + CONFIG_WS_TRANSPORT=n ++CONFIG_TOIT_INTERPRETER_IN_IRAM=n + CONFIG_TOIT_INTERPRETER_HELPERS_IN_IRAM=n diff --git a/variants/esp32-tls-server/sdkconfig.defaults.patch b/variants/esp32-tls-server/sdkconfig.defaults.patch index e6e0eeb..1866d2a 100644 --- a/variants/esp32-tls-server/sdkconfig.defaults.patch +++ b/variants/esp32-tls-server/sdkconfig.defaults.patch @@ -1,10 +1,25 @@ --- toit/toolchains/esp32/sdkconfig.defaults +++ synthesized/esp32-tls-server/sdkconfig.defaults -@@ -63,7 +63,6 @@ +@@ -46,7 +46,6 @@ + CONFIG_ESP_WIFI_NVS_ENABLED=n + CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1=y + CONFIG_ESP_WIFI_IRAM_OPT=n +-CONFIG_ESP_WIFI_GMAC_SUPPORT=n + CONFIG_FATFS_LFN_HEAP=y + CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=3 + CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024 +@@ -60,14 +59,10 @@ + CONFIG_LWIP_TCP_MSS=1410 + CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5640 + CONFIG_LWIP_TCP_WND_DEFAULT=5640 +-CONFIG_LWIP_HOOK_IP6_INPUT_NONE=y + CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=7800 CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=3700 CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK=y - # CONFIG_MBEDTLS_HARDWARE_MPI is not set +-CONFIG_MBEDTLS_ECP_RESTARTABLE=y + CONFIG_MBEDTLS_HARDWARE_MPI=n -CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y +-CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y CONFIG_MBEDTLS_POLY1305_C=y CONFIG_MBEDTLS_CHACHA20_C=y CONFIG_MBEDTLS_CHACHAPOLY_C=y diff --git a/variants/esp32s3-consibio-spiram-octo/sdkconfig.defaults.patch b/variants/esp32s3-consibio-spiram-octo/sdkconfig.defaults.patch index 69cd82a..c4276cd 100644 --- a/variants/esp32s3-consibio-spiram-octo/sdkconfig.defaults.patch +++ b/variants/esp32s3-consibio-spiram-octo/sdkconfig.defaults.patch @@ -3,7 +3,7 @@ @@ -6,23 +6,12 @@ CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP=y - # CONFIG_APP_COMPILE_TIME_DATE is not set + CONFIG_APP_COMPILE_TIME_DATE=n -CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y +CONFIG_ESPTOOLPY_OCT_FLASH=y +CONFIG_ESPTOOLPY_FLASH_SAMPLE_MODE_STR=y @@ -22,24 +22,39 @@ -CONFIG_BT_NIMBLE_NVS_PERSIST=y -CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME="toit" -CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE=0x0 --CONFIG_BT_NIMBLE_ACL_BUF_COUNT=10 +-CONFIG_BT_NIMBLE_TRANSPORT_ACL_FROM_LL_COUNT=10 -CONFIG_BT_CTRL_BLE_MAX_ACT=10 - # CONFIG_SPI_SLAVE_ISR_IN_IRAM is not set + CONFIG_SPI_SLAVE_ISR_IN_IRAM=n CONFIG_UART_ISR_IN_IRAM=y - # CONFIG_ESP_ERR_TO_NAME_LOOKUP is not set + CONFIG_ESP_ERR_TO_NAME_LOOKUP=n @@ -32,6 +21,7 @@ - # CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE is not set + CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE=n CONFIG_ESP_PHY_REDUCE_TX_POWER=y CONFIG_SPIRAM=y +CONFIG_SPIRAM_MODE_OCT=y CONFIG_SPIRAM_IGNORE_NOTFOUND=y - CONFIG_SPIRAM_RODATA_PADDING=2097152 CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y -@@ -57,6 +47,7 @@ + CONFIG_ESP_INT_WDT=n +@@ -40,7 +30,6 @@ + CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM=16 + CONFIG_ESP_WIFI_NVS_ENABLED=n + CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1=y +-CONFIG_ESP_WIFI_GMAC_SUPPORT=n + CONFIG_FATFS_LFN_HEAP=y + CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=3 + CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024 +@@ -54,14 +43,12 @@ + CONFIG_LWIP_TCP_MSS=1410 + CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5640 + CONFIG_LWIP_TCP_WND_DEFAULT=5640 +-CONFIG_LWIP_HOOK_IP6_INPUT_NONE=y CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=7800 CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=3700 CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK=y -+CONFIG_MBEDTLS_ECP_RESTARTABLE=y - # CONFIG_MBEDTLS_HARDWARE_MPI is not set + CONFIG_MBEDTLS_ECP_RESTARTABLE=y + CONFIG_MBEDTLS_HARDWARE_MPI=n CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y +-CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y CONFIG_MBEDTLS_POLY1305_C=y + CONFIG_MBEDTLS_CHACHA20_C=y + CONFIG_MBEDTLS_CHACHAPOLY_C=y diff --git a/variants/esp32s3-no-ble/sdkconfig.defaults.patch b/variants/esp32s3-no-ble/sdkconfig.defaults.patch index 631dcf4..0b82976 100644 --- a/variants/esp32s3-no-ble/sdkconfig.defaults.patch +++ b/variants/esp32s3-no-ble/sdkconfig.defaults.patch @@ -15,16 +15,31 @@ -CONFIG_BT_NIMBLE_NVS_PERSIST=y -CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME="toit" -CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE=0x0 --CONFIG_BT_NIMBLE_ACL_BUF_COUNT=10 +-CONFIG_BT_NIMBLE_TRANSPORT_ACL_FROM_LL_COUNT=10 -CONFIG_BT_CTRL_BLE_MAX_ACT=10 - # CONFIG_SPI_SLAVE_ISR_IN_IRAM is not set + CONFIG_SPI_SLAVE_ISR_IN_IRAM=n CONFIG_UART_ISR_IN_IRAM=y - # CONFIG_ESP_ERR_TO_NAME_LOOKUP is not set -@@ -57,6 +44,7 @@ + CONFIG_ESP_ERR_TO_NAME_LOOKUP=n +@@ -40,7 +27,6 @@ + CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM=16 + CONFIG_ESP_WIFI_NVS_ENABLED=n + CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1=y +-CONFIG_ESP_WIFI_GMAC_SUPPORT=n + CONFIG_FATFS_LFN_HEAP=y + CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=3 + CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024 +@@ -54,14 +40,12 @@ + CONFIG_LWIP_TCP_MSS=1410 + CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5640 + CONFIG_LWIP_TCP_WND_DEFAULT=5640 +-CONFIG_LWIP_HOOK_IP6_INPUT_NONE=y CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=7800 CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=3700 CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK=y -+CONFIG_MBEDTLS_ECP_RESTARTABLE=y - # CONFIG_MBEDTLS_HARDWARE_MPI is not set + CONFIG_MBEDTLS_ECP_RESTARTABLE=y + CONFIG_MBEDTLS_HARDWARE_MPI=n CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y +-CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y CONFIG_MBEDTLS_POLY1305_C=y + CONFIG_MBEDTLS_CHACHA20_C=y + CONFIG_MBEDTLS_CHACHAPOLY_C=y diff --git a/variants/esp32s3-spiram-octo/sdkconfig.defaults.patch b/variants/esp32s3-spiram-octo/sdkconfig.defaults.patch index cd5ee07..275a3ba 100644 --- a/variants/esp32s3-spiram-octo/sdkconfig.defaults.patch +++ b/variants/esp32s3-spiram-octo/sdkconfig.defaults.patch @@ -1,10 +1,33 @@ --- toit/toolchains/esp32s3/sdkconfig.defaults +++ synthesized/esp32s3-spiram-octo/sdkconfig.defaults @@ -32,6 +32,7 @@ - # CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE is not set + CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE=n CONFIG_ESP_PHY_REDUCE_TX_POWER=y CONFIG_SPIRAM=y +CONFIG_SPIRAM_MODE_OCT=y CONFIG_SPIRAM_IGNORE_NOTFOUND=y - CONFIG_SPIRAM_RODATA_PADDING=2097152 CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y + CONFIG_ESP_INT_WDT=n +@@ -40,7 +41,6 @@ + CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM=16 + CONFIG_ESP_WIFI_NVS_ENABLED=n + CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1=y +-CONFIG_ESP_WIFI_GMAC_SUPPORT=n + CONFIG_FATFS_LFN_HEAP=y + CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=3 + CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024 +@@ -54,14 +54,11 @@ + CONFIG_LWIP_TCP_MSS=1410 + CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5640 + CONFIG_LWIP_TCP_WND_DEFAULT=5640 +-CONFIG_LWIP_HOOK_IP6_INPUT_NONE=y + CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=7800 + CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=3700 + CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK=y +-CONFIG_MBEDTLS_ECP_RESTARTABLE=y + CONFIG_MBEDTLS_HARDWARE_MPI=n + CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y +-CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y + CONFIG_MBEDTLS_POLY1305_C=y + CONFIG_MBEDTLS_CHACHA20_C=y + CONFIG_MBEDTLS_CHACHAPOLY_C=y diff --git a/variants/esp32s3-synap/sdkconfig.defaults.patch b/variants/esp32s3-synap/sdkconfig.defaults.patch index 460d9f8..9c3e7bb 100644 --- a/variants/esp32s3-synap/sdkconfig.defaults.patch +++ b/variants/esp32s3-synap/sdkconfig.defaults.patch @@ -3,7 +3,7 @@ @@ -6,23 +6,10 @@ CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP=y - # CONFIG_APP_COMPILE_TIME_DATE is not set + CONFIG_APP_COMPILE_TIME_DATE=n -CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y +CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y CONFIG_PARTITION_TABLE_CUSTOM=y @@ -20,26 +20,39 @@ -CONFIG_BT_NIMBLE_NVS_PERSIST=y -CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME="toit" -CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE=0x0 --CONFIG_BT_NIMBLE_ACL_BUF_COUNT=10 +-CONFIG_BT_NIMBLE_TRANSPORT_ACL_FROM_LL_COUNT=10 -CONFIG_BT_CTRL_BLE_MAX_ACT=10 - # CONFIG_SPI_SLAVE_ISR_IN_IRAM is not set + CONFIG_SPI_SLAVE_ISR_IN_IRAM=n CONFIG_UART_ISR_IN_IRAM=y - # CONFIG_ESP_ERR_TO_NAME_LOOKUP is not set -@@ -35,6 +22,8 @@ + CONFIG_ESP_ERR_TO_NAME_LOOKUP=n +@@ -34,13 +21,14 @@ + CONFIG_SPIRAM=y CONFIG_SPIRAM_IGNORE_NOTFOUND=y - CONFIG_SPIRAM_RODATA_PADDING=2097152 CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y +CONFIG_ESP_CONSOLE_UART_CUSTOM=y +CONFIG_ESP_CONSOLE_UART_RX_GPIO=7 - # CONFIG_ESP_INT_WDT is not set - # CONFIG_ESP_TASK_WDT_INIT is not set + CONFIG_ESP_INT_WDT=n + CONFIG_ESP_TASK_WDT_INIT=n CONFIG_ESP_IPC_TASK_STACK_SIZE=1024 -@@ -57,6 +46,8 @@ + CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM=16 + CONFIG_ESP_WIFI_NVS_ENABLED=n + CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1=y +-CONFIG_ESP_WIFI_GMAC_SUPPORT=n + CONFIG_FATFS_LFN_HEAP=y + CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=3 + CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1024 +@@ -54,14 +42,12 @@ + CONFIG_LWIP_TCP_MSS=1410 + CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5640 + CONFIG_LWIP_TCP_WND_DEFAULT=5640 +-CONFIG_LWIP_HOOK_IP6_INPUT_NONE=y CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=7800 CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=3700 CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK=y -+CONFIG_MBEDTLS_ECP_RESTARTABLE=y -+CONFIG_MBEDTLS_CMAC_C=y - # CONFIG_MBEDTLS_HARDWARE_MPI is not set + CONFIG_MBEDTLS_ECP_RESTARTABLE=y + CONFIG_MBEDTLS_HARDWARE_MPI=n CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y +-CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y CONFIG_MBEDTLS_POLY1305_C=y + CONFIG_MBEDTLS_CHACHA20_C=y + CONFIG_MBEDTLS_CHACHAPOLY_C=y