This Ansible role installs TinyOS, nesC and all requirements to compile and install a firmware on sensor nodes. Right now only the MSP430 microcontroller toolchain (e.g. used on the TelosB sensor module) is included as I'm currently using only that one. Open an issue if you need any others.
I have tested this role on Ubuntu 16.04 LTS only. Please open an issue and tell me if it's working on other systems as well.
Using the following variables to adust the target directory for the TinyOS / nesC source code:
src_target: '/usr/local/src'
tinyos_src_dir: '{{ src_target }}/tinyos'
nesc_src_dir: '{{ src_target }}/nesc'
An example how to apply this role and change the install directory at the same time:
- hosts: servers
become: true
roles:
- { role: wedi.tinyos, src_target: ~/My/Working/Directory }
This role is released under the terms of the MIT license.
Hi, I'm Dirk from Essen, Germany. Software developer, student of business and computer science. I wrote this role to learn provisioning and configuration management with Ansible. I hope you find it useful. Feel free to open an issue or pull request if you are having any suggestions.