Skip to content

Commit aabb190

Browse files
committed
CI: Fix ESP32-P4 requiring ipv6/ipv4 data structures
The network bridge currently uses and requires the universal ipv4/ipv6 data structures to be available. Signed-off-by: Peter M <petermm@gmail.com>
1 parent 599ed7b commit aabb190

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

.github/workflows/esp32-simtest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
set -e
129129
export PATH=${PATH}:${HOME}/.cache/rebar3/bin
130130
. $IDF_PATH/export.sh
131-
idf.py -DSDKCONFIG_DEFAULTS='sdkconfig.ci.wokwi' set-target ${{matrix.esp-idf-target}}
131+
idf.py -DSDKCONFIG_DEFAULTS='${{matrix.esp-idf-target == 'esp32p4' && 'sdkconfig.ci.wokwi.esp32p4' || 'sdkconfig.ci.wokwi' }}' set-target ${{matrix.esp-idf-target}}
132132
idf.py build
133133
134134
- name: Configure Wokwi environment

src/platforms/esp32/sdkconfig.defaults.esp32p4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ CONFIG_SPIRAM=y
1111
# (default options for esp32-p4-function-ev-board)
1212
CONFIG_LWIP_PPP_VJ_HEADER_COMPRESSION=n
1313
CONFIG_SLAVE_IDF_TARGET_ESP32C6=y
14+
CONFIG_LWIP_IPV6=y
1415
CONFIG_WIFI_RMT_EXTRA_IRAM_OPT=n
1516
CONFIG_WIFI_RMT_SLP_IRAM_OPT=n
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CONFIG_PARTITION_TABLE_CUSTOM=y
2+
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
3+
CONFIG_ESP_INT_WDT_TIMEOUT_MS=10000
4+
CONFIG_AVM_RTC_SLOW_MAX_SIZE=1024
5+
CONFIG_ETH_USE_OPENETH=n
6+
CONFIG_COMPILER_OPTIMIZATION_PERF=y
7+
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y
8+
CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y
9+
CONFIG_LWIP_IPV6=y
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX-License-Identifier: Apache-2.0
2+
SPDX-FileCopyrightText: AtomVM Contributors

0 commit comments

Comments
 (0)