'fixed' olimex example to be able to run the demo, disabled optimization for debugging purposes
This commit is contained in:
parent
340135e774
commit
8825f0d0a0
2 changed files with 7 additions and 6 deletions
|
@ -5,7 +5,8 @@
|
||||||
|
|
||||||
# Compiler options here.
|
# Compiler options here.
|
||||||
ifeq ($(USE_OPT),)
|
ifeq ($(USE_OPT),)
|
||||||
USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
|
# USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
|
||||||
|
USE_OPT = -ggdb -fomit-frame-pointer -falign-functions=16
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# C specific options here (added to USE_OPT).
|
# C specific options here (added to USE_OPT).
|
||||||
|
|
|
@ -270,11 +270,11 @@ void mac_lld_init(void) {
|
||||||
rccEnableETH(false);
|
rccEnableETH(false);
|
||||||
|
|
||||||
/* PHY address setup.*/
|
/* PHY address setup.*/
|
||||||
#if defined(BOARD_PHY_ADDRESS)
|
//#if defined(BOARD_PHY_ADDRESS)
|
||||||
ETHD1.phyaddr = BOARD_PHY_ADDRESS << 11;
|
ETHD1.phyaddr = 0 << 11;
|
||||||
#else
|
//#else
|
||||||
mii_find_phy(ÐD1);
|
// mii_find_phy(ÐD1);
|
||||||
#endif
|
//#endif
|
||||||
|
|
||||||
#if defined(BOARD_PHY_RESET)
|
#if defined(BOARD_PHY_RESET)
|
||||||
/* PHY board-specific reset procedure.*/
|
/* PHY board-specific reset procedure.*/
|
||||||
|
|
Loading…
Reference in a new issue