Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
chibios:articles:porting_from_2_to_3 [2015/07/24 12:21]
giovanni
chibios:articles:porting_from_2_to_3 [2016/12/03 17:32] (current)
giovanni
Line 70: Line 70:
   * The header ch.h must not be included directly. Just include hal.h, which, by including osal.h, will also include the appropriate RTOS header.   * The header ch.h must not be included directly. Just include hal.h, which, by including osal.h, will also include the appropriate RTOS header.
   * RT API must not be invoked, call the equivalent OSAL API instead. The OSAL API is sufficient for drivers implementation,​ note, it is not meant to be a full RTOS abstraction. Often the OSAL API is equal to the RT/NIL API but the prefix is "​osal"​ or "​OSAL"​ instead of "​ch"​ or "​CH"​.   * RT API must not be invoked, call the equivalent OSAL API instead. The OSAL API is sufficient for drivers implementation,​ note, it is not meant to be a full RTOS abstraction. Often the OSAL API is equal to the RT/NIL API but the prefix is "​osal"​ or "​OSAL"​ instead of "​ch"​ or "​CH"​.
-  * Now the NVIC minidriver always ​take the priority as parameter, the use of the CORTEX_PRIORITY_MASK() macro is no more required.+  * Now the NVIC minidriver always ​takes the priority as parameter, the use of the CORTEX_PRIORITY_MASK() macro is no more required.
  
 </​WRAP>​ </​WRAP>​