-
Notifications
You must be signed in to change notification settings - Fork 60
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
Support for the STM32L0x0 subfamily #146
Draft
jglauche
wants to merge
19
commits into
stm32-rs:master
Choose a base branch
from
jglauche:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
4ef5590
hack out features that don't exists in l0x0 variants
jglauche fface70
add l0x0 to Cargo.toml
jglauche 87cfaf1
fix tab
jglauche 8105d90
fix tab
jglauche 55fce3b
fix tab
jglauche d419425
fix tab
jglauche db94619
add unsafe to dma writes for nightly rust
jglauche 230f99c
make pwm example work for l0x0
jglauche d2ca540
fix SPI pin setup for l0x0
jglauche 67cc695
fix l0x0 support for serial when using io-STM32L051
jglauche 9325d5e
l0x0 has serial dma feature
jglauche 785197b
make set_alt_mode public
jglauche da2b070
fix l0x0 i2c pin layout
jglauche 480c488
enable dma for i2c on l0x0
jglauche 2fec383
make rcc config fields public to make PLL setup with prescaler possible
jglauche 9386d31
merge serial.rs with origin
jglauche 1ae9c7b
partially merge gpio and rcc from the F3 hal crate to enable gpio clo…
jglauche f6426c0
expose fields in serial struct to public
jglauche 9ae6f98
revert Cargo.toml
jglauche File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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.
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.
is there any reason not to make this public? I looked at other hal crates, they made this a private function, but referenced all the pin modes as function
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.
I don't see a reason, but I'm not very familiar with that code. I also don't know why the
#[allow(dead_code)]
is here and onAltMode
itself. Seems all very weird.