/Galaxia_Library

Galaxy Library with RTOS elements for Energia MT

Primary LanguageC++OtherNOASSERTION

Galaxia Library

Galaxy Library with RTOS elements for Energia MT

Codacy Badge

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.

Content

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.

Elements

  • Threads elements

    • HWI
    • SWI (1)
    • SWI with trigger (SWItrigger) (1)
    • Task
  • Synchronisation elements

    • Event
    • Semaphore
    • Mailbox (2)
    • Timer (3)
    • Clock

Notes

  1. SWI has been removed from RTOS for Energia MT 0101E0017
  2. Mailbox supersedes Queue
  3. Clock recommended over Timer

Warning

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.

Tutorials

General documentation is available at Exploring RTOS with Galaxia on Energia MT.

I've posted four tutorials on Hacskter.io:

Feel free to click on the Respect button!

Installation

Place the Galaxia folder on the Libraries folder of the sketchbook.

Reference

Licence

image

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.