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
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ Use feature-flag `smoltcp-phy`
88
88
89
89
## Examples
90
90
91
-
The examples should run and compile on any MCU that has an 802.3 compatible PHY connected to the default RMII pins.
91
+
The examples should run and compile on any MCU that has an 802.3 compatible PHY capable of generating the required 50 MHz clock signal connected to the default RMII pins.
92
92
93
93
The examples use `defmt` and `defmt_rtt` for logging, and `panic_probe` over `defmt_rtt` for printing panic backtraces.
94
94
@@ -97,11 +97,11 @@ To run or build them, the following steps should be taken:
97
97
1. Determine the correct compilation target for the MCU that you're using. For `stm32f107`, it is `thumbv7m-none-eabi`. For all others, it is `thumbv7em-none-eabihf`.
98
98
2. Determine the MCU feature necessary for running on your MCU, e.g. `stm32f745`.
99
99
3. Determine the Additional required features (see section below) necessary to build the example.
100
-
4. Follow the rest of the instructions in the "Building examples" or "Running examples" subsections.
100
+
4. Follow the rest of the instructions in the ["Building examples"](#building-examples) or ["Running examples"](#running-examples) subsections.
101
101
102
102
### Additional required features
103
-
Besides the feature selecting the correct MCU to be used when building and/or running an example, the following
104
-
additional features are required:
103
+
104
+
Besides the feature selecting the correct MCU to be used when building and/or running an example, the following additional features are required:
@@ -111,6 +111,9 @@ additional features are required:
111
111
|`pktgen`|`defmt`|
112
112
|`rtic-echo`|`rtic-echo-example`|
113
113
114
+
#### 144-pin nucleo boards
115
+
116
+
For `stm32` 144-pin nucleo boards that contain an MCU supported by this crate the `example-nucleo-pins` feature should be activated. This causes the examples to use PG11 as TX_EN and PG13 as TXD0, instead of PB11 and PB12, which is the configuration used on these boards.
For the `stm32-nucleo-f746zg` board, the `example-nucleo-pins` feature can be activated.
148
+
### Other pin configurations
149
149
150
-
If the usage of different pins is required, the types and `setup_pins` function in `examples/common.rs` should be edited. If the pin configuration is for a `nucleo` board, a PR with the changes would be appreciated.
150
+
If the usage of different pins is required, the types and `setup_pins` function in `examples/common.rs` should be edited. If the pin configuration is for a `nucleo` board or other commonly used board, a PR with the changes is most welcome.
0 commit comments