This repository was archived by the owner on Feb 17, 2024. It is now read-only.
STM32F303 HAL made working; added SPI 3-way / half-duplex / bidi mode#30
Draft
marnix wants to merge 6 commits intoZigEmbeddedGroup:mainfrom
Draft
STM32F303 HAL made working; added SPI 3-way / half-duplex / bidi mode#30marnix wants to merge 6 commits intoZigEmbeddedGroup:mainfrom
marnix wants to merge 6 commits intoZigEmbeddedGroup:mainfrom
Conversation
Functional enhancement: - SPI now uses 3-wire / half-duplex / bidi mode if BIDIMODE==1 is set on the bus. (There is no HAL API way to ask for bidi mode yet.) HAL updates: - Tell build.zig that STM32F303 has a HAL. - Switch to new names for some Microzig parts. - A few changes to match recent Zig language changes. - Adopt small changes in regz-generated register descriptions. And also: - A few comment clarifications. - Updated debug statements and comments for consistency.
This is to match the latest microzig 2873e9e0 after ZigEmbeddedGroup/microzig#151.
Author
|
I've set this to 'draft' again, until #31 has been merged to main. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See the commit texts for details.
Things I'd like to look at in the future:
Please note that I've tested this only with one piece of UART/SPI/I2C code (marnix/zig-stm32f3discovery-play#31). I've tested this with Zig 0.11.0 and currently-latest ZigEmbeddedGroup/microzig 2873e9e0 + ZigEmbeddedGroup/microzig#153 + ZigEmbeddedGroup/microzig#152, and I didn't find any issues...