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/04/30 10:56:45 UTC

[GitHub] [mynewt-nimble] edoput opened a new pull request #810: WIP: use port dependent macros instead of FreeRTOS functions

edoput opened a new pull request #810:
URL: https://github.com/apache/mynewt-nimble/pull/810


   Management of critical section is done through a combination of the FreeRTOS
   API and port dependent configuration.
   
   Most of the time the port uses critical section management exposed by FreeRTOS by
   defining as such
   
   ```C
   extern void vPortEnterCritical(void);
   #define portENTER_CRITICAL()     vPortEnterCritical();
   ...
   ```
   
   Moreover FreeRTOS does not expose an API for critical section detection
   as it is port dependent. This will rely on the macro `portIS_IN_CRITICAL` that
   a port should implement when using nimble in conjunction with FreeRTOS.


----------------------------------------------------------------
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



[GitHub] [mynewt-nimble] apache-mynewt-bot commented on pull request #810: WIP: use port dependent macros instead of FreeRTOS functions

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #810:
URL: https://github.com/apache/mynewt-nimble/pull/810#issuecomment-621762105


   
   <!-- 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



[GitHub] [mynewt-nimble] edoput commented on pull request #810: WIP: use port dependent macros instead of FreeRTOS functions

Posted by GitBox <gi...@apache.org>.
edoput commented on pull request #810:
URL: https://github.com/apache/mynewt-nimble/pull/810#issuecomment-621761633


   I would also like to point in the docs that this macro should be defined by the port
   but I'm not finding any docs for the port yet.


----------------------------------------------------------------
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