@@ -101,7 +101,9 @@ If the board you're developing for uses the nucleo pinout (PG11 and PG13 instead
101
101
### Building examples
102
102
To build an example, run the following command:
103
103
``` bash
104
- cargo build --release --example < example> --features < MCU feature> ,< additional required features> --target < MCU compilation target>
104
+ cargo build --release --example < example> \
105
+ --features < MCU feature> ,< additional required features> \
106
+ --target < MCU compilation target>
105
107
```
106
108
107
109
For example, if we wish to build the ` ip ` example for an ` stm32f429 ` , we should run the following command:
@@ -138,7 +140,8 @@ cargo run --release --example <example> \
138
140
For example, if we wish to run the ` rtic-echo ` example on an ` STM32F107RCT6 ` , we should run the following command:
139
141
140
142
``` bash
141
- DEFMT_LOG=info PROBE_RUN_CHIP=STM32F107RC cargo run --release --example rtic-echo \
143
+ DEFMT_LOG=info PROBE_RUN_CHIP=STM32F107RC \
144
+ cargo run --release --example rtic-echo \
142
145
--features stm32f107,smoltcp-phy \
143
146
--target thumbv7m-none-eabi
144
147
```
@@ -147,7 +150,7 @@ Or, if we want to run the `arp` example on a Nucleo-F767ZI with a HSE oscillator
147
150
148
151
``` bash
149
152
DEFMT_LOG=info PROBE_RUN_CHIP=STM32F767ZGTx \
150
- STM32_ETH_EXAMPLE_PINS=nucleo STM32_ETH_EXAMPLE_HSE=oscillator \
153
+ STM32_ETH_EXAMPLE_PINS=nucleo STM32_ETH_EXAMPLE_HSE=oscillator \
151
154
cargo run --release --example arp \
152
155
--features stm32f767 \
153
156
--target thumbv7em-none-eabihf
0 commit comments