Skip to content
Snippets Groups Projects
Select Git revision
  • backslash
  • nickname-match-configs
  • master default protected
  • genofire/leds_rgb_get_state
  • genofire/rockets-state
  • genofire/ble-follow-py
  • plaetzchen/ios-workaround
  • blinkisync-as-preload
  • genofire/haule-ble-fs-deactive
  • schneider/max30001-pycardium
  • schneider/max30001-epicaridum
  • schneider/max30001
  • schneider/stream-locks
  • ios-workarounds
  • schneider/fundamental-test
  • schneider/ble-buffers
  • schneider/maxim-sdk-update
  • ch3/splashscreen
  • koalo/bhi160-works-but-dirty
  • koalo/wip/i2c-for-python
  • v1.9
  • v1.8
  • v1.7
  • v1.6
  • v1.5
  • v1.4
  • v1.3
  • v1.2
  • v1.1
  • v1.0
  • release-1
  • bootloader-v1
  • v0.0
33 results

default.nix

Forked from card10 / firmware
Source project has a limited visibility.
  • 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/
      [ ... ]
    Verified
    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/
      [ ... ]