UMSATS / tsat-utilities-kit

A suite of pre-written utilities that can be used to streamline and standardize common operations across TSAT subsystems.
MIT License
2 stars 0 forks source link

Implement Option to Use RTOS Queue over CANQueue #13

Open Koloss0 opened 1 month ago

Koloss0 commented 1 month ago

RTOS has its own queue type, and CDH prefers this over the custom CANQueue structure. Therefore, implement the option to use an RTOS queue instead. The user can decide to use the RTOS queue by placing a #define statement above the #include for CAN Wrapper.

Like so:

#define CAN_WRAPPER_USE_RTOS_QUEUE
#include "tuk/can_wrapper.h"
Koloss0 commented 3 days ago

Update: This will be a bit more work than anticipated. CDH uses a task scheduling system which complicates things a bit. I'm currently rethinking the design for processing messages. Bare with me!