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!
Warning
Energia, the fork of the Arduino IDE and SDK for the LaunchPad boards, is no longer maintained.
The official tools from Texas Instruments are Code Composer Studio, based on Eclipse with an online variant, and the SimpleLink SDK for the ARM Cortex-M MSP432, CC13xx (sub-1 GHz), CC26xx (Bluetooth) and CC32xx (WiFi) MCUs.
The Galaxia Library encapsulates RTOS elements as objects for an easier use.
It runs on the boards supported by Energia MT:
- No IoT: LaunchPad MSP432P401R and MSP432P4111
- sub-1 GHz: LaunchPad CC1310 and CC1312
- BLE + sub-1 GHz: LaunchPad CC1350 and CC1352, LPSTK-CC1352
- BLE: LaunchPad CC2652
- WiFi: LaunchPad CC3200, CC3220, CC3235
- Ethernet: LaunchPad MSP432E401Y
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
The Galaxia library relies on the Energia MT implementation of RTOS. As so, some RTOS elements may work with one distribution of Energia but not antoher. Similarly, some RTOS elements may have been removed from the last distribution of Energia MT.
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.