DevKitty-io / USB-Nugget

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

enable development on macOS #73

Closed brandonpaiz closed 1 year ago

brandonpaiz commented 1 year 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 1 year 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