mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Basic demo up and running.
This commit is contained in:
parent
5ff84b9869
commit
181889d6b1
3 changed files with 48 additions and 9 deletions
|
@ -106,7 +106,8 @@ extern void vPortClearInterruptMaskFromISR( unsigned portBASE_TYPE );
|
|||
|
||||
/* Task utilities. */
|
||||
|
||||
#define portYIELD()
|
||||
#define portYIELD() MCF_INTC0_INTFRCH |= ( 1UL << ( configYIELD_INTERRUPT_VECTOR - 32UL ) ); portNOP(); portNOP(); portNOP(); /* -32 as we are using the high word of the 64bit mask. */
|
||||
|
||||
|
||||
|
||||
#define portNOP() asm volatile ( "nop" )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue