You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ChangeLog.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ These items are in addition to what was listed under changes already in release.
8
8
* Enhancement: We need pinout diagrams for DU-series too!
9
9
* Enhancement: We need pinout diagrams for EB-series too!
10
10
* Enhancement: AVRdude ~7.2~ 8.0 out.
11
-
* Bugfix: Make serialupdi work with EA, EB **CRITICAL**
11
+
*~Bugfix: Make serialupdi work with EA, EB **CRITICAL**~ Donq
12
12
* Enhancement: Implement sleep library
13
13
* Re-add SPI attach and detach.
14
14
* Ensure libraries in sync with megaTinyCore.
@@ -32,6 +32,8 @@ These items are in addition to what was listed under changes already in release.
32
32
* Remove the UPDI as GPIO pin option from non-optiboot parts because an analysis revealed that there was no configuration in which DxCore could be used in it's present form with the UPDI as GPIO option selected could be used with supported hardwae to prodice results other than bricked chips that core and supported hardware is unable to recover. Accordingly, these options should not be left as traps for the unwary.
33
33
* Major documentation improvements focusing on main README.md.
34
34
* Major documentation improvements focusing on Ref_Analog and Ref_Interrupts, the latter of which was previously the same file from megaTinyCore.
35
+
* Correct bug in ADC init code that set Ex-series parts to the wrong ADC clock speed.
36
+
*
35
37
36
38
### 1.5.11 (Emergency fix)
37
39
* At some point in the recent past, I must have angered the gods of C, and suddenly millis disabled stopped working - the system would hang (actually, with in-depth investigation, it was shown to be bootlooping - before it called init(), it was calling 0x0000 (a dirty reset) instead of eliding a weakly defined function with nothing in the body except a return, or with an empty body. Why was it doing this? And why only when millis was disabled?). millis disabled is a key piece of core functionality, necessitating an urgent fix. Moving the definitions into main.cpp resolved this issue. (#485)
Copy file name to clipboardExpand all lines: megaavr/cores/dxcore/core_devices.h
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1042,15 +1042,15 @@ DB silicon with die rev 0x11 is available.*/
1042
1042
#defineADC_MAXIMUM_ACCUMULATE (1024) // This allows the 5 extra bits of resolution
1043
1043
#defineADC_RESULT_SIZE (24)
1044
1044
#defineADC_SIGNCHOPPING (1) // if defined, sign chopping can be enabled
1045
-
#elif defined(ADC0_MUXNEG) /* I don't know what unofficial version to use. It's a *downgrade* of the v2.0 to capabilities below what I dubbed the 1.5 */
1045
+
#elif defined(ADC_LOWLAT_bm)
1046
1046
#defineADC_VERSION (0xFA) // F'n A! The DU had it rough at the hands of the USB natives...
1047
1047
#defineADC_DIFFERENTIAL (0) // They took his differential mode!
1048
-
#defineADC_MAX_OVERSAMPLED_RESOLUTION (13) // He can only remember 64 samples in accumulated mode (memory loss from repeated blows to the head)
1049
-
#defineADC_NATIVE_RESOLUTION (10) // and ah.. they took off two bits... *I told him they weren't friendly...
1050
-
#defineADC_NATIVE_RESOLUTION_LOW (8)
1051
-
#defineADC_MAXIMUM_ACCUMULATE(1024) // This allows the 5 extra bits of resolution
1052
-
#defineADC_RESULT_SIZE (24)
1053
-
#defineADC_SIGNCHOPPING (1)
1048
+
#defineADC_MAX_OVERSAMPLED_RESOLUTION (13) // Memory loss too - He can only remember 64 samples in accumulated mode...
1049
+
#defineADC_NATIVE_RESOLUTION (10) // and ah.. they took off two bits
1050
+
#defineADC_NATIVE_RESOLUTION_LOW (8) // *I told him they weren't friendly...
1051
+
#defineADC_MAXIMUM_ACCUMULATE (64)
1052
+
#defineADC_RESULT_SIZE (16)
1053
+
#defineADC_SIGNCHOPPING (0)
1054
1054
1055
1055
#else// Dx-series ADCs are less fancy.
1056
1056
#defineADC_DIFFERENTIAL (1) // Crapola differential ADC that is effectively kicking off two ADCs at once
0 commit comments