-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hi,
I'm curious if anyone has looked into supporting SafeRTOS, which is based on FreeRTOS. Without the guide.md available, I found this list of variable references for FreeRTOS in rtos-freertos.ts:
private uxCurrentNumberOfTasks: RTOSCommon.RTOSVarHelperMaybe;
private uxCurrentNumberOfTasksVal = 0;
private pxReadyTasksLists: RTOSCommon.RTOSVarHelperMaybe;
private xDelayedTaskList1: RTOSCommon.RTOSVarHelperMaybe;
private xDelayedTaskList2: RTOSCommon.RTOSVarHelperMaybe;
private xPendingReadyList: RTOSCommon.RTOSVarHelperMaybe;
private pxCurrentTCB: RTOSCommon.RTOSVarHelperMaybe;
private pxCurrentTCBs: RTOSCommon.RTOSVarHelperMaybe;
private xSuspendedTaskList: RTOSCommon.RTOSVarHelperMaybe;
private xTasksWaitingTermination: RTOSCommon.RTOSVarHelperMaybe;
private ulTotalRunTime: RTOSCommon.RTOSVarHelperMaybe;
private ulTotalRunTimeVal = 0;
Out of this list, the only ones that differ in SafeRTOS are the following:
- pxReadyTasksLists: This is referred to as xReadyTasksLists in SafeRTOS.
- pxCurrentTCBs: This feature is not supported in SafeRTOS.
- ulTotalRunTime: SafeRTOS provides optional run time statistics through ulTotalRunTimeCounter1 and ulTotalRunTimeCounter2.
- xTasksWaitingTermination: This feature is not supported in SafeRTOS.
With that in mind, SafeRTOS might be easier to support compared to other real time operating systems due to it's similarities with FreeRTOS.
I'm curious if anyone has tested SafeRTOS, or if it's worth making the modifications necessary to support it. I may be able to help, but wanted to see if anyone has looked into this already?
Metadata
Metadata
Assignees
Labels
No labels