You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "rtucker85 (via GitHub)" <gi...@apache.org> on 2023/06/17 10:53:04 UTC

[GitHub] [nuttx] rtucker85 opened a new pull request, #9559: stm32 tickless: stop assertion when calling up_timer_gettime

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

   ## Summary
   
   When `CONFIG_SCHED_TICKLESS` and `CONFIG_SCHED_IRQMONITOR` is enabled...
   
   `up_timer_gettime` is called before `g_tickless` is initialised (within `up_timer_initialize`) which causes an assertion.
   
   Instead of asserting on uninitialised `g_tickless`, simply return 0 instead.
   
   This fix aligns with the stm32f7 implementation.
   
   ## Impact
   Any stm32 platform with `CONFIG_SCHED_TICKLESS` and `CONFIG_SCHED_IRQMONITOR` enabled.
   
   ## Testing
   Tested on the stm32f4discovery
   


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] acassis merged pull request #9559: stm32 tickless: stop assertion when calling up_timer_gettime

Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis merged PR #9559:
URL: https://github.com/apache/nuttx/pull/9559


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] acassis commented on pull request #9559: stm32 tickless: stop assertion when calling up_timer_gettime

Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on PR #9559:
URL: https://github.com/apache/nuttx/pull/9559#issuecomment-1595768818

   Thanks!


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org