From a50144f93e4d15c6b0043c89985b65e039167f7e Mon Sep 17 00:00:00 2001 From: Bernhard Nebel Date: Tue, 27 Jun 2023 23:23:45 +0200 Subject: [PATCH] V1.0.0 --- changelog.txt | 6 ++++-- examples/simple/simple.ino | 1 - library.json | 4 ++-- library.properties | 4 ++-- readme.md | 13 ++++--------- utilities/calibServer/calibServer.ino | 2 +- utilities/calibTarget/calibTarget.ino | 2 +- 7 files changed, 14 insertions(+), 18 deletions(-) diff --git a/changelog.txt b/changelog.txt index 8476add..8ef9551 100644 --- a/changelog.txt +++ b/changelog.txt @@ -83,13 +83,15 @@ V0.6.1 (27.07.2023) - fixed typos in readme - new workflows -V0.6.2 (28.07.2023) +V0.6.2 (27.07.2023) - fixed problem in init for ATtinyX313 -V0.6.3 (28.07.2023) +V0.6.3 (27.07.2023) - fixed problem in setup_* for ATtinyX313 (never call Vcc:measure!) - fixed problem in setup_* for all MCUs using OSCCAL0 - fixed the same problem in avrCalibrate.cpp - added ATmega8(A) - added ATmega16, 32 & 8535 +V1.0.0 (27.06.2023) +- first public release diff --git a/examples/simple/simple.ino b/examples/simple/simple.ino index dab9fb4..aa62c53 100644 --- a/examples/simple/simple.ino +++ b/examples/simple/simple.ino @@ -1,5 +1,4 @@ // This sketch uses the method of using the values stored in EEPROM - // It will wait 10 seconds and then it will call in init #include diff --git a/library.json b/library.json index b52afb9..62923d8 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "avrCalibrate", - "version": "0.6.3", + "version": "1.0.0", "keywords": "calibration, internal reference voltage, MCU clock, OSCCAL", "description": "Supports calibration of OSCCAL and internal reference voltage and supoorts setting them at startup", "repository": @@ -17,7 +17,7 @@ [ { "name": "Vcc", - "version": ""https://github.com/felias-fogg/Vcc.git" + "version": ""https://github.com/felias-fogg/Vcc.git#2.2.0" } ] diff --git a/library.properties b/library.properties index cc80bec..d3c2927 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=avrCalibrate -version=0.6.3 +version=1.0.0 author=Bernhard Nebel maintainer=Bernhard Nebel sentence=Determines calibration values for MCU clock frequency and internal reference voltage and sets them at setup. @@ -7,5 +7,5 @@ paragraph= category=Timing url=https://github.com/felias-fogg/avrCalibrate architectures=avr -depends=Vcc (>=2.0.0) +depends=Vcc (>=2.2.0) includes=avrCalibrate.h diff --git a/readme.md b/readme.md index 11d930a..a90e3cc 100644 --- a/readme.md +++ b/readme.md @@ -1,14 +1,9 @@ # AVR MCU Calibration -[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) - -[![Installation instructions](https://www.ardu-badge.com/badge/avrCalibrate.svg?)](https://www.ardu-badge.com/avrCalibrate) - -[![Build Status](https://github.com/felias-fogg/avrCalibrate/workflows/LibraryBuild/badge.svg)](https://github.com/felias-fogg/avrCalibrate/actions) - +[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)[![Installation instructions](https://www.ardu-badge.com/badge/avrCalibrate.svg?)](https://www.ardu-badge.com/avrCalibrate)[![Build Status](https://github.com/felias-fogg/avrCalibrate/workflows/LibraryBuild/badge.svg)](https://github.com/felias-fogg/avrCalibrate/actions) ![Hit Counter](https://visitor-badge.laobi.icu/badge?page_id=felias-fogg_avrCalibrate) -This library contains just one function to set user calibration values in a (classic) AVR MCU and two sketches that can be used to determine the calibration values by connecting a target board with an Arduino UNO (or a similar board) using an ICSP cable. +This library contains just one function to set user calibration values in a (classic) AVR MCU and two sketches that can be used to determine the calibration values by connecting a target board with an Arduino UNO (or a similar board) using an ICSP cable. It depends on the [*Vcc* library](https://github.com/felias-fogg/Vcc), which you need to install as well (using the library manager or download it from GitHub). ### Purpose @@ -75,10 +70,10 @@ As targets, the following MCUs are supported. On MCUs with only 2K bytes flash m * ATtiny48, ATtiny88 * ATtiny1634 * ATmega48(P)(A/B), ATmega88(P)(A/B), ATmega168(P)(A/B), ATmega328(P)(B) +* Atmega8(A) * ATmega324(P), ATmega644(P), ATmega1284(P), -* ATmega16, ATmega32, ATmega8535 +* ATmega8535, ATmega16, ATmega32 * ATmega1280, ATmega2560 * ATmega32U4, ATmega16U4 (only internal reference voltage calibration) The ATtiny43U board that I own does not deliver meaningful data when one tries to measure Vcc. For this reason, it is not supported. The ATtinyX23 do not have an ADC, so Vcc cannot be measured. Finally, for the USB-MCUs ATmegaXU4, I am not aware of any Arduino core that supports using the RC-oscillator. So, only internal reference voltage calibration is supported. - diff --git a/utilities/calibServer/calibServer.ino b/utilities/calibServer/calibServer.ino index 03cc9ed..93c041c 100644 --- a/utilities/calibServer/calibServer.ino +++ b/utilities/calibServer/calibServer.ino @@ -2,7 +2,7 @@ // open drain pin using Timer1. Additionally, it passes the 1200 baud output of a target board // to Serial. -#define VERSION "0.6.3" +#define VERSION "1.0.0" #define FREQPIN MISO #define TTYPIN SCK diff --git a/utilities/calibTarget/calibTarget.ino b/utilities/calibTarget/calibTarget.ino index 8a5a8ee..c0ad3f6 100644 --- a/utilities/calibTarget/calibTarget.ino +++ b/utilities/calibTarget/calibTarget.ino @@ -17,7 +17,7 @@ // a fully calibrated clock will give us 100000 counts. -#define VERSION "0.6.3" +#define VERSION "1.0.0" //#define TRUEMILLIVOLT 3309 // the true voltage measured in mV #define TRUEMILLIVOLT 5003 // the true voltage measured in mV