You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/03/03 20:29:18 UTC

[GitHub] [mynewt-core] andrzej-kaczmarek opened a new pull request #2225: kernel/arch: Add option to use BASEPRI for critical section

andrzej-kaczmarek opened a new pull request #2225: kernel/arch: Add option to use BASEPRI for critical section
URL: https://github.com/apache/mynewt-core/pull/2225
 
 
   Using BASEPRI instead of PRIMASK may be beneficial if there is some interrupt in MCU which requires low latency thus preferably it has highest priority and is always enabled. For example, MCU with integrated BLE Core may have interrupt(s) that we need to handle in almost real time to switch between different modes. If there is no need to interact with OS in interrupt handler (as this would break critical sections) it's safe to keep this interrupt always enabled and have minimal latency so MCU code can take advantage of BASEPRI here.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [mynewt-core] andrzej-kaczmarek merged pull request #2225: kernel/arch: Add option to use BASEPRI for critical section

Posted by GitBox <gi...@apache.org>.
andrzej-kaczmarek merged pull request #2225: kernel/arch: Add option to use BASEPRI for critical section
URL: https://github.com/apache/mynewt-core/pull/2225
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [mynewt-core] apache-mynewt-bot commented on issue #2225: kernel/arch: Add option to use BASEPRI for critical section

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on issue #2225: kernel/arch: Add option to use BASEPRI for critical section
URL: https://github.com/apache/mynewt-core/pull/2225#issuecomment-594153414
 
 
   
   <!-- style-bot -->
   
   ## Style check summary
   
   #### No suggestions at this time!
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services