abeowitz wrote on Friday, October 12, 2018:
Adding #define STM32_HAL_LEGACY 1 in NetworkInterface.c with your new driver allows me to compile, but nothing works. No interrupts, printf’s, anything. Debugger shows it’s wandering around HAL code.
And I still get a bunch of redefined warnings.
If I define STM32_HAL_LEGACY in main.h, then there are a number of definitions missing. GPIO_SPEED_HIGH, for example, is in stm32_hal_legacy.h.
Seems I need bits and pieces of various headers. And being a newb to the PHY stuff, I’m still confused.