libhal / SJSU-Dev2

Firmware platform written by San Jose State University for building application for embedded systems
Apache License 2.0
42 stars 63 forks source link

Decouple FreeRTOS from everything #1441

Open kammce opened 3 years ago

kammce commented 3 years ago

Feature Request

A hard coupling to FreeRTOS will make adding additional RTOSes difficult to integrate in the future. Decoupling now and adding some sort of installer for FreeRTOS at runtime would be the better approach if it is possible. This issue corresponds to #427.

Detailed Description

Preferred execution would be something like the following.

#include "platform/operating_system/freertos.hpp"

int main()
{
  sjsu::InstallFreeRTOS();
  // ...
}