Skip to content

Commit b922973

Browse files
committed
esp32/boards/ESP32_GENERIC_P4: Enable networking on base variant.
Ethernet seems like it's supported. Signed-off-by: Damien George <[email protected]>
1 parent 02ef806 commit b922973

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

ports/esp32/boards/ESP32_GENERIC_P4/mpconfigboard.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@
2222

2323
#define MICROPY_PY_MACHINE_I2S (1)
2424

25-
// Disable all networking, Wi-Fi and Bluetooth by default, these are re-enabled in the WIFI variants
26-
// (note the ESP32-P4 also has an ethernet MAC, not currently supported in MicroPython)
27-
#ifndef MICROPY_PY_NETWORK
28-
#define MICROPY_PY_NETWORK (0)
29-
#endif
25+
// Disable Wi-Fi and Bluetooth by default, these are re-enabled in the WIFI variants
3026
#ifndef MICROPY_PY_NETWORK_WLAN
3127
#define MICROPY_PY_NETWORK_WLAN (0)
3228
#endif

ports/esp32/boards/ESP32_GENERIC_P4/mpconfigvariant_C5_WIFI.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ set(SDKCONFIG_DEFAULTS
99

1010
list(APPEND MICROPY_DEF_BOARD
1111
MICROPY_HW_BOARD_NAME="Generic ESP32P4 module with WIFI module of external ESP32C5"
12-
MICROPY_PY_NETWORK=1
1312
MICROPY_PY_NETWORK_WLAN=1
1413
MICROPY_PY_BLUETOOTH=1
1514
)

ports/esp32/boards/ESP32_GENERIC_P4/mpconfigvariant_C6_WIFI.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ set(SDKCONFIG_DEFAULTS
99

1010
list(APPEND MICROPY_DEF_BOARD
1111
MICROPY_HW_BOARD_NAME="Generic ESP32P4 module with WIFI module of external ESP32C6"
12-
MICROPY_PY_NETWORK=1
1312
MICROPY_PY_NETWORK_WLAN=1
1413
MICROPY_PY_BLUETOOTH=1
1514
)

0 commit comments

Comments
 (0)