Skip to content

Instantly share code, notes, and snippets.

View tsnow's full-sized avatar

Tim Snowhite tsnow

  • Palantir
  • Washington, DC
View GitHub Profile
@tsnow
tsnow / 0_fix_icestudio.sh
Last active September 25, 2016 21:22
Fixing icestudio's binaries to upload to icestick
#!/bin/bash
# Downloaded FTDI Driver from here: http://www.libdivecomputer.org/drivers.html http://www.ftdichip.com/Drivers/VCP/MacOSX/FTDIUSBSerialDriver_v2_3.dmg and installed it first.
# Did forgotten things with the ~/.icestudio venv and reinstalled apio a couple times via the UI.
homebrew_lib=/opt/boxen/homebrew/lib/
for k in ~/.apio/packages/system/find_all ~/.apio/packages/toolchain-icestorm/bin/iceprog do
echo "libftdi1.2.dylib libftdi1.2.dylib
/Users/bqlabs/develop/tools-usb-ftdi/build_darwin/lib/libusb-1.0.0.dylib libusb-1.0.0.dylib
/usr/local/opt/libusb/lib/libusb-1.0.0.dylib libusb-1.0.0.dylib