Skip to content
guyzmo edited this page Mar 12, 2013 · 1 revision

Installation of tools

  • Download the Arduino IDE and the ATTiny Core.
  • Install the Arduino IDE (v1.0.1 tested)
  • Extract the ATTiny Core into <Arduino_Path>/hardware/

Configuration

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

Compilation/Upload

  • 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
Clone this wiki locally