Skip to content

OpenOCF/tinyb-clj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinyb-clj

setup

intel edison

  • clone this repository to your development machine, not the Edison. On the Edison you need to set up the runtime environment but not source code.

On the Edison itself:

sudo bash -c “cd /usr/local/bin && curl -fsSLo boot https://github.com/boot-clj/boot-bin/releases/download/latest/boot.sh && chmod 755 boot”

Then run $ boot help - this will cause boot to download its dependencies and install them in the local repo (~/.m2/repository).

Note
This takes a long time the first time 'round.

Then run $ boot help again, which will make it update to the latest version.

Emacs users: copy profile.boot from this repo (on your dev host machine) to ~/.boot on the Edison; this contains the code needed to use Cider with the nREPL.

Others: see tools.nrepl for information about using other editors.

  • install cmake

wget https://cmake.org/files/v3.6/cmake-3.6.0-rc4.tar.gz
tar -zxvf cmake-3.6.0-rc4.tar.gz
cd cmake-3.6.0
bootstrap && make
make install
  • compile and install tinyb:

git clone https://github.com/intel-iot-devkit/tinyb.git
cd tinyb
mkdir b && cd b
export JAVA_HOME=/usr/lib64/jvm/java-8-openjdk
cmake .. -DBUILDJAVA=ON

About

Clojure for TinyB Bluetooth LE library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published