This project contains the source code for the Local positioning System node firmware.
You'll need to use either the Crazyflie VM, install some ARM toolchain or the Bitcraze docker builder image.
Frameworks for unit testing are pulled in as git submodules. To get them when cloning
git clone --recursive https://github.com/bitcraze/lps-node-firmware.git
or if you already have a cloned repo and want the submodules
git submodule init
git submodule update
brew tap PX4/homebrew-px4
brew install gcc-arm-none-eabi
TODO: Please share!
sudo pacman -S community/arm-none-eabi-gcc community/arm-none-eabi-gdb community/arm-none-eabi-newlib
TODO: Please share!
make
or
docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/compile
or
tools/do compile
TODO: Please share!
all : Shortcut for build
flash : Flash throgh jtag
openocd : Launch OpenOCD
dfu : Flash throgh DFU
We use Unity and cmock for unit testing.
To run all tests
./tools/do test