embeddedsw icon indicating copy to clipboard operation
embeddedsw copied to clipboard

Plz fix Freertos portZynq7000.c XTimer_SetInterval() calls at lines 167 and 172!

Open leevv66 opened this issue 3 years ago • 2 comments

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.

leevv66 avatar Nov 19 '22 16:11 leevv66

Thanks.. Will fix it in our next release.

anirudha1977 avatar Nov 21 '22 03:11 anirudha1977

This issue was fixed in 2023.1 release https://github.com/Xilinx/embeddedsw/commit/03d0b6341ea210239f1036d4f4a5a6eb1c073a2d

kedareswararao avatar Jul 28 '25 07:07 kedareswararao