Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # An AVR Programmer using MCP2221A
- # If you use this software, please read all codes except hidapi and libmcp2221a, especially `src/gpio.c`.
- mkdir src
- mkdir includes
- mkdir bin
- wget "https://pastebin.com/raw/1uSEKAsV" -O "Makefile"
- cd includes/
- wget "https://raw.githubusercontent.com/signal11/hidapi/a6a622ffb680c55da0de787ff93b80280498330f/hidapi/hidapi.h"
- wget "https://raw.githubusercontent.com/zkemble/libmcp2221/v1.0.4/libmcp2221/libmcp2221.h"
- wget "https://pastebin.com/raw/2msBNLnb" -O "avr_writer.h"
- cd ../src/
- wget "https://raw.githubusercontent.com/signal11/hidapi/a6a622ffb680c55da0de787ff93b80280498330f/linux/hid.c"
- wget "https://raw.githubusercontent.com/zkemble/libmcp2221/v1.0.4/libmcp2221/libmcp2221.c"
- wget "https://pastebin.com/raw/tLaFs2Rn" -O "Makefile"
- wget "https://pastebin.com/raw/7Y640Js1" -O "util.c"
- wget "https://pastebin.com/raw/KaF2iYE9" -O "ihex.c"
- wget "https://pastebin.com/raw/JQNtCcLE" -O "avr.c"
- wget "https://pastebin.com/raw/kFkwXsqq" -O "gpio.c"
- wget "https://pastebin.com/raw/v7yf8AbQ" -O "avr_writer.c"
Advertisement
Add Comment
Please, Sign In to add comment