7 years, 11 months ago.

mbed v120 generates compiler error with EthernetInterface v53

On a K64F

The error:

Error: Cannot open source input file "fsl_port_hal.h": No such file or directory in "EthernetInterface/lwip-eth/arch/TARGET_Freescale/hardware_init_MK64F12.c", Line: 31, Col: 27

mbed v119 compiles fine

...kevin

Thanks, we will have a look, I tested it before publishing, and did not get any error, let me check.

posted by Martin Kojtal 11 May 2016

1 Answer

7 years, 11 months ago.

Hi,

should be fixed now with the new version of EthernetInterface.. The lwip-eth was not updated for v53.. Sorry for inconvenience

Accepted Answer

Martin,

What happened to K64F Ethernet MII registers ENET_EIR and ENET_MMFR ? They no longer exist on EthernetInterface v54. I was using those registers to get a PHY link up/down status via MII. Were they renamed?

Also getting a follow-on compiler error:

Error: Undefined symbol GPIO_HAL_WritePinOutput (referred from main.cpp.K64F.o).

posted by Kevin Braun 11 May 2016

The drivers for a few NXP devices inclunding the K64F were updated to use KSDK 2.0

posted by Sam Grove 18 May 2016