DevKitty-io / USB-Nugget

Run DuckyScript payloads on a USB Nugget!
https://usbnugget.com
MIT License
163 stars 19 forks source link

enable development on macOS #73

Closed brandonpaiz closed 2 years ago

brandonpaiz commented 2 years ago

Resolves https://github.com/HakCat-Tech/USB-Nugget/issues/71

This PR enables developers running macOS to build and flash the code to the USBNugget devkit. Developer documentation has been moved to src/README.md because it's not necessary for those just looking to flash the latest release using the webflasher.

brandonpaiz commented 2 years ago

@angelina-tsuboi would you mind testing the following when you get a chance? During your dev setup, one step involving curl didn't work (I think you have an older version), so I've used curl flags that I'm guessing are a bit older...

  1. clone a fresh repo, then cd into it
  2. curl --version && cd src/ && make scripts/arduino-cli (shouldn't take long)
  3. Paste the output here