A docker of contiki os development environment
usage () {
echo "Usage: launcher.sh COMMAND"
echo "Commands:"
echo " stop: Stop a running container"
echo " restart: Restart a container"
echo " destroy: Stop and remove a container"
echo " enter: Use nsenter to enter a container"
echo " build: Build a new container "
echo " rebuild: Rebuild a container (destroy old, bootstrap, start new)"
echo " cleanup: Remove all containers that have stopped for > 24 hours"
echo
exit 1
}
- Note: The dockerfile is base on
https://raw.githubusercontent.com/Lembed/Contiki/master/.travis.yml
This development environment download and install all the compiler tools to build most of the platform and cpu, include
- msp430 gcc toolchain
- gcc for avr
- gcc for arm
- gcc for x86(32bit)
- SDCC
- CC65
- rl78 gcc toolchain
- nxp special toolchain
- etc
At last it will git clone contiki os sourc code to compile
for more detail please see Dockerfile