-
Notifications
You must be signed in to change notification settings - Fork 107
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
Integrates driver framework #246
Merged
Merged
Conversation
This file contains 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
… fixes some details in rotary-encoder and debounced-button
mattnite
requested changes
Oct 7, 2024
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.
Looks good, just some cleanup needed.
Did a pretty extensive clean-up, changed the pattern a bit to use comptime options structs, which are more flexible, more uniform and also more convenient in the end. Also applied more 🐍 to the code |
…icrozig).drivers' so it's exposed in the framework by default.
…r modes at runtime
nosuz
pushed a commit
to nosuz/microzig
that referenced
this pull request
Nov 15, 2024
* Initial commit * Initial commit: Keyboard and SSD1306 driver and some basic project structure. * Introduces StreamDevice and DatagramDevice for the framework as a reference type * Introduces DigitalIO as a base driver and ports KeyboardMatrix to it. * Starts implementing the ST77xx driver * Adjusts to ZEG coding guidelines * Updates README.md * Adds some minor fixes. * Update to 0.13.0 * Updates DigitalIO to make .read() may error (think: port expanders!), fixes some details in rotary-encoder and debounced-button * Adds a framebuffer type for the SSD1306 * Fixes some bugs in the SSD1306 driver, enables quicker image transfer. * Removes pre-merge cruft * Adds missing build.zig * Applies style guides more thoroughly * Deletes empty driver files * Refactors Keyboard_Matrix * Refactors Debounced_Button * Refactors Rotary_Encoder * Renames ./driver to ./drivers, adds the drivers package to '@import(microzig).drivers' so it's exposed in the framework by default. * Adds README to ./drivers * Adds missing build.zig.zon to driver framework. * Renames project to work around bug in boxzer * Ports SSD1306 and Datagram_Device to use/provide writev/readv functions * Prepares SSD1306 to be used with 4-wire SPI * Updates Stream_Device to provide writev/readv * Adds a unit test for the Datagram_Device.Test_Device * Implements Stream_Device.Test_Device with a unit test to ensure proper function. * Enables SSD1306 with 4-wire SPI mode. * Starts to implement device drivers for RP2 HAL * Adds rp2.hal.GPIO_Device as a Digital_IO driver * Introduces the SSD1306 dynamic mode support, which can serve all other modes at runtime * Drops accidential file clone * Attempts to fix boxzer CI failure --------- Co-authored-by: Felix (xq) Queißner <[email protected]>
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.
No description provided.