Open tago-SE opened 4 years ago
I consider the blinking task done
Steps
1.) Download & install Vagrant
2.) goto new empty directory, write "vagrant init ubuntu/bionic64". That generates a Vagrantfile. copy paste the contents inside movesenses own Vagrant file you can see in it's repository. Do not include config.vm.box = 'ubuntu/amd64'. It needs to remain as config.vm.box = 'ubuntu/bionic64'. So copy paste everything except that part.
3.) Type 'vagrant up', that will pull an ubuntu virtual machine, which you can also see in the VM application. But do not access it
4.) Type 'vagrant ssh', you will be in the shell of the Ubuntu you pulled.
5.) Because of the tools specified in the Vagrant file, you shouldn't need to bother installing all the tools needed manually. But if there's certain stuff missing, see movesense's #README file and download all the tools needed (CMake, Ninja etc).
6.) Git clone version 1.8 of movesense source code on bitbucket. git clone https://bitbucket.org/suunto/movesense-device-lib.git. Don't use the recent version. Try 'git checkout tags/
cd movesense-device-lib mkdir myBuild cd myBuild cmake -G Ninja -DMOVESENSE_CORE_LIBRARY=../MovesenseCoreLib/ -DCMAKE_TOOLCHAIN_FILE=../MovesenseCoreLib/toolchain/gcc-nrf52.cmake -DCMAKE_BUILD_TYPE=Release ../samples/blinky_app/ ninja dfupkg
You should get a hex file in a zip
T.ex. tänder LED display eller vad som... Ska vara kod som har kompilerats.