Installation

The Simba development environment can be installed on Windows (Cygwin) and Linux (Ubuntu 14). Just follow the steps below and you’ll be up and running in no time. =)

Windows (Cygwin)

Download Cygwin and select the following packages for installation:

For ESP8266 more packets are needed. See: https://github.com/eerimoq/esp-open-sdk.

- gcc-core          (Devel -> gcc-core)
- make              (Devel -> make)
- python            (Python -> python)
- python-setuptools (Python -> python-setuptools)
- git               (Devel -> git)
- doxygen           (Devel -> doxygen)

Start Cygwin and execute the one-liner below to install Simba.

$ mkdir simba && \
  cd simba && \
  easy_install-2.7 pip && \
  pip install pyserial xpect sphinx breathe && \
  (git clone --recursive https://github.com/eerimoq/esp-open-sdk.git && \
   cd esp-open-sdk && \
   make STANDALONE=n) && \
  (git clone https://github.com/eerimoq/rust-bindgen.git && \
   cd rust-bindgen && \
   cargo build) && \
  git clone https://github.com/eerimoq/rust.git && \
  git clone https://github.com/eerimoq/avr-toolchain-windows && \
  git clone https://github.com/eerimoq/arm-toolchain-windows && \
  git clone https://github.com/eerimoq/simba

Linux (Ubuntu 14)

Execute the one-liner below to install Simba.

$ mkdir simba && \
  cd simba && \
  sudo apt-get install ckermit valgrind cppcheck cloc python python-pip doxygen git && \
  sudo apt-get install avrdude gcc-avr binutils-avr gdb-avr avr-libc && \
  sudo apt-get install bossa-cli gcc-arm-none-eabi && \
  sudo apt-get install make unrar autoconf automake libtool gcc g++ gperf \
                       flex bison texinfo gawk ncurses-dev libexpat-dev \
                       python-serial sed && \
  pip install pyserial xpect sphinx breathe && \
  (git clone --recursive https://github.com/eerimoq/esp-open-sdk.git && \
   cd esp-open-sdk && \
   make STANDALONE=n) && \
  (git clone https://github.com/eerimoq/rust-bindgen.git && \
   cd rust-bindgen && \
   cargo build) && \
  git clone https://github.com/eerimoq/rust.git && \
  git clone https://github.com/eerimoq/simba

Post-install

Let’s build and run the hello world application to verify that the installation was successful.

$ cd simba && \
  source setup.sh && \
  cd examples/hello_world && \
  make -s run