Skip to content

Ensure Ethernet is not uder reset #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/board.h
Original file line number Diff line number Diff line change
@@ -74,6 +74,7 @@
#define BOARD_BLUE_LED PK_7

#define BOARD_USB_RESET PJ_4
#define BOARD_ETH_RESET PJ_15
#define BOARD_BOOT_SEL PI_8

#define BOARD_I2C_SCL PB_6
5 changes: 3 additions & 2 deletions app/main.cpp
Original file line number Diff line number Diff line change
@@ -239,8 +239,9 @@ int main(void) {
DigitalOut video_reset(BOARD_VIDEO_RESET, 0);
#endif

//Ticker pulse;
//DigitalOut eth_rst(PJ_15, 1);
#if defined (BOARD_ETH_RESET)
DigitalOut eth_reset(BOARD_ETH_RESET, 1);
#endif

HAL_FLASH_Unlock();