2015-12-15 09:08 AM
It seems that in version 4.12.0 LwIP is broken.
Code that worked with previous version was running without problems. Migration made code stop working. Tested on Stm32f407 discovery + expansion board (LAN8720).2016-02-05 07:54 AM
Hello,
In next release 4.13, there will be the possibility to change the HAL timebase source from the default systick timebase. This is strongly recommended when using freeRTOS. This can be done under the SYS IP from the pinout tab . Background for Rationale:By default, the STM32Cube HAL is built around a unique timebase source which is the ARM-Cortex system timer (SysTick).
However, HAL-timebase related functions are defined as weak so that they can be overloaded to use another hardware timebase source. This is strongly recommended when the application uses an RTOS, since this middleware has full control on the SysTick configuration (tick and priority) and most RTOSs force the SysTick priority to be the lowest.
Using the SysTick remains acceptable
if the application respects the HAL programming model, that is, does not perform any call to HAL timebase services within an Interrupt Service Request context (no dead lock issue).
However HAL timebase services may lose time accuracy as systick is put as the lowest level of priority.
Best regards