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
Note that in the above table, the UART signals are wired as _Data Terminal Equipment (DTE)_ (i.e. like a PC, not like a Modem). Connect the NMBC *UART Transmit Output* pin to the *Input* pin of something like an FTDI TTL-232R-3V3 cable.
43
+
Note that in the above table, the UART signals are wired as *Data Terminal Equipment (DTE)* (i.e. like a PC, not like a Modem). Connect the NMBC *UART Transmit Output* pin to the *Input* pin of something like an FTDI TTL-232R-3V3 cable.
45
44
46
45
This design should also be pin-compatible with the following SoCs (although this firmware may need changes):
47
46
@@ -63,28 +62,33 @@ The SPI interface runs in SPI mode 0 (clock line idles low, data sampled on risi
63
62
## Build Requirements
64
63
65
64
1.`rustup` and Rust
66
-
- see https://www.rust-lang.org
65
+
* see https://www.rust-lang.org
67
66
2. The `thumbv6m-none-eabi` target
68
-
- run `rustup target add thumbv6m-none-eabi`
67
+
* run `rustup target add thumbv6m-none-eabi`
69
68
3.`probe-run`
70
-
- run `cargo install probe-run`
69
+
* run `cargo install probe-run`
71
70
4.`flip-link`
72
-
- run `cargo install flip-link`
71
+
* run `cargo install flip-link`
73
72
74
73
Then to build and flash for an STM32F031K6T6, connect a probe supported by probe-rs (such as a SEGGER J-Link, or an ST-Link) and run:
75
74
76
-
```
77
-
$ DEFMT_LOG=info cargo run --release
75
+
```console
76
+
DEFMT_LOG=info cargo run --release
78
77
```
79
78
80
79
You should see logging messages from the board on your terminal. To increase the logging level, try:
81
80
82
81
Then to build and flash, connect a probe supported by probe-rs (such as a SEGGER J-Link, or an ST-Link) and run:
83
82
84
-
```
85
-
$ DEFMT_LOG=debug cargo run --release
83
+
```console
84
+
DEFMT_LOG=debug cargo run --release
86
85
```
87
86
88
87
## Licence
89
88
90
-
This source code as a whole is licensed under the GPL v3. Third-party crates are covered by their respective licences.
89
+
This crate as a whole is licenced under the GNU Public Licence version 3. See:
0 commit comments