Build environment for InfiniTime.
Note: Uses unfree
package nrf5-sdk
!
Build instructions:
$ nix-shell
$ mkdir build
$ cd build
$ cmake -DARM_NONE_EABI_TOOLCHAIN_PATH=/usr -DNRF5_SDK_PATH=/usr/share/nRF5_SDK -DCMAKE_BUILD_TYPE=Release ..
$ make -j6 pinetime-app
Note that the ARM_NONE_EABI_TOOLCHAIN_PATH
is just /usr
as everything is linked there.
Further build instructions: https://github.com/InfiniTimeOrg/InfiniTime/blob/main/doc/buildAndProgram.md
This shell.nix
works with direnv
.