Repository navigation
Portable AVR Control Studio for Arduino Uno - #2
Merged
Merged
Conversation
Owner
Author
|
Codex follow-up task — metadata-only update. The code and CI checks are acceptable. Do not change firmware, GUI, workflow, or docs in this task. Please only update PR metadata so it matches the current state. Required changes:
### Testing
- PASS: GitHub Actions `Python syntax and parser smoke` completed successfully.
- PASS: `python -m py_compile gui/portable_avr_control_studio.py` completed successfully in CI.
- PASS: Parser smoke tests for `OK`, `ERR`, `CONFIG`, `STATUS`, `DATA`, and malformed input completed successfully in CI.
- PASS: GitHub Actions `Arduino AVR Uno compile` completed successfully.
- PASS: `arduino-cli compile --fqbn arduino:avr:uno firmware/PortableAVRControlStudio` completed successfully in CI.
No physical hardware testing has been claimed. Final validation still requires the actual Arduino Uno board, connected sensor circuit, relay/buzzer wiring, power setup, and any customer-specific hardware.
Acceptance criteria:
|
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
Configformat with magic/version validation, factory defaults, and conservative I/O validation so GUI-driven settings can be applied and persisted safely.Description
firmware/PortableAVRControlStudio/PortableAVRControlStudio.inoimplementing an EEPROM-backedConfigstruct with magic/version validation, factory defaults, fixed-size serial parsing withoutString, validatedSETsemantics,SAVE_CONFIG/LOAD_CONFIG/FACTORY_RESET, and relay/buzzer control and status reporting viaOK/ERR/CONFIG/STATUS/DATAresponses.gui/portable_avr_control_studio.pybranded as "Portable AVR Control Studio" with tabs forConnection,Firmware,Settings,Live Monitor,Hardware Profiles,Diagnostics,Logs, andAbout / Handoff, plus robust serial parsing, demo transport, pyserial-backed transport, settings send/save/reset controls, and a prepared.hexupload placeholder.docs/PROTOCOL.md,docs/PACKAGING.md,docs/ARDUINO_CLI.md, and a bundled hardware profiledocs/profiles/generic_uno_nano_avr.jsonto document the ASCII protocol, compile/packaging checks, and profile-driven hardware guidance.README.mdupdate describing the new architecture and smoke checks, and a.gitignoreto exclude Python bytecode and packaging build artifacts.Testing
python -m py_compile gui/portable_avr_control_studio.pysucceeded as a Python syntax/smoke check.from gui.portable_avr_control_studio import parse_serial_linewere executed and validatedOK/ERR/CONFIG/STATUS/DATA/malformed cases as expected.arduino-cli compile --fqbn arduino:avr:uno firmware/PortableAVRControlStudiocould not be executed becausearduino-cliis not available in this environment.arduino-cliin the environment failed due to the download endpoint returning HTTP 403, so AVR compile checks must be run in an environment witharduino-cliand thearduino:avrcore installed before un-drafting.Codex Task