Setup a virtual machine to build TinyOS firmware for wireless sensor motes in no time.
- Runs with VirtualBox, Vagrant and Ansible but do not fear. Even if you don't know these in depth – I've got you covered.
- Based on a Ubuntu Server 16.04 LTS base box from the bento project.
It's easy as 1, 2, 3.
git clone [email protected]:wedi/tinyos-virtual-machine.git
cd tinyos-virtual-machine
vagrant up --provider virtualbox
Go and get a ☕ or a 🍺 during the first run. It will take some time to to downloaded and install all the software.
🎉 You are having a VM, readily provisoned with everything you need to build TinyOS firmware.
Hit vagrant ssh
to login.
TODO... (you know what that stands for... 😁)
- Have a look into the Vagrantfile. Most likely you want to adjust the shared folder.
- You will find more options in provisioning/vars/main.yml.
You need to install VirtualBox and Vagrant. That's it.
Right now only the MSP430 microcontroller (e.g. used on TelosB motes) is supported because that's the only one I am using. Feel free to open an issue on my related Ansible project if you need support for a different one.
This code is released under the terms of the MIT license.
- Adam Brett's Quickstart Guide to Vagrant & Ansible gave me a head start.
- Thanks to the authors of the Ansible roles I am reusing
- Jan Vlnas: unattended-upgrades role
- sunscrapers: python role
- Ryan Yates: timezone role
- The maintainers of VirtualBox, Vagrant and Ansible for believing in Open Source.
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.