Galaxy Library with RTOS elements for Energia MT
Why the Galaxia name? With LaunchPad, BoosterPack and Energia, let's stay in space and explore new galaxies!
The Galaxia Library encapsulates RTOS elements as objects for an easier use.
It runs on the boards supported by Energia MT: LaunchPad MSP432, LaunchPad CC3200 and RedBearLab CC3200-based boards.
The library comes with an umbrella header Galaxia.h
for an easier #include
.
#include "Galaxia.h"
Because SWI has been removed from RTOS for Energia MT 0101E0017, SWI And SWITrigger are no longer operational.
Make sure to select the variant of the board with EMT
.
-
Threads elements
- HWI
- SWI (1)
- SWI with trigger (SWItrigger) (1)
- Task
-
Synchronisation elements
- Event
- Semaphore
- Mailbox (2)
- Timer (3)
- Clock
Notes
- SWI has been removed from RTOS for Energia MT 0101E0017
- Mailbox supersedes Queue
- Clock recommended over Timer
General documentation is available at Exploring RTOS with Galaxia on Energia MT.
I've posted four tutorials on Hacskter.io:
- Multi-Tasking with Energia MT with Galaxia Library
- Manage Single Resource with Energia MT and Galaxia
- Send Data Across Tasks with Energia and Galaxia
- Events with Energia MT and Galaxia Library
Feel free to click on the Respect button!
Place the Galaxia folder on the Libraries
folder of the sketchbook.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.