Skip to content
SaeHie Park edited this page Jul 20, 2015 · 22 revisions

Overview

libtuv is multi-platform tiny event library refactored from libuv for IoT.js and embedded system.

Features

  • loop (working)
  • idle (working)
  • timer (working)
  • poll
  • tcp
  • udp
  • fs (working)
  • thread
  • ...

Supported target platforms

  • i686-linux (Ubuntu Linux 14.04 on Intel core) (working)
  • armv-linux (Raspbian on Raspberry Pi 2) (working)
  • armv-nuttx (NuttX on STM32F4-discovery)
  • ...

How to build and run test

  • for x86-linux (Ubuntu 14.04)
make
./build/i686-linux/debug/bin/tuvtester
  • for arm-linux (Raspberry Pi 2)
TUV_PLATFORM=arm-linux TUV_BOARD=rpi2 make
scp ./build/i686-linux/debug/bin/tuvtester pi@(your rpi2 IP addr):/home/pi/.

and in your RPi2 shell

./tuvtester
Clone this wiki locally