Skip to content

Commit 0416ac9

Browse files
committed
should correct issue with submodules not being correct
1 parent 4c62391 commit 0416ac9

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

builder/__init__.py

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -319,13 +319,8 @@ def generate_manifest(
319319

320320
def get_lvgl():
321321
cmd_ = [
322-
'git',
323-
'submodule',
324-
'update',
325-
'--init',
326-
'--depth=1',
327-
'--',
328-
f'lib/lvgl'
322+
['git submodule update --init --depth=1 -- lib/lvgl'],
323+
['git -C lib/lvgl checkout -b release/v9.1']
329324
]
330325
print()
331326
print('collecting LVGL')
@@ -338,13 +333,8 @@ def get_lvgl():
338333
def get_micropython():
339334

340335
cmd_ = [
341-
'git',
342-
'submodule',
343-
'update',
344-
'--init',
345-
'--depth=1',
346-
'--',
347-
f'lib/micropython'
336+
['git submodule updatem --init --depth=1 -- lib/micropython'],
337+
['git -C lib/micropython checkout v1.23.0']
348338
]
349339
print()
350340
print('collecting MicroPython 1.23.0')

0 commit comments

Comments
 (0)