-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update patches after 5.1 esp-idf roll. (#70)
- Loading branch information
Showing
14 changed files
with
387 additions
and
129 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
46 changes: 31 additions & 15 deletions
46
variants/esp32-eth-clk-out0-spiram/sdkconfig.defaults.patch
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 |
---|---|---|
@@ -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 |
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 |
---|---|---|
@@ -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 |
46 changes: 31 additions & 15 deletions
46
variants/esp32-eth-clk-out17-spiram/sdkconfig.defaults.patch
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 |
---|---|---|
@@ -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 |
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 |
---|---|---|
@@ -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 |
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 |
---|---|---|
@@ -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 |
Oops, something went wrong.