I got the same error. It looked like an inline issue. The inline function is located in \SysGCC\esp32\esp32-bsp\esp-idf\components\ethernet\emac_dev.h but the linker couldn’t find it. Can be fixed by setting InlineFunctions to Yes in Project->Properties->C/C++->Optimization->InlineFunctions .