This repository has been archived by the owner on Dec 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 76
How to Build
SaeHie Park edited this page Jul 22, 2015
·
11 revisions
Current build host for libtuv
- Ubuntu 14.04
sudo apt-get install build-essential cmake
sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
make
./build/i686-linux/debug/bin/tuvtester
(or)
./build/x86_64-linux/debug/bin/tuvtester
TUV_PLATFORM=arm-linux TUV_BOARD=rpi2 make
scp ./build/arm-linux/debug/bin/tuvtester pi@(your rpi2 IP addr):/home/pi/.
and in your RPi2 shell
./tuvtester
TUV_PLATFORM=arm-nuttx TUV_BOARD=stm32f4disco TUV_SYSTEMROOT=/.../nuttx/nuttx make
Where /.../nuttx/nuttx
should be absolute path to nuttx where .config
resides, please change to your system configuration.
At the end of build, it'll copy libtuv.a and libtuvtester.a, tester in library form, to /.../nuttx/nuttx/lib folder.