Skip to content

Commit 620e9c5

Browse files
author
fpr
committed
Ethernet mode configuration (RMII or MII)
Signed-off-by: fpr <fabien.perroquin@wi6labs.com>
1 parent f79230d commit 620e9c5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

variants/NUCLEO_F429ZI/variant.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,13 @@ uint32_t pinNametoPinNumber(PinName p);
148148
//Enable Firmata
149149
#define STM32 1
150150

151+
//Ethernet configuration
152+
/** Select the Low level Ethernet mode: MII or RMII.
153+
* Must be coherente with PeripheralPins.c
154+
* Uncomment to configure the RMII mode.
155+
*/
156+
#define ETHERNET_RMII_MODE_CONFIGURATION
157+
151158
#ifdef __cplusplus
152159
} // extern "C"
153160
#endif

0 commit comments

Comments
 (0)