feat(freertos): added POSIX/Linux simulator port to FreeRTOS SMP

* Added a POSIX/Linux simulator that is compatible with the Amazon
  FreeRTOS SMP API. Note that the simulator itself is still
  single core, like the IDF FreeRTOS POSIX/Linux simulator.
This commit is contained in:
Jakob Hasse
2023-04-21 11:08:27 +08:00
parent 03c5274368
commit 550ecbe37a
16 changed files with 1437 additions and 22 deletions

View File

@@ -95,6 +95,12 @@ static inline BaseType_t xPortInIsrContext(void)
return xPortCheckIfInISR();
}
#if CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP
/* If enabled, users must provide an implementation of vPortCleanUpTCB() */
extern void vPortCleanUpTCB ( void *pxTCB );
#define portCLEAN_UP_TCB( pxTCB ) vPortCleanUpTCB( pxTCB )
#endif /* CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP */
#ifdef __cplusplus
}
#endif