embeddedsw
embeddedsw copied to clipboard
Plz fix Freertos portZynq7000.c XTimer_SetInterval() calls at lines 167 and 172!
XTimer_SetInterval() calls accepts timer tick delay in ms. Instead it has strange argument passing: portZynq7000.c line 172: XTimer_SetInterval(configTICK_RATE_HZ/10);
Plz fix it something like : u32 delay_ms = (configTICK_RATE_HZ > 1000) ? 1 : 1000/configTICK_RATE_HZ; XTimer_SetInterval(delay_ms);
Currently Freertos with tick rates other than 100 doesn't work.
Thanks.. Will fix it in our next release.
This issue was fixed in 2023.1 release https://github.com/Xilinx/embeddedsw/commit/03d0b6341ea210239f1036d4f4a5a6eb1c073a2d