hal_stm32 icon indicating copy to clipboard operation
hal_stm32 copied to clipboard

stm32cube: f4/h7: Use Zephyr Kconfig flag to control eth API

Open gleichdick opened this issue 3 years ago • 2 comments

Needed for zephyrproject-rtos/zephyr#45260

gleichdick avatar May 01 '22 12:05 gleichdick

This is now selectable with the config option ETH_STM32_USE_HAL_DRIVER_WITH_NEW_API. Please note that the new driver offers callbacks for the PTP TX timestamp, so that poking in the tx descriptors is no longer necessary. That's why I chose to enable the PTP Hal driver when both PTP in general and using the new driver options are selected.

gleichdick avatar May 18 '22 15:05 gleichdick

I updated the PR according to the recommendations

gleichdick avatar Aug 13 '22 18:08 gleichdick