forked from guyzmo/polluxnzcity
-
Notifications
You must be signed in to change notification settings - Fork 7
Flash attiny
guyzmo edited this page Mar 12, 2013
·
1 revision
- Download the Arduino IDE and the ATTiny Core.
- Install the Arduino IDE (v1.0.1 tested)
- Extract the ATTiny Core into
<Arduino_Path>/hardware/
Inside the Makefile of each ATTiny project, you shall check and/or modify the following variables to match your installation:
- Path to your Arduino IDE library files, modify the variable:
ARDUINO_DIR
- Path to your sketch files' directory, modify the variable:
HOME_LIB
- If you want to install the ATTiny core elsewhere, you'll have to edit the
ATTINY_DIR
variable in the Makefile
- Now, within the directory of the ATTiny module of your choice, do:
% make # to compile, output will be in ./sketch directory % make upload # to upload % make clean # to remove compilations files % make flush # to delete all generated files