strict-flower

dl.sh

Nov 23rd, 2018
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.06 KB | None | 0 0
  1. #!/bin/sh
  2. # An AVR Programmer using MCP2221A
  3. # If you use this software, please read all codes except hidapi and libmcp2221a, especially `src/gpio.c`.
  4.  
  5. mkdir src
  6. mkdir includes
  7. mkdir bin
  8.  
  9. wget "https://pastebin.com/raw/1uSEKAsV" -O "Makefile"
  10.  
  11. cd includes/
  12. wget "https://raw.githubusercontent.com/signal11/hidapi/a6a622ffb680c55da0de787ff93b80280498330f/hidapi/hidapi.h"
  13. wget "https://raw.githubusercontent.com/zkemble/libmcp2221/v1.0.4/libmcp2221/libmcp2221.h"
  14. wget "https://pastebin.com/raw/2msBNLnb" -O "avr_writer.h"
  15.  
  16. cd ../src/
  17. wget "https://raw.githubusercontent.com/signal11/hidapi/a6a622ffb680c55da0de787ff93b80280498330f/linux/hid.c"
  18. wget "https://raw.githubusercontent.com/zkemble/libmcp2221/v1.0.4/libmcp2221/libmcp2221.c"
  19. wget "https://pastebin.com/raw/tLaFs2Rn" -O "Makefile"
  20. wget "https://pastebin.com/raw/7Y640Js1" -O "util.c"
  21. wget "https://pastebin.com/raw/KaF2iYE9" -O "ihex.c"
  22. wget "https://pastebin.com/raw/JQNtCcLE" -O "avr.c"
  23. wget "https://pastebin.com/raw/kFkwXsqq" -O "gpio.c"
  24. wget "https://pastebin.com/raw/v7yf8AbQ" -O "avr_writer.c"
Advertisement
Add Comment
Please, Sign In to add comment