Back to Fluent Bit

Monkey + Arduino YUN toolchain

lib/monkey/ARDUINO_YUN.md

5.0.4767 B
Original Source

Monkey + Arduino YUN toolchain

Short instructions to build with Arduino YUN toolchain:

Get the toolchain

shell
$ git clone https://github.com/MatteoRagni/ArduinoYun-x86_64-OpenWRT-mips-linux-toolchain.git

The content downloaded is the toolchain required, the absolute path of this directory is required in the next step:

Compile Monkey

Make sure to replace the right values for CMAKE_INSTALL_PREFIX and YUN_ROOT:

$ rm -rf monkey/build
$ cd monkey/build
$ cmake -DCMAKE_TOOLCHAIN_FILE=cmake/arduino-yun.cmake \
        -DWITH_SYSTEM_MALLOC=ON -DWITH_BACKTRACE=OFF   \
        -DCMAKE_INSTALL_PREFIX=/opt/monkey             \
        -DYUN_ROOT=/path/to/ArduinoYun-x86_64-OpenWRT-mips-linux-toolchain \
        ../
$ make
$ make install