-
Notifications
You must be signed in to change notification settings - Fork 1
Initial V5a Working Reference #3
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
Conversation
We have to use the experimental firmware
Fixed linter errors from Max's original library.
Seems to be stable now!
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.
Pull Request Overview
This PR introduces initial support for the new V5a Flight Controller Board by updating board stubs, garbage collector typings, and boot/repl/main scripts to facilitate development and hardware testing.
- Added new type stubs for gc and board modules
- Updated initialization code in repl.py and main.py for new hardware components
- Adjusted project metadata in pyproject.toml to reflect the V5a release
Reviewed Changes
Copilot reviewed 6 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| typings/gc.pyi | Added full gc module stubs for MicroPython |
| typings/board.pyi | Introduced board pin definitions for the V5a board |
| repl.py | Expanded boot and hardware initialization routines |
| pyproject.toml | Updated project metadata and dependency settings |
| main.py | Revised SPI/I2C and radio initialization for V5a testing |
Files not reviewed (3)
- Makefile: Language not supported
- lib/requirements.txt: Language not supported
- sonar-project.properties: Language not supported
Comments suppressed due to low confidence (1)
typings/board.pyi:34
- Duplicate declaration of 'SPI0_MOSI' detected. Verify if this is intentional or if one of the declarations should be renamed to reflect the correct pin assignment.
SPI0_MOSI: microcontroller.Pin # GPIO11
Co-authored-by: Copilot <[email protected]>
Fixed Pin Names
…rcuitPython_RP2350_v5a into v5a-reference-devel
…hon_RP2350_v5a into v5a-reference-devel
Removed unused pin inits
|
I'm just going to shotgun this PR onto main so there is some initial working reference for users of the V5a! |
Summary
This is a first cut at bringing up all of the basic functionalities of the new V5a Flight Controller Board. All import errors and other weird showstoppers have been fixed and
main.pywill run as normal when you use this code on the new FC board.Because we will still need to do some extensive updates to the
pysquaredlibrary to add all of the manager components needed to run the new functionalities (see this PR for a list of them) I have temporarily just implemented most of the new functionalities inreply.pyso they can be called as desired for testing.How was this tested
Current Typical
main.pyOutputmain.py Output
Current Typical
reply.pyOutput