Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.14 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.14 KB

Ublox_Linux_Library

The aim of this repository to port the SparkFun_u-blox_GNSS_Arduino_Library to linux platform.

How to pull the code

How to compile Linux Library (Assumed that CMake setup done already)

  • cd linux_build
  • mkdir build
  • cd build
  • cmake ..
  • make

How to compile Android Library (Assumed that NDK setup done already)

  • cd android_build
  • ndk-build -j2 NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk NDK_APPLICATION_MK=./Application.mk

How to execute test

  • cd ../bin (Assuming the current directorty is build directory, created above)
  • ./ublox_f9p_test /dev/ttyACM0
  • ./ublox_f9p_i2c_test /dev/ublox_i2c 0x42 (or without command line arguments)

License

This repository consists files from different other repositories such as Arduino and SparkFun_u-blox_GNSS_Arduino_Library. Please consider the licenses according to the files where it is from.

Linux Examples

Feel free to port the examples from Sparkfun_Ublox_Arduino_Library to linux.

Future Work

Port some important examples from Arduino to Linux