-
Notifications
You must be signed in to change notification settings - Fork 1
Remove shell support #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
WalkthroughShell-based CLI was removed and replaced by a unified USB serial interface. application/src/main.rs was refactored to use Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Host
participant USBStack as "USB Device Stack"
participant USBSer as "USBSerialType\n(usb_serial)"
participant USBTask as usb_task
participant Console as console_monitor_task
participant USART as usart_task
rect rgb(235,245,255)
note over Host,USBSer: Unified USB serial path (shell removed)
Host->>USBStack: USB CDC data (host → device)
USBStack->>USBSer: RX bytes delivered
USBSer->>Console: Console reads/forwards host data
Console-->>USBSer: Device responses written
USBSer-->>USBStack: TX bytes (device → host)
USBStack-->>Host: USB CDC data
end
rect rgb(245,235,245)
note over USART,USBSer: DUT ↔ Host bridged via usb_serial
USART->>USBSer: DUT TX bytes (to host)
USBSer-->>USBStack: Forward to host
USBStack-->>Host: Deliver to host
Host->>USBStack: Host-to-device input
USBStack->>USBSer: Deliver to usb_serial
USBSer-->>USART: Optional forwarding to DUT
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
.github/workflows/build-firmware.yaml (1)
39-43: Fix trailing space in artifact name; tighten glob; add fail-fast/retention
- Trailing space in the artifact name (Line 41) will produce a confusing artifact name.
- The broad glob may upload unintended files; narrow to the expected .cab(s).
- Add if-no-files-found and retention for reliability.
Apply:
- name: Archive resulting application - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v4 with: - name: jumpstarter-main.cab - path: application/jumpstarter* + name: jumpstarter-main.cab + path: application/jumpstarter*.cab + if-no-files-found: error + retention-days: 30
🧹 Nitpick comments (1)
.github/workflows/build-firmware.yaml (1)
19-23: V4 upgrade LGTM; add fail-fast and retention for robustnessGood move to actions/upload-artifact@v4. Recommend making uploads fail if files are missing and setting explicit retention.
Apply:
- name: Archive resulting bootloader - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v4 with: name: jumpstarter-bootloader-dfu.bin path: bootloader/dfu-bootloader.bin + if-no-files-found: error + retention-days: 30
Summary by CodeRabbit
Refactor
Chores