File tree Expand file tree Collapse file tree 4 files changed +23
-13
lines changed
ext_mod/lcd_bus/esp32_src Expand file tree Collapse file tree 4 files changed +23
-13
lines changed Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ def get_micropython():
337337 'git submodule update --init --depth=1 -- lib/micropython' ,
338338 ]
339339 print ()
340- print ('collecting MicroPython 1.23.0 ' )
340+ print ('collecting MicroPython 1.24.1 ' )
341341 result , _ = spawn (cmd_ , spinner = True )
342342 if result != 0 :
343343 sys .exit (result )
@@ -346,17 +346,12 @@ def get_micropython():
346346 with open (mkrules_path , 'rb' ) as f :
347347 data = f .read ().decode ('utf-8' )
348348
349- pattern = (
350- '$(Q)git submodule update --init '
351- '$(addprefix $(TOP)/,$(GIT_SUBMODULES))'
352- )
349+ pattern = '$(Q)cd $(TOP) && git submodule update --init $(GIT_SUBMODULES)'
350+
353351 if pattern in data :
354352 data = data .replace (
355353 pattern ,
356- (
357- '$(Q)git submodule update --init --depth=1 '
358- '$(addprefix $(TOP)/,$(GIT_SUBMODULES))'
359- )
354+ '$(Q)cd $(TOP) && git submodule update --init --depth=1 $(GIT_SUBMODULES)'
360355 )
361356 with open (mkrules_path , 'wb' ) as f :
362357 f .write (data .encode ('utf-8' ))
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ def get_espidf():
155155 ]
156156 ]
157157 print ()
158- print (f'collecting ESP-IDF v { IDF_VER } ' )
158+ print (f'collecting ESP-IDF v5.2.3 ' )
159159 print ('this might take a while...' )
160160 result , _ = spawn (cmd , spinner = True )
161161 if result != 0 :
@@ -883,7 +883,7 @@ def submodules():
883883 ['./install.sh' , 'all' ]
884884 ]
885885
886- print (f'setting up ESP-IDF v { IDF_VER } ' )
886+ print (f'setting up ESP-IDF v5.2.3 ' )
887887 print ('this might take a while...' )
888888 env = {k : v for k , v in os .environ .items ()}
889889 env ['IDF_PATH' ] = os .path .abspath (idf_path )
@@ -898,7 +898,22 @@ def submodules():
898898 berkeley_db = os .path .abspath ('lib/micropython/lib/berkeley-db-1.xx/README' )
899899
900900 if not os .path .exists (berkeley_db ) or not os .path .exists (wifi_lib ):
901- cmds .append (submodules_cmd )
901+ cmds .append (['cd lib/micropython' ])
902+ for dep in (
903+ 'tinyusb' ,
904+ 'micropython-lib' ,
905+ 'protobuf-c' ,
906+ 'wiznet5k' ,
907+ 'lwip' ,
908+ 'mbedtls' ,
909+ 'axtls' ,
910+ 'berkeley-db-1.xx' ,
911+ 'btstack'
912+ ):
913+ path = f"lib/{ dep } "
914+
915+ cmds .append ([f'git submodule sync { path } ' ])
916+ cmds .append ([f'git submodule update --init --depth=1 { path } ' ])
902917
903918 return_code , _ = spawn (cmds , env = env )
904919 if return_code != 0 :
Original file line number Diff line number Diff line change 55 #include "py/obj.h"
66 #include "py/runtime.h"
77 #include "py/gc.h"
8+ #include "py/stackctrl.h"
89
910 #include "freertos/FreeRTOS.h"
1011 #include "freertos/task.h"
Original file line number Diff line number Diff line change 137137
138138
139139def get_submodules ():
140-
141140 if not os .path .exists (
142141 os .path .join (SCRIPT_DIR , 'lib/micropython/mpy-cross' )
143142 ):
You can’t perform that action at this time.
0 commit comments