Skip to content

Releases: SpenceKonde/megaTinyCore

1.1.8 - Critical bugfix

21 Mar 00:13
Compare
Choose a tag to compare

1.1.7 introduced a bug that prevented compilation with TCA0 as clock source. This update corrects that issue.

I need to get travis set up for this core in the worst way...

This is the version for board manager installation

1.1.8 - Critical bugfix

20 Mar 23:58
Compare
Choose a tag to compare

1.1.7 introduced a bug that prevented compilation with TCA0 as clock source. This update corrects that issue.

I need to get travis set up for this core in the worst way...

This is the version for manual installation

1.1.7 - Bugfix for RTC for millis, Servo and tone enhancements

20 Mar 07:51
Compare
Choose a tag to compare

This is a primarily a bugfix release, but also pulls in a few new features.

  • Fix compile issue with RTC as millis source introduced in 1.1.6.
  • Fix issue with tone not moving to TCB1 if available when TCB0 used for millis.
  • Servo now works even if TCA0 prescaler changed.
  • TCB as millis source more efficient - the ISR and calls to the timekeeping functions are faster now.
  • Removed dead code

This is the version for manual installation.

1.1.7 - Bugfix for RTC for millis, Servo and tone enhancements

20 Mar 07:46
Compare
Choose a tag to compare

This is a primarily a bugfix release, but also pulls in a few new features.

  • Fix compile issue with RTC as millis source introduced in 1.1.6.
  • Fix issue with tone not moving to TCB1 if available when TCB0 used for millis.
  • Servo now works even if TCA0 prescaler changed.
  • TCB as millis source more efficient - the ISR and calls to the timekeeping functions are faster now.
  • Removed dead code

This is the version for board manager installation.

1.1.6 - Timer improvements, Logic library and more

18 Mar 14:37
76693f3
Compare
Choose a tag to compare

This change introduces some enhancements relating to things that use TCB0 or TCB1. Specifically, with the exception of Servo, everything included with the core that uses a type B timer does not depend on the TCA0 prescaler being set to any particular value, so you are free to use one of these for timekeeping and "take over" TCA0 and reconfigure it as you please. Note that many of the registers are set by the core initialization to set up PWM via analogWrite() - If you are going to reconfigure it, be sure to reset all of them to your desired settings - do not trust that they will be set to the default values from the datasheet.

When using Optiboot, you can choose to set the UPDI pin as an I/O pin - like setting it to act as reset, this prevents further UPDI programming, Since you cannot reset into the bootloader that way, the bootloader image used will run for 8 seconds after power is applied (and after a software reset), like when Optiboot is used with that pin set as UPDI.. Additionally, the long-broken Logic library, a wrapper around the CCL peripherals, is now properly supported. There are also some other lesser bug fixes: Serial will no longer output gibberish if data is sent just after Serial.begin(). The issues with disabling the DAC via the menu for 14-pin and 20-pin parts have been fixed. Oh, and pulseIn() now honors the timeout value when no pulse is detected (previously in all versions, including official AVR boards,, this expired in 11/16ths of the specified time, though pulse times were correct).

This is a big change - start playing with it, and let me know what I broke!

This is the version for manual installation.

1.1.6 - Timer improvements, Logic library and more

18 Mar 14:36
96d525e
Compare
Choose a tag to compare

This change introduces some enhancements relating to things that use TCB0 or TCB1. Specifically, with the exception of Servo, everything included with the core that uses a type B timer does not depend on the TCA0 prescaler being set to any particular value, so you are free to use one of these for timekeeping and "take over" TCA0 and reconfigure it as you please. Note that many of the registers are set by the core initialization to set up PWM via analogWrite() - If you are going to reconfigure it, be sure to reset all of them to your desired settings - do not trust that they will be set to the default values from the datasheet.

When using Optiboot, you can choose to set the UPDI pin as an I/O pin - like setting it to act as reset, this prevents further UPDI programming, Since you cannot reset into the bootloader that way, the bootloader image used will run for 8 seconds after power is applied (and after a software reset), like when Optiboot is used with that pin set as UPDI.. Additionally, the long-broken Logic library, a wrapper around the CCL peripherals, is now properly supported. There are also some other lesser bug fixes: Serial will no longer output gibberish if data is sent just after Serial.begin(). The issues with disabling the DAC via the menu for 14-pin and 20-pin parts have been fixed. Oh, and pulseIn() now honors the timeout value when no pulse is detected (previously in all versions, including official AVR boards,, this expired in 11/16ths of the specified time, though pulse times were correct).

This is a big change - start playing with it, and let me know what I broke!

This is the version for board manager installation.

1.1.5 - RTC millis option, timer-related fixes

24 Jan 06:22
Compare
Choose a tag to compare

This release introduces a new option to use the RTC timer as the clock source for millis(). When this is used, micros() is disabled. If standby sleep is used (which uses only slightly more power than powerdown), millis will keep count during sleep (but a small extra step is needed to ensure that it stays asleep when the millis interrupt wakes it, see the README). This update also makes some small improvements in flash usage within the timing code, and fixes the option to disable millis/micros entirely to save flash (this was broken in 1.1.3). Finally, the variant.c file was eliminated and its contents moved elsewhere to improve maintainability. Part-specific documentation pages have also been updated.

This is the version for board manager installation.

1.1.5 - RTC millis option, timer-related fixes

24 Jan 03:52
797fd60
Compare
Choose a tag to compare

This release introduces a new option to use the RTC timer as the clock source for millis(). When this is used, micros() is disabled. If standby sleep is used (which uses only slightly more power than powerdown), millis will keep count during sleep (but a small extra step is needed to ensure that it stays asleep when the millis interrupt wakes it, see the README). This update also makes some small improvements in flash usage within the timing code, and fixes the option to disable millis/micros entirely to save flash (this was broken in 1.1.3). Finally, the variant.c file was eliminated and its contents moved elsewhere to improve maintainability. Part-specific documentation pages have also been updated.

1.1.4 - urgent bugfix for 1.1.3

07 Jan 02:50
Compare
Choose a tag to compare

This fixes a few critical bugs introduced in 1.1.3. No other changes are included.

This is the version for manual installation

1.1.4 - urgent bugfix for 1.1.3

07 Jan 02:56
Compare
Choose a tag to compare

This fixes a few critical bugs introduced in 1.1.3. No other changes are included.

This is the version for board manager installation