Skip to content

Commit

Permalink
fix(ci): Remove lvgl dependency from noglib version
Browse files Browse the repository at this point in the history
  • Loading branch information
tore-espressif committed Feb 14, 2024
1 parent f80e783 commit 897f598
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/ci/bsp_noglib.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,16 @@ def remove_esp_lvgl_port(bsp_name):
manager = ManifestManager(bsp_path, 'bsp')
try:
del manager.manifest_tree["dependencies"]["espressif/esp_lvgl_port"]
manager.manifest_tree["description"] = manager.manifest_tree["description"] + ' with no graphical library'
manager.dump()
return 0
except KeyError:
print("{}: could not remove esp_lvgl_port".format(bsp_name))
return 1
try:
del manager.manifest_tree["dependencies"]["lvgl/lvgl"]
except KeyError:
print("{}: no lvgl dependency found".format(bsp_name))
manager.manifest_tree["description"] = manager.manifest_tree["description"] + ' with no graphical library'
manager.dump()
return 0


def add_notice_to_readme(bsp_name):
Expand Down

0 comments on commit 897f598

Please sign in to comment.