Skip to content

Commit d7f69f3

Browse files
committed
Hopefully fixed P4 wifi builds
1 parent 7ca0a9f commit d7f69f3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

builder/esp32.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,9 +1123,14 @@ def update_mpconfigboard():
11231123
if custom_board_path is not None:
11241124
return
11251125

1126+
if board == 'ESP32_GENERIC_P4' and board_variant:
1127+
filename = f'mpconfigvariant_{board_variant}.cmake'
1128+
else:
1129+
filename = 'mpconfigboard.cmake'
1130+
11261131
mpconfigboard_cmake_path = (
11271132
'lib/micropython/ports/esp32/boards/'
1128-
f'{board}/mpconfigboard.cmake'
1133+
f'{board}/{filename}'
11291134
)
11301135

11311136
data = read_file('esp32', mpconfigboard_cmake_path)

0 commit comments

Comments
 (0)