You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long. 300B

  1. #!/usr/bin/env nix-shell
  2. #!nix-shell -i bash -p bash rustup pkgsCross.arm-embedded.buildPackages.gcc dfu-util
  3. cargo build --release
  4. arm-none-eabi-objcopy -O binary target/thumbv7em-none-eabi/release/hedgehog target/hedgehog.bin
  5. sudo dfu-util -S 368D32853436 -a 0 -s 0x08000000 -D target/hedgehog.bin