Difference between revisions of "Technical topic: TASTE on MSP430 with FreeRTOS"
Revision as of 15:39, 13 December 2019
This page describes how FreeRTOS support was added to TASTE.
Features of this microcontroller:
- 16-bit RISC architecture;
- 16‑MHz Clock;
- 64KB FRAM / 2KB SRAM.
New execution platform
Add new platform Platform_MSP430_FreeRTOS to TASTE. Follow instructions from Technical topic: Add a new target platform to TASTE. TBC
Source code generation for Concurrency View
The Concurrency View code is responsible for initialization of devices, drivers, threads and other structures. The created structures are responsible for passing information between functions and thread synchronization. Generally this code is generated by Ocarina. The generated code uses PolyORB-HI-Ada or PolyORB-HI-C as a middleware.
Kazoo templates for Concurrency View has parameters, which describes threads, mutexes, functions, etc. and relations between them. These parameters may be used to generate code without PolyORB-HI-Ada or PolyORB-HI-C. This section described this approach.
Mapping of TASTE structures
The threads will be mapped to FreeRTOS tasks .
The communication and synchronization between tasks will be realised using queues and semaphores or mutexes .
Cyclic provided interfaces of functions will be implemented using software timers .
Modification in Makefiles and GNAT Project Manager files
Adding device drivers
The device drivers are described in file ocarina_components.aadl.