-
Notifications
You must be signed in to change notification settings - Fork 747
Add makepython-nrf52840 board, SSD1306 OLED driver, and SharedScreen SyscallDriver #3817
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
This is only blocked on #3829 now. |
fa279fd
to
cf6663d
Compare
This gives multiple processes access to separate regions of a screen.
This works now! |
boards/makepython-nrf52840/README.md
Outdated
MakePython nRF52840 | ||
=================== | ||
|
||
<img src="https://www.makerfabs.com/image/cache/makerfabs/MakePython%20nRF52840/MakePython%20nRF52840-1-1000x750.jpg" width="35%"> |
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.
This image link broke
boards/makepython-nrf52840/src/io.rs
Outdated
} | ||
} | ||
|
||
/// Default panic handler for the Nano 33 Board. |
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.
Hmmmm. Maybe just remove this altogether, or say "originally from" or something.
Two small things for @bradjc But after that it's good to go |
Updated |
Pull Request Overview
This pull request adds a nRF52840-based board that has an OLED monochromatic display. I implemented the SSD1306 driver to support the display. Otherwise the board is just a normal nRF52840.
This also adds a new screen SyscallDriver, called
ScreenShared
, which allows a board to partition a screen into multiple rectangles, and assign rectangles to specific apps. The assignments are persistent as they use AppID and not ProcessId.PXL_20240114_001943371.LS.mp4
This works by having the capsule configured with an
[AppScreenRegion]
which ties a rectangular frame to a ShortID.Testing Strategy
Well, see the video. Uses the u8g2 library in userspace.
TODO or Help Wanted
To merge as is we need some more AppID infrastructure which is/will be in other PRs.
Documentation Updated
/docs
, or no updates are required.Formatting
make prepush
.