Skip to content

Commit

Permalink
Fix #575
Browse files Browse the repository at this point in the history
  • Loading branch information
SpenceKonde committed Dec 22, 2021
1 parent a341b16 commit 2ca4aca
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ This page documents (nearly) all bugfixes and enhancements that produce visible
Changes listed here are checked in to GitHub ("master" branch unless specifically noted; this is only done when a change involves a large amount of work and breaks the core in the interim, or where the change is considered very high risk, and needs testing by others prior to merging the changes with master). These changes are not yet in any "release" nor can they be installed through board manager, only downloading latest code from github will work. These changes will be included in the listed version, though planned version numbers may change without notice - critical fixes may be inserted before a planned release and the planned release bumped up a version, or versions may go from patch to minor version depending on the scale of changes.

### Planed 2.5.x
* Make software serial suck somewhat less by performing a single bitwise-and to calculate the result of the modulo operator, instead of dividing a 2-byte signed value which we know will never be larger than twice the buffer size (of 64) and hence fits in a single unsigned byte.

### Ongoing
* Port enhanced documentation from DxCore.

## Released Versions

## 2.5.3
* **CRITICAL BUGFIX** Serial-using sketches wouldfail to compile if they were large enough.
* Make software serial suck somewhat less by performing a single bitwise-and to calculate the result of the modulo operator, instead of dividing a 2-byte signed value which we know will never be larger than twice the buffer size (of 64) and hence fits in a single unsigned byte.

## 2.5.2
* **CRITICAL BUGFIX** - burn bootloader was broken on most parts.

Expand Down
6 changes: 3 additions & 3 deletions megaavr/cores/megatinycore/WInterrupts.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@
"push r1" "\n\t"
"push r16" "\n\t"
"ldi r16, 0" "\n\t"
"jmp AttachedISR" "\n\t"
::);
isrBody();
__builtin_unreachable();
}
#endif
Expand All @@ -243,8 +243,8 @@
"push r1" "\n\t"
"push r16" "\n\t"
"ldi r16, 2" "\n\t"
"jmp AttachedISR" "\n\t"
::);
isrBody();
__builtin_unreachable();
}
#endif
Expand All @@ -254,8 +254,8 @@
"push r1" "\n\t"
"push r16" "\n\t"
"ldi r16, 4" "\n\t"
"jmp AttachedISR" "\n\t"
::);
isrBody();
__builtin_unreachable();
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion megaavr/platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
name=megaTinyCore
versionnum.major=2
versionnum.minor=5
versionnum.patch=2
versionnum.patch=3
versionnum.postfix=
versionnum.released=1

Expand Down

0 comments on commit 2ca4aca

Please sign in to comment.