Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 1 month ago.
K64F Ethernet Library working?
Hi
I have a problem with the Ethernet Interface on the K64F. I tried to compile different programs but all with the same error:
Error: Too few arguments in invocation of macro "BW_MPU_CESR_VLD" in "EthernetInterface/lwip-eth/arch/TARGET_K64F/hardware_init_MK64F12.c", Line: 44, Col: 22
Error: Expected an expression in "EthernetInterface/lwip-eth/arch/TARGET_K64F/hardware_init_MK64F12.c", Line: 44, Col: 5
I was able to compile all programs a few month ago, now nothing is working. Does anybody has an idea?
Thank you very much gulchi
2 Answers
10 years, 1 month ago.
Hello,
is this still relevant ? there was another similar issue, and I am quite confused as checking latest mbed SDK sources, it should be fixed. Please share your revisions, so I can go to log , check files and then import them to see if it compiles. THanks
Regards, 0xc0170
10 years, 1 month ago.
Yes, still broken for me. Please check http://developer.mbed.org/users/alpov/code/MPOA_cv5_updated/ . If you update mbed to old rev89, it works.
You also need to update lwip, lwip-eth and lwip-sys inside the EthernetInterface folder then it should work.
posted by 14 Nov 2014Thanks! I didn't realize that the included libraries are not updated with its parent... some "update all" action will solve this. Now I need to change my MAC adresses, because new mbed overrides weak mbed_mac_address() with its own strong function... but that's another problem.
posted by 14 Nov 2014
what mbed lib revision? any ethernet program will fail?
we need some details to reproduce this and possibly fix ;)
posted by Martin Kojtal 02 Nov 2014Current revisions of mbed and EthernetInterface. Working when you switch mbed back to revision 89.
posted by Ales Povalac 03 Nov 2014