jlaitine opened a new pull request, #14450:
URL: https://github.com/apache/nuttx/pull/14450

   
   ## Summary
   
   Currently up_ndelay & up_udelay are completely broken; they always sleep 
very long time (at least to the end of currently ongoing tick), due to the 
current time is obtained from "oneshot_current".
   
   This PR also sets a proper CONFIG_BOARD_LOOPSPERMSEC value for imx93-evk 
target.
   
   ```
     ret = lower->ops->tick_current(lower, &tick);
     clock_ticks2time(ts, tick);
   ```
   This basically quantizes the time with tick time, causing really long looping
   
   ## Impact
   
   Fixes many issues where up_udelay is used
   
   ## Testing
   
   Tested on imx93 platform
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to