Skip to content
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

one to rule them all #627

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
[target.thumbv6m-none-eabi]
rustflags = [
"-C", "link-arg=-Tlink.x",
"-C", "link-arg=-Tdefmt.x",
]

[target.thumbv7m-none-eabi]
rustflags = [
"-C", "link-arg=-Tlink.x",
"-C", "link-arg=-Tdefmt.x",
]

[target.thumbv7em-none-eabi]
rustflags = [
"-C", "link-arg=-Tlink.x",
"-C", "link-arg=-Tdefmt.x",
]

[target.thumbv7em-none-eabihf]
runner = 'probe-rs run --chip STM32F411CEUx'
rustflags = [
Expand All @@ -10,6 +28,12 @@ rustflags = [
#"-C", "link-arg=--nmagic",
]

[target.thumbv8m.main-none-eabihf]
rustflags = [
"-C", "link-arg=-Tlink.x",
"-C", "link-arg=-Tdefmt.x",
]

[build]
target = "thumbv7em-none-eabihf"

Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ jobs:
- stm32f446
- stm32f469
- stm32f479
- stm32f722
- stm32f723
- stm32f730
- stm32f745
- stm32f746
- stm32f765
- stm32f767
- stm32f769

rust:
- stable
features:
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"rust-analyzer.check.allTargets": false,
"rust-analyzer.check.targets": "thumbv7em-none-eabihf",
"rust-analyzer.cargo.features": ["defmt", "rtic1", "stm32f411"]
"rust-analyzer.cargo.features": ["defmt", "rtic1", "stm32f746"]
}
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Added

- I2C 10-bit address support for I2c [#772] [#783]
- FMPI2c APB timings [#770]
- `i2c_scanner` example [#758]
- Enable `sdio` for stm32f446
- port LTDC implementation and example from stm32f7xx-hal [#731]
Expand All @@ -23,6 +24,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Use `stm32f4-staging` until `stm32f4` is released [#706]
- use GPIO pac fields instead of raw write
- RTIC2 monotonics fix: CC1 instead of CC3
- Fefactor FMPI2c `embedded-hal` implementations
- Allow different lengths of buffers in hal_1 SpiBus impl [#566]
- Clean SPI write impls
- move `ptr()` to `Ptr` trait [#773]
Expand All @@ -34,6 +36,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
[#725]: https://github.com/stm32-rs/stm32f4xx-hal/pull/725
[#731]: https://github.com/stm32-rs/stm32f4xx-hal/pull/731
[#758]: https://github.com/stm32-rs/stm32f4xx-hal/pull/758
[#770]: https://github.com/stm32-rs/stm32f4xx-hal/pull/770
[#772]: https://github.com/stm32-rs/stm32f4xx-hal/pull/772
[#773]: https://github.com/stm32-rs/stm32f4xx-hal/pull/773
[#783]: https://github.com/stm32-rs/stm32f4xx-hal/pull/783
Expand Down
Loading
Loading