Skip to content
Snippets Groups Projects
Select Git revision
  • d23fbdd045561294e388f09ba87e0199a6a5bf7a
  • master default protected
  • schneider/ir
  • rahix/user-space-ctx
  • schneider/iaq-python
  • schneider/ble-mini-demo
  • schneider/ble-ecg-stream-visu
  • schneider/mp-exception-print
  • schneider/sleep-display
  • schneider/deepsleep4
  • schneider/deepsleep2
  • schneider/deepsleep
  • schneider/ble-central
  • rahix/bluetooth-app-favorite
  • schneider/v1.17-changelog
  • schneider/ancs
  • schneider/png
  • schneider/freertos-list-debug
  • schneider/212-reset-hardware-when-entering-repl
  • schneider/bonding-fail-if-full
  • schneider/ble-fixes-2020-3
  • v1.18
  • v1.17
  • v1.16
  • v1.15
  • v1.14
  • v1.13
  • v1.12
  • v1.11
  • v1.10
  • v1.9
  • v1.8
  • v1.7
  • v1.6
  • v1.5
  • v1.4
  • v1.3
  • v1.2
  • v1.1
  • v1.0
  • release-1
41 results

default.nix

Blame
    • q3k's avatar
      4d8af366
      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
      History
      feat: Add a nix expression
      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/
        [ ... ]
    meson.build 90 B