Skip to content

Commit 3ebc265

Browse files
committed
Ensure Ethernet is not uder reset
1 parent 5dbff35 commit 3ebc265

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

app/board.h

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
#define BOARD_BLUE_LED PK_7
7575

7676
#define BOARD_USB_RESET PJ_4
77+
#define BOARD_ETH_RESET PJ_15
7778
#define BOARD_BOOT_SEL PI_8
7879

7980
#define BOARD_I2C_SCL PB_6

app/main.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,10 @@ int main(void) {
239239
DigitalOut video_reset(BOARD_VIDEO_RESET, 0);
240240
#endif
241241

242+
#if defined (BOARD_ETH_RESET)
243+
DigitalOut eth_reset(BOARD_ETH_RESET, 1);
244+
#endif
245+
242246
//Ticker pulse;
243247
//DigitalOut eth_rst(PJ_15, 1);
244248

0 commit comments

Comments
 (0)