Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
8c19c18
move FMC driver into module directory
northernpaws Jan 25, 2026
2e13f9a
create initial SDRAM driver
northernpaws Jan 25, 2026
18ce017
SDRAM doc comments and `cargo fmt`
northernpaws Jan 25, 2026
4a77edf
add guard so SDRAM support is only enabled for `fmc_v1x3`, `fmc_v2x1`…
northernpaws Jan 25, 2026
8c44f7c
add handling for `fmc_v4` SDRAM register differences
northernpaws Jan 25, 2026
5ba8520
remove unused fields
northernpaws Jan 25, 2026
82b2b23
allow dead code for now for sdram bank handles
northernpaws Jan 25, 2026
834db2d
start porting NAND FMC driver
northernpaws Jan 29, 2026
46bdf43
replace `unwrap()`s with `Result`
northernpaws Jan 29, 2026
6df42f4
add SDRAM and NAND device definitions
northernpaws Jan 29, 2026
f32d0e8
make NAND interface compatible with `fmc_v1x3`
northernpaws Jan 29, 2026
958f215
`cargo fmt`
northernpaws Jan 29, 2026
6dd763b
fix NAND pointer to resolve correctly on non-`fmc_v1x3` peripherals
northernpaws Jan 29, 2026
36a8439
add missing NAND bank predicate
northernpaws Jan 29, 2026
a6168de
add missing qualifier for FMC bank pointer
northernpaws Jan 29, 2026
1a8b701
add missing doc comments and `cargo fmt`
northernpaws Jan 30, 2026
da1318c
remove leftover predicates from non-v1.3 FMC types
northernpaws Jan 30, 2026
c5b1d76
add module documentation
northernpaws Jan 30, 2026
a50528e
use new `Sdram` type in constructors, remove remaining outdated`stm32…
northernpaws Jan 30, 2026
ac489a2
rename `fmc.rs` example to reflect it's sole sdram functionality
northernpaws Jan 30, 2026
6ae4660
add dual SDRAM bank initializers
northernpaws Jan 30, 2026
6919a11
add comment to SDRAM constructor implementations
northernpaws Jan 30, 2026
bf0c866
start implementing NOR/PSRAM/SRAM driver
northernpaws Jan 30, 2026
62a431d
add `fmc_v1x3` predicates to SRAM driver
northernpaws Jan 30, 2026
8cbf8bf
add SRAM `fmc_v2x1` predicate for `cburstrw` register
northernpaws Jan 30, 2026
80f2c2f
rename `sram` module to `nor_sram` to reflect dual usage
northernpaws Jan 31, 2026
fc49f68
add `ili9341` as sample SRAM driver device
northernpaws Jan 31, 2026
57b5f3d
add `nor_sram` constructors to set pin alternate functions correctly
northernpaws Jan 31, 2026
0378dcb
fix `fmc_sram_init` comment
northernpaws Jan 31, 2026
63e0e6d
`cargo fmt`
northernpaws Jan 31, 2026
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
15 changes: 8 additions & 7 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
//"rust-analyzer.cargo.target": "thumbv8m.main-none-eabihf",
"rust-analyzer.cargo.features": [
// Comment out these features when working on the examples. Most example crates do not have any cargo features.
"stm32f107rb",
"time-driver-any",
"unstable-pac",
"exti",
"rt",
// "stm32h7s3l8",
// "time-driver-any",
// "unstable-pac",
// "exti",
// "rt",
],
"rust-analyzer.linkedProjects": [
"embassy-stm32/Cargo.toml",
// "embassy-stm32/Cargo.toml",
// To work on the examples, comment the line above and all of the cargo.features lines,
// then uncomment ONE line below to select the chip you want to work on.
// This makes rust-analyzer work on the example crate and all its dependencies.
Expand All @@ -51,11 +51,12 @@
// "examples/stm32f3/Cargo.toml",
// "examples/stm32f334/Cargo.toml",
// "examples/stm32f4/Cargo.toml",
// "examples/stm32f7/Cargo.toml",
"examples/stm32f7/Cargo.toml",
// "examples/stm32g0/Cargo.toml",
// "examples/stm32g4/Cargo.toml",
// "examples/stm32h5/Cargo.toml",
// "examples/stm32h7/Cargo.toml",
// "examples/stm32h7rs/Cargo.toml",
// "examples/stm32l0/Cargo.toml",
// "examples/stm32l1/Cargo.toml",
// "examples/stm32l4/Cargo.toml",
Expand Down
1 change: 0 additions & 1 deletion embassy-stm32/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ critical-section = "1.1"

vcell = "0.1.3"
nb = "1.0.0"
stm32-fmc = "0.4.0"
cfg-if = "1.0.0"
embedded-io = { version = "0.7.1" }
embedded-io-async = { version = "0.7.0" }
Expand Down
Loading