How high would you rate modifying the OSAL to make HAL porting to other RTOSes a real possibility?
Currently the OSAL is very close to the RT own patterns, for example:
Code: Select all
osalSysLock();
if (!condition) {
osalThreadSuspendS();
}
osalSysUnlock();
Making a different OSAL and reworking HAL would be a huge effort, wondering if it is something worth doing.
Alternatively, instead of modifying HAL/OSAL (huge legacy and effort) it could be targeted to the experimental XHAL currently in trunk which is much more a work-in-progress.
BTW not considering this out of pure generosity
Giovanni