Skip to content

Commit

Permalink
2.0.5 (quick fix for new bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpenceKonde committed Jul 8, 2020
1 parent aeb939c commit 0a83e42
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
2.0.5
* Quick fix to naming of .hex and .lst files
2.0.4
* Switch to new and improved compiler toolchain - now get informative errors if sketch is too big on parts that use RJMP, bugfix for eeprom.h (not to be confused with EEPROM.h), various header improvements (board manager install only).
* Improve naming of exported binary and assembler listings - now includes every setting that could impact the output!
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ This core depends on the 7.3.0-atmel3.6.1-arduino7 version of the toolchain. For
* [ATtiny1604,804,404,204](megaavr/extras/ATtiny_x04.md)
* [ATtiny402,202](megaavr/extras/ATtiny_x02.md)

The automotive versions of these parts are also supported - however, as of early July 2020, those parts do not appear to be available. The extended temperature range (F-spec) parts are not the same as the automotive version.

### Upcoming tinyAVR 2-series
Microchip has dropped hints that they are working on a tinyAVR "2-series" product line, with part numbers like ATtiny 1626 - there is currently no publically available information on these devices beyond what can be deduced from the io.h headers for these parts, and what is listed in Microchip's listing of AVR processors. Based on the io.h, it looks like these parts will **not** use the DA-style NVM controller and will **not** have the async type-D timer like the 1-series, but will have a second USART (that scream you just heard in the distance was the ATtiny 841 and 1634, whose sole claim to relevance in the face of these new parts was their second hardware USART) and more sophisticated ADC (12 bit, and differential ADC support - queue another scream from the '841, which also had a fancy differential ADC - not that any Arduino people were likely using it). It also looks like the clock frequency will be set like the other tinyAVR 0-series and 1-series parts, with the oscillator frequency of 20MHz vs 16MHz set by fuse, and prescaler configured after startup to choose operating frequency. No information has been made available regarding the timing of their availability. When these parts are available, support for them will be added to this core.
Microchip has dropped hints that they are working on a tinyAVR "2-series" product line, with part numbers like ATtiny 1626 - there is currently no publically available information on these devices beyond what can be deduced from the io.h headers for these parts, and what is listed in Microchip's listing of AVR processors. Based on the io.h, it looks like these parts will **not** use the DA-style NVM controller and will **not** have the async type-D timer like the 1-series, but will have a second USART (that scream you just heard in the distance was the ATtiny 841 and 1634, whose sole claim to relevance in the face of these new parts was their second hardware USART) and more sophisticated ADC (12 bit, and differential ADC support - queue another scream from the '841, which also had a fancy differential ADC - not that any Arduino people were likely using it). It also looks like the clock frequency will be set like the other tinyAVR 0-series and 1-series parts, with the oscillator frequency of 20MHz vs 16MHz set by fuse, and prescaler configured after startup to choose operating frequency, as opposed to the scheme used by the AVR-Dx-series parts). No information has been made available regarding the timing of their availability. When these parts are available, support for them will be added to this core.

## Supported Clock Speeds
* 20MHz Internal (4.5v~5.5v - typical for 5v systems)
Expand All @@ -40,6 +41,9 @@ Microchip has dropped hints that they are working on a tinyAVR "2-series" produc
* 4MHz Internal (1.8v~5.5v)
* 1MHz Internal (1.8v~5.5v)

The 16 MHz and 8 MHz speeds are supported at an extended temperature range on the F-spec (-40~125C) parts.
The Automotive versions of these parts do not provide a 20 MHz oscillator option, so 20 MHz, 10 MHz, and 5 MHz clock options will not work on those parts.

These parts do not support using an external crystal like the classic ATtiny parts do, however the internal oscillator is tightly calibrated enough that the internal clock will work for UART communication.

## The hardware reset pin is shared with UPDI programming.
Expand Down
4 changes: 4 additions & 0 deletions megaavr/boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ menu.bootloaderuart=UART for Bootloader
atxy7.name=ATtiny3217/1617/1607/817/807/417
atxy7.upload.workaround=
atxy7.build.defaultmillistimer=D0
atxy7.build.bootload=
atxy7.build.mcu=attiny{build.attiny}
atxy7.build.millis=-DMILLIS_USE_TIMER{build.millistimer}
atxy7.build.f_cpu={build.speed}000000L
Expand Down Expand Up @@ -168,6 +169,7 @@ atxy7.bootloader.flashcommand=
atxy6.name=ATtiny3216/1616/1606/816/806/416/406
atxy6.upload.workaround=
atxy6.build.defaultmillistimer=D0
atxy6.build.bootload=
atxy6.build.mcu=attiny{build.attiny}
atxy6.build.millis=-DMILLIS_USE_TIMER{build.millistimer}
atxy6.build.f_cpu={build.speed}000000L
Expand Down Expand Up @@ -312,6 +314,7 @@ atxy6.bootloader.flashcommand=
atxy4.name=ATtiny1614/1604/814/804/414/404/214/204
atxy4.upload.workaround=
atxy4.build.defaultmillistimer=D0
atxy4.build.bootload=
atxy4.build.mcu=attiny{build.attiny}
atxy4.build.millis=-DMILLIS_USE_TIMER{build.millistimer}
atxy4.build.f_cpu={build.speed}000000L
Expand Down Expand Up @@ -461,6 +464,7 @@ atxy4.bootloader.flashcommand=
atxy2.name=ATtiny412/402/212/202
atxy2.upload.workaround=
atxy2.build.defaultmillistimer=D0
atxy2.build.bootload=
atxy2.build.mcu=attiny{build.attiny}
atxy2.build.millis=-DMILLIS_USE_TIMER{build.millistimer}
atxy2.build.f_cpu={build.speed}000000L
Expand Down
4 changes: 2 additions & 2 deletions megaavr/cores/arduino/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,10 @@ void setup_timers();
#error "Can't-happen: unknown chip somehow being used!"
#endif

#define MEGATINYCORE "2.0.4"
#define MEGATINYCORE "2.0.5"
#define MEGATINYCORE_MAJOR 2
#define MEGATINYCORE_MINOR 0
#define MEGATINYCORE_PATCH 4
#define MEGATINYCORE_PATCH 5
#define MEGATINYCORE_RELEASED 1
#define MEGATINYCORE_NUM 0x02000401

Expand Down
2 changes: 1 addition & 1 deletion megaavr/platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification

name=megaTinyCore
version=2.0.4
version=2.0.5

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

0 comments on commit 0a83e42

Please sign in to comment.