1. 21 Aug, 2019 1 commit
  2. 20 Aug, 2019 1 commit
  3. 25 Jul, 2019 1 commit
    • q3k's avatar
      feat: Add a nix expression · 4d8af366
      q3k authored and Rahix's avatar Rahix committed
      We provide a nix expression to build card10 firmware.
      
      On Linux/Darwin with Nix and NixOS, this can be used as follows:
      
        $ git submodule update --init
        $ nix build
        $ ls result/
        result/bootloader:
        bootloader.elf
      
        result/epicardium:
        epicardium.elf
      
        result/pycardium:
        pycardium.elf  pycardium_epicardium.bin
      
      This derivation can also be used for development:
      
        $ nix-shell
        $ meson --cross-file card10-cross.ini build/
        $ ninja -C build/ -j8
        $ # hack on things
        $ ninja -C build/ -j 8
        $ ls build/
        [ ... ]
      4d8af366