(within a linux environment)
- install nix:
sh <(curl -L https://nixos.org/nix/install) --daemon
- enable flakes
Add the following to ~/.config/nix/nix.conf or /etc/nix/nix.conf:
experimental-features = nix-command flakes
-
nix build
within thehytech_hal
directory -
to flash code onto a board using an stm-32's bootloader:
nix run .#dfu