From f20bff88b1ac0f5a4008e3c34865df42e9be12ac Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 24 Jun 2024 13:01:07 +0200 Subject: [PATCH 1/6] c2 build --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index cef559e19..ddf74c034 100755 --- a/build.sh +++ b/build.sh @@ -10,7 +10,7 @@ if ! [ -x "$(command -v git)" ]; then exit 1 fi -export TARGET="all" +export TARGET="esp32c2" BUILD_TYPE="all" SKIP_ENV=0 COPY_OUT=0 From 937f8713b0b9345f886766a254711bb93b2240cb Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 24 Jun 2024 13:06:31 +0200 Subject: [PATCH 2/6] Disable Ethernet support for C2 --- configs/defconfig.esp32c2 | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/configs/defconfig.esp32c2 b/configs/defconfig.esp32c2 index 1c766f832..2b21fb926 100644 --- a/configs/defconfig.esp32c2 +++ b/configs/defconfig.esp32c2 @@ -23,10 +23,22 @@ CONFIG_RTC_CLK_CAL_CYCLES=576 # CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0 is not set CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2304 +# +# Disable Ethernet +# +# CONFIG_ETH_ENABLED is not set +# CONFIG_ETH_USE_ESP32_EMAC is not set +# CONFIG_ETH_PHY_INTERFACE_RMII is not set +# CONFIG_ETH_USE_SPI_ETHERNET is not set +# CONFIG_ETH_TRANSMIT_MUTEX is not sett +# CONFIG_ETH_SPI_ETHERNET_DM9051 is not set +# CONFIG_ETH_SPI_ETHERNET_W5500 is not set +# CONFIG_ETH_SPI_ETHERNET_KSZ8851SNL is not set + # # PPP # -# CONFIG_LWIP_PPP_SUPPORT=y -# CONFIG_LWIP_PPP_NOTIFY_PHASE_SUPPORT=y -# CONFIG_LWIP_PPP_PAP_SUPPORT=y -# CONFIG_LWIP_PPP_ENABLE_IPV6=n +# CONFIG_LWIP_PPP_SUPPORT is not set +# CONFIG_LWIP_PPP_NOTIFY_PHASE_SUPPORT is not set +# CONFIG_LWIP_PPP_PAP_SUPPORT is not set +# CONFIG_LWIP_PPP_ENABLE_IPV6 is not set From 268a0e38669b362c76b7108734e9294e88c04a7d Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:08:06 +0200 Subject: [PATCH 3/6] Update build.sh --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index ddf74c034..cef559e19 100755 --- a/build.sh +++ b/build.sh @@ -10,7 +10,7 @@ if ! [ -x "$(command -v git)" ]; then exit 1 fi -export TARGET="esp32c2" +export TARGET="all" BUILD_TYPE="all" SKIP_ENV=0 COPY_OUT=0 From 80e42c542e70cb9a0b5a832f970c934fd890ce00 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:21:22 +0200 Subject: [PATCH 4/6] Update defconfig.esp32c2 --- configs/defconfig.esp32c2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/defconfig.esp32c2 b/configs/defconfig.esp32c2 index 2b21fb926..6517ecba1 100644 --- a/configs/defconfig.esp32c2 +++ b/configs/defconfig.esp32c2 @@ -30,13 +30,13 @@ CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2304 # CONFIG_ETH_USE_ESP32_EMAC is not set # CONFIG_ETH_PHY_INTERFACE_RMII is not set # CONFIG_ETH_USE_SPI_ETHERNET is not set -# CONFIG_ETH_TRANSMIT_MUTEX is not sett +# CONFIG_ETH_TRANSMIT_MUTEX is not set # CONFIG_ETH_SPI_ETHERNET_DM9051 is not set # CONFIG_ETH_SPI_ETHERNET_W5500 is not set # CONFIG_ETH_SPI_ETHERNET_KSZ8851SNL is not set # -# PPP +# Disable PPP # # CONFIG_LWIP_PPP_SUPPORT is not set # CONFIG_LWIP_PPP_NOTIFY_PHASE_SUPPORT is not set From dcff99261a2f7ed3d3e226fe0ff006341a7ed16d Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:23:34 +0200 Subject: [PATCH 5/6] Update defconfig.esp32c3 --- configs/defconfig.esp32c3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/defconfig.esp32c3 b/configs/defconfig.esp32c3 index 5239db0dc..607e53e86 100644 --- a/configs/defconfig.esp32c3 +++ b/configs/defconfig.esp32c3 @@ -46,7 +46,7 @@ CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2304 # # PPP # -# CONFIG_LWIP_PPP_SUPPORT=y -# CONFIG_LWIP_PPP_NOTIFY_PHASE_SUPPORT=y -# CONFIG_LWIP_PPP_PAP_SUPPORT=y -# CONFIG_LWIP_PPP_ENABLE_IPV6=n +# CONFIG_LWIP_PPP_SUPPORT is not set +# CONFIG_LWIP_PPP_NOTIFY_PHASE_SUPPORT is not set +# CONFIG_LWIP_PPP_PAP_SUPPORT is not set +# CONFIG_LWIP_PPP_ENABLE_IPV6 is not set From 8824d90f3193998e2cd219ba8bb289c8c2f328bf Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:24:39 +0200 Subject: [PATCH 6/6] Update defconfig.esp32c6 --- configs/defconfig.esp32c6 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/defconfig.esp32c6 b/configs/defconfig.esp32c6 index 5dd6878c8..68ddf8a67 100644 --- a/configs/defconfig.esp32c6 +++ b/configs/defconfig.esp32c6 @@ -56,7 +56,7 @@ CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2304 # # PPP # -# CONFIG_LWIP_PPP_SUPPORT=y -# CONFIG_LWIP_PPP_NOTIFY_PHASE_SUPPORT=y -# CONFIG_LWIP_PPP_PAP_SUPPORT=y -# CONFIG_LWIP_PPP_ENABLE_IPV6=n +# CONFIG_LWIP_PPP_SUPPORT is not set +# CONFIG_LWIP_PPP_NOTIFY_PHASE_SUPPORT is not set +# CONFIG_LWIP_PPP_PAP_SUPPORT is not set +# CONFIG_LWIP_PPP_ENABLE_IPV6 is not set