Correct Luckfox Pico Pi (FOX_PI) display/button mapping to blue GPIO labels#308
Merged
3rdIteration merged 1 commit intoluckfox-staging-portabilityfrom Feb 23, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
io_config.json,docs/io_config.md, and unit tests consistent per the repo IO config guidance.Description
src/seedsigner/hardware/io_config.jsonforFOX_PIso display control lines aredc/rst/bl = [59]/[56]/[70]and button mappings areKEY_UP [121,"pull_up"],KEY_DOWN [1,"pull_up"],KEY_LEFT [122,"pull_up"],KEY_RIGHT [0,"pull_up"],KEY_PRESS [52,"pull_up"],KEY1 [145,"pull_up"],KEY2 [123,"pull_up"],KEY3 [55,"pull_up"]to match the blue GPIO labels from the 40-pin diagrams.FOX_22andFOX_40entries use blue-board GPIO numbering with pull-up where appropriate.docs/io_config.mdandtests/test_io_config_profiles.pyto reflect the correctedFOX_PI(and theFOX_22/FOX_40) mappings so documentation and tests remain in sync with runtime config.Testing
python -m json.tool src/seedsigner/hardware/io_config.json, which completed successfully.pytest -q tests/test_io_config_profiles.py tests/test_luckfox_camera_backend.py, which passed (15 passed).Codex Task