Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Sander van de Bor authored and Sander van de Bor committed Jun 24, 2019
2 parents 5c5980c + 3bbf4a5 commit 77eb1f8
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
25 changes: 24 additions & 1 deletion Installation.md
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
TODO
## Supported IDE versions
megaTinyCore requires a version of the IDE later than 1.6.3; - it may require a much more recent version of the IDE; this has not been tested. It has been tested with 1.8.9.

## Boards Manager Installation - Not yet available

Board manager support for this core will be added shortly. When it is, it will be possible to install using the boards manager. The boards manager URL is:

`http://drazzy.com/package_drazzy.com_index.json`

1. File -> Preferences, enter the above URL in "Additional Boards Manager URLs"
2. Tools -> Boards -> Boards Manager...
3. Select "megaTinyCore by Spence Konde" and click "Install".

## Manual Installation
Manual installation allows the latest version of the core to be installed, with fixes that may not yet be available in the board manager version of the core.

For a manual installation, the Official Arduino megaAVR board package must be installed using board manager!

For installing megaTinyCore, there are two options:

Option 1: Download the .zip, extract, and place in the hardware folder inside your sketchbook folder (if there is no hardware folder, create it). You can find/set the location of the sketchbook folder in the Arduino IDE at File > Preferences -> Sketchbook location.

Option 2: Download the github client, and sync this repo to the hardware subfolder of your sketchbook folder.

2 changes: 1 addition & 1 deletion MakeUPDIProgrammer.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Download and extract, or clone the repo to your local machine.
## Part 2: Connect hardware
1. Connect a 10uF capacitor (if you don't have a 10uF one, any value higher than 4.7uF is fine) between reset and ground on the Arduino (this must be removed before you upload a different sketch to the Arduino).
2. Connect Ground of Arduino to Ground of the ATTiny
3. Connect Pin 9 of the Arduino to the UPDI pin of the ATTiny - if using the bare chip, connect it via a 4.7k resistor. Many breakout boards will provide a separate UPDI pin that has this resistor built-in; in this case, pin 9 should be connected directly to this programming pin.
3. Connect Pin 6 of the Arduino to the UPDI pin of the ATTiny - if using the bare chip, connect it via a 4.7k resistor. Many breakout boards will provide a separate UPDI pin that has this resistor built-in; in this case, pin 6 should be connected directly to this programming pin.
4. Unless the ATtiny has it's own power supply, connect 5v pin of the Arduino to the Vcc pin of the ATtiny

Now, you should be able to select an ATtiny megaAVR series board from Tools -> Board, and upload a sketch via the IDE. The same programmer can also be used to Burn Bootloader (be sure to select the jtag2updi (megaTinyCore) programmer from Tools -> Programmer menu)
Expand Down
3 changes: 2 additions & 1 deletion megaavr/platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification

name=megaTinyCore
version=1.8.1
version=1.0.0-dev


# AVR compile variables
# ---------------------
Expand Down

0 comments on commit 77eb1f8

Please sign in to comment.