Skip to content

Commit

Permalink
Version 1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ArminJo committed Feb 19, 2021
1 parent a6e3c62 commit 8decf67
Show file tree
Hide file tree
Showing 7 changed files with 68 additions and 37 deletions.
21 changes: 13 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Improved version of Digistump avr core for Arduino
Available as Arduino Board Manager entry "Digistump AVR Boards" using the Board Manager URL: https://raw.githubusercontent.com/ArminJo/DigistumpArduino/master/package_digistump_index.json

### [Version 1.7.1 ](https://github.com/ArminJo/DigistumpArduino/archive/master.zip) - work in progress
### [Version 1.7.3 ](https://github.com/ArminJo/DigistumpArduino/archive/master.zip) - work in progress

[![TestCompile](https://github.com/ArminJo/DigistumpArduino/workflows/TestCompile/badge.svg)](https://github.com/ArminJo/DigistumpArduino/actions)
[![Commits since latest](https://img.shields.io/github/commits-since/ArminJo/DigistumpArduino/latest)](https://github.com/ArminJo/DigistumpArduino/commits/master)
Expand All @@ -27,20 +27,20 @@ Another **great core for ATtinies** with ongoing support is the [ATTinyCore](htt
![Digisparks](https://github.com/ArminJo/micronucleus-firmware/blob/master/pictures/Digisparks.jpg)

# Installation
To get all the benefits, just replace the old Digispark board URL **http://digistump.com/package_digistump_index.json** (e.g. in Arduino *File/Preferences*) by the new **https://raw.githubusercontent.com/ArminJo/DigistumpArduino/master/package_digistump_index.json** and install the **Digistump AVR Boards** version **1.6.8** or later.
To get all the benefits, just replace the old Digispark board URL **http://digistump.com/package_digistump_index.json** (e.g. in Arduino *File/Preferences*) by the new **https://raw.githubusercontent.com/ArminJo/DigistumpArduino/master/package_digistump_index.json** and install the **Digistump AVR Boards** version **1.7.2** or later.
![Boards Manager](https://github.com/ArminJo/DigistumpArduino/blob/master/pictures/Digistump1.6.8.jpg)

## Manual installation
1. Download this repo.
2. Create a directory *C:\Users<YourName>\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.7.0* and extract the *digistump-avr-1.7.0.zip* to it.
3. Create a directory *C:\Users<YourName>\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4* and extract the *tools\micronucleus-2.0a4-win.zip* to it.
2. Create a directory *C:\Users<YourName>\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.7.x* and extract the *digistump-avr-1.7.x.zip* to it.
3. Create a directory *C:\Users<YourName>\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.5* and extract the *tools\micronucleus-cli-2.5-i686-mingw32.zip* to it.
4. Extract the file *package_digistump_index.json* to *C:\Users<YourName>\AppData\Local\Arduino15\*.

As reference you may look at your *C:\Users<YourName>\AppData\Local\Arduino\packages* directory to see how other packages are installed.

## Driver installation
For **Windows** you must install the **Digispark driver** before you can program the board.<br/>
if you have the *Diigistump AVR Boards* already installed, then the driver is located in `%UserProfile%\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.5\Digistump_Drivers`. Just execute the `Install_Digistump_Drivers.bat` file.<br/>
if you have the *Digistump AVR Boards* already installed, then the driver is located in `%UserProfile%\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.5\Digistump_Drivers`. Just execute the `Install_Digistump_Drivers.bat` file.<br/>
**Or** download it [here](https://github.com/digistump/DigistumpArduino/releases/download/1.6.7/Digistump.Drivers.zip), open it and run `InstallDrivers.exe`.

## Update the bootloader to a new version
Expand All @@ -50,8 +50,8 @@ To **update** your old, flash consuming **bootloader**, you have 2 choices.
![Burn Bootloader](https://github.com/ArminJo/DigistumpArduino/blob/master/pictures/Micronucleus_Burn_Bootloader.jpg)<br/>

2. Run one of the Windows [scripts](https://github.com/ArminJo/micronucleus-firmware/tree/master/utils)
like e.g. the [Burn_upgrade-t85_default.cmd](utils/Burn_upgrade-t85_default.cmd). The internal mechanism is described [here](https://github.com/ArminJo/micronucleus-firmware/blob/master/firmware/upgrades/README.md).<br/>
You may also test the [t85_agressive bootloader](https://github.com/ArminJo/micronucleus-firmware#configuration-overview).
like e.g. the [0_Upgrade-t85_recommended.cmd](https://github.com/ArminJo/micronucleus-firmware/tree/master/utils/0_Upgrade-t85_recommended.cmd). The internal mechanism is described [here](https://github.com/ArminJo/micronucleus-firmware/blob/master/firmware/upgrades/README.md).<br/>
You may also test the t85_agressive bootloader, [a configuration overwiew is available here](https://github.com/ArminJo/micronucleus-firmware#configuration-overview).
It works for my boards but the USB timing is not guaranteed as stable as in the other configurations.

## Flash the bootloader to a bricked device
Expand Down Expand Up @@ -107,8 +107,13 @@ INT1 9 (D3) PA3 4| |17 PB3 (D11) 4 OC1BV USB-
The Arduino ESP8266 core available with https://arduino.esp8266.com/stable/package_esp8266com_index.json supports the *Digistump Oak* board now, better use that.

# Revision History
### Version 1.7.3 - work in progress

### Version 1.7.1
### Version 1.7.2
- Updated examples and added warnings for CDC examples.
- Version to force update of all 1.7.1 changes.

### Version 1.7.1 - rolling version
- New micronucleus binaries for all platforms.
- Bootloaders with updated MCUSR handling.

Expand Down
Binary file added digistump-avr-1.7.2.zip
Binary file not shown.
27 changes: 0 additions & 27 deletions digistump-avr/libraries/Digispark_Examples/Infrared/Infrared.ino

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

void setup() {
//If prompted for a pairing code it is 1234, 12345, or 000000
Serial.begin(9600);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
void setup() {
// put your setup code here, to run once:
Serial.begin(9600); //open connection to bt/ble module
Serial.begin(9600);
botInit(); //setup the pins for the bot

}
Expand Down
Binary file added framework-arduino-avr-digistump-1.7.2.zip
Binary file not shown.
54 changes: 54 additions & 0 deletions package_digistump_index.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,60 @@
"online": "https://github.com/ArminJo/DigistumpArduino"
},
"platforms": [
{
"name": "Digistump AVR Boards",
"architecture": "avr",
"version": "1.7.2",
"category": "Digistump",
"url": "https://github.com/ArminJo/DigistumpArduino/raw/master/digistump-avr-1.7.2.zip",
"archiveFileName": "digistump-avr-1.7.2.zip",
"checksum": "SHA-256:3d981077cb01a6a6678d616b6125dc262ad997397ef55cddc646fe9f142819f0",
"size": "2286464",
"help": {
"online": "https://github.com/digistump/DigistumpArduino"
},
"boards": [
{
"name": "Digispark (Default - 16.5 MHz)"
},
{
"name": "Digispark Pro (Default 16 MHz)"
},
{
"name": "Digispark Pro (16 MHz) (16 byte buffer)"
},
{
"name": "Digispark Pro (16 MHz) (32 byte buffer)"
},
{
"name": "Digispark Pro (16 MHz) (64 byte buffer)"
},
{
"name": "Digispark (16 MHz - No USB)"
},
{
"name": "Digispark (8 MHz - No USB)"
},
{
"name": "Digispark (1 MHz - No USB)"
},
{
"name": "MH-ET LIVE Tiny88 (16 MHz ATTinyCore)"
}
],
"toolsDependencies": [
{
"packager": "arduino",
"name": "avr-gcc",
"version": "7.3.0-atmel3.6.1-arduino7"
},
{
"packager": "digistump",
"name": "micronucleus",
"version": "2.5"
}
]
},
{
"name": "Digistump AVR Boards",
"architecture": "avr",
Expand Down

0 comments on commit 8decf67

Please sign in to comment.