You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If it exists, the `stm32f4xx-hal` crate should be already included, so you can
78
77
use the bsp as BSP for your project.
79
78
79
+
### Manually
80
+
80
81
Otherwise, create a new Rust project as you usually do with `cargo init`. The
81
82
"hello world" of embedded development is usually to blink a LED. The code to do
82
83
so is available in [examples/delay-syst-blinky.rs](examples/delay-syst-blinky.rs).
@@ -103,6 +104,14 @@ We also need to tell Rust how to link our executable and how to lay out the
103
104
result in memory. To accomplish all this, copy [.cargo/config](.cargo/config.toml)
104
105
and [memory.x](memory.x) from the `stm32f4xx-hal` repository to your project and make sure the sizes match up with the datasheet. Also note that there might be different kinds of memory which are not equal; to be on the safe side only specify the size of the first block at the specified address.
105
106
107
+
### Fast start
108
+
109
+
To create empty project faster you could use `cargo generate` command. See [stm32-template](https://github.com/burrbull/stm32-template/).
0 commit comments