Skip to content

Commit ee95b02

Browse files
committed
some more changes to hopefully stop a boot loop
1 parent 3c394f9 commit ee95b02

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

builder/esp32.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
scrub_build_folder
1717
)
1818

19-
IDF_VER = '5.4.0'
19+
IDF_VER = '5.4.2'
2020

2121

2222
def get_partition_file_name(otp):
@@ -158,7 +158,7 @@ def get_espidf():
158158
]
159159
]
160160
print()
161-
print(f'collecting ESP-IDF v5.4.0')
161+
print(f'collecting ESP-IDF v5.4.2')
162162
print('this might take a while...')
163163
result, _ = spawn(cmd, spinner=True)
164164
if result != 0:
@@ -943,7 +943,7 @@ def submodules():
943943
['./install.sh', 'all']
944944
]
945945

946-
print(f'setting up ESP-IDF v5.4.0')
946+
print(f'setting up ESP-IDF v5.4.2')
947947
print('this might take a while...')
948948
env = {k: v for k, v in os.environ.items()}
949949
env['IDF_PATH'] = os.path.abspath(idf_path)
@@ -1349,8 +1349,8 @@ def build_sdkconfig(*args):
13491349
'CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y'
13501350
]
13511351

1352-
if board == 'ESP32_GENERIC_S3':
1353-
base_config.insert(1, 'CONFIG_SPIRAM_XIP_FROM_PSRAM=y')
1352+
# if board == 'ESP32_GENERIC_S3':
1353+
# base_config.insert(1, 'CONFIG_SPIRAM_XIP_FROM_PSRAM=y')
13541354

13551355
if DEBUG:
13561356
base_config.extend([
@@ -1570,7 +1570,7 @@ def compile(*args): # NOQA
15701570

15711571
espressif_path = os.path.expanduser('~/.espressif')
15721572

1573-
for ver in ('3.8', '3.9', '3.10', '3.11', '3.12', '3.13'):
1573+
for ver in ('3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14'):
15741574
python_path = (
15751575
f'{espressif_path}/python_env/'
15761576
f'idf{IDF_VER[:-2]}_py{ver}_env/bin'

ext_mod/lcd_bus/esp32_include/i2c_bus.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
#include "lcd_types.h"
88

99
// esp-idf includes
10-
#include "esp_lcd_panel_io.h"
11-
#include "driver/i2c.h"
10+
// #include "esp_lcd_panel_io.h"
11+
// #include "driver/i2c.h"
1212

1313
// micropython includes
1414
#include "mphalport.h"
@@ -27,11 +27,12 @@
2727

2828
bool trans_done;
2929
bool rgb565_byte_swap;
30-
30+
/*
3131
lcd_panel_io_t panel_io_handle;
3232
esp_lcd_panel_io_i2c_config_t panel_io_config;
3333
i2c_port_t port;
3434
esp_lcd_i2c_bus_handle_t bus_handle;
35+
*/
3536

3637
} mp_lcd_i2c_bus_obj_t;
3738

ext_mod/micropython.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ if(ESP_PLATFORM)
44
include(${CMAKE_CURRENT_LIST_DIR}/esp32_components.cmake)
55
include(${CMAKE_CURRENT_LIST_DIR}/spi3wire/micropython.cmake)
66

7-
if(DEFINED ENV{LEDSTRIP})
8-
include(${CMAKE_CURRENT_LIST_DIR}/led_strip/micropython.cmake)
9-
endif()
7+
# if(DEFINED ENV{LEDSTRIP})
8+
# include(${CMAKE_CURRENT_LIST_DIR}/led_strip/micropython.cmake)
9+
# endif()
1010

1111

1212
if(DEFINED ENV{PY_FREERTOS})

0 commit comments

Comments
 (0)