Skip to content

Remove liblgpio dependency#215

Open
mariusandra wants to merge 6 commits into
mainfrom
remove-liblgpio-nim-gpio
Open

Remove liblgpio dependency#215
mariusandra wants to merge 6 commits into
mainfrom
remove-liblgpio-nim-gpio

Conversation

@mariusandra
Copy link
Copy Markdown
Collaborator

Summary

  • replace the external liblgpio/librgpio dependency with the native Nim compatibility layer
  • remove lgpio prebuilt sysroot staging and Buildroot runtime library copying
  • update Waveshare, HyperPixel, cross-compile, deploy, and prebuilt dependency paths to stop linking against -llgpio
  • add README/test coverage for the native lgpio compatibility subset

Validation

  • cd backend && pytest app/drivers/tests/test_devices.py app/tasks/tests/test_buildroot_image.py app/tasks/tests/test_cross_compile.py app/tasks/tests/ test_deploy_agent.py app/tasks/tests/test_frame_deploy_workflow.py
  • cd frameos && nim c -r --path:src src/lib/tests/test_lgpio.nim

@mariusandra mariusandra force-pushed the remove-liblgpio-nim-gpio branch from 24fddd2 to b3e681e Compare May 31, 2026 11:30
FrameOS Bot and others added 2 commits May 31, 2026 11:35
# Conflicts:
#	backend/app/tasks/buildroot_image.py
#	backend/app/tasks/tests/test_buildroot_image.py
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-assets--default--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-assets--default--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-debug--default--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-debug--default--dark--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-debug--default--dark--mobile.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-debug--default--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-debug--default--light--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-debug--default--light--mobile.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-logs--default--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-logs--default--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-logs--filtered-render--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-logs--filtered-render--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-metrics--default--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-metrics--default--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-overview--default--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-overview--default--dark--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-overview--default--dark--mobile.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-overview--default--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-overview--default--light--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-overview--default--light--mobile.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-overview-route--default--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-overview-route--default--dark--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-overview-route--default--dark--mobile.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-overview-route--default--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-overview-route--default--light--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-overview-route--default--light--mobile.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-ping--default--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-ping--default--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-preview--default--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-preview--default--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-scenes--add-scene--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-scenes--add-scene--dark--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-scenes--add-scene--dark--mobile.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-scenes--add-scene--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-scenes--add-scene--light--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-scenes--add-scene--light--mobile.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-scenes--default--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-scenes--default--dark--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-scenes--default--dark--mobile.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-scenes--default--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-scenes--default--light--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-scenes--default--light--mobile.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-scenes--expanded-scene--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-scenes--expanded-scene--dark--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-scenes--expanded-scene--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-scenes--expanded-scene--light--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-schedule-route--default--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-schedule-route--default--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-settings--network--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-terminal--default--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frame-terminal--default--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--add-frame--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--add-frame--dark--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--add-frame--dark--mobile.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--add-frame--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--add-frame--light--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--add-frame--light--mobile.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--default--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--default--dark--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--default--dark--mobile.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--default--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--default--light--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--default--light--mobile.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--secondary-panel-closed--dark--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--secondary-panel-closed--dark--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--secondary-panel-closed--dark--mobile.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--secondary-panel-closed--light--full.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--secondary-panel-closed--light--mid.png
#	e2e/frontend-visual/snapshots/chromium/visual.spec.ts/frames-home--secondary-panel-closed--light--mobile.png
#	frameos/src/frameos/tests/test_portal.nim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant