0.2.2 Adler

This commit is contained in:
rob tillaart 2022-10-27 10:21:11 +02:00
parent e82502b280
commit fdb913bf85
17 changed files with 49 additions and 26 deletions

View File

@ -1,14 +1,30 @@
platforms:
rpipico:
board: rp2040:rp2040:rpipico
package: rp2040:rp2040
gcc:
features:
defines:
- ARDUINO_ARCH_RP2040
warnings:
flags:
packages:
rp2040:rp2040:
url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
compile:
# Choosing to run compilation tests on 2 different Arduino platforms
platforms:
- uno
- due
- zero
- leonardo
# - due
# - zero
# - leonardo
- m4
- esp32
- esp8266
- mega2560
# - mega2560
- rpipico
libraries:
- "printHelpers"

View File

@ -1,7 +1,7 @@
//
// FILE: Adler.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.1
// VERSION: 0.2.2
// DATE: 2022-01-27
// PURPOSE: Arduino Library for calculating Adler checksum
// URL: https://github.com/RobTillaart/Adler

View File

@ -2,7 +2,7 @@
//
// FILE: Adler.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.1
// VERSION: 0.2.2
// DATE: 2022-01-27
// PURPOSE: Arduino Library for calculating Adler checksum
// URL: https://github.com/RobTillaart/Adler
@ -12,7 +12,7 @@
#include "Arduino.h"
#define ADLER_LIB_VERSION (F("0.2.1"))
#define ADLER_LIB_VERSION (F("0.2.2"))
const uint32_t ADLER32_MOD_PRIME = 65521;

View File

@ -1,7 +1,7 @@
//
// FILE: Adler16.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.1
// VERSION: 0.2.2
// DATE: 2022-06-14
// PURPOSE: Arduino Library for calculating Adler-16 checksum
// URL: https://github.com/RobTillaart/Adler
@ -11,7 +11,6 @@
// HISTORY: see CHANGELOG.md
#include "Adler16.h"

View File

@ -2,7 +2,7 @@
//
// FILE: Adler16.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.1
// VERSION: 0.2.2
// DATE: 2022-06-15
// PURPOSE: Arduino Library for calculating Adler-16 checksum
// URL: https://github.com/RobTillaart/Adler
@ -13,7 +13,7 @@
#include "Arduino.h"
#define ADLER16_LIB_VERSION (F("0.2.1"))
#define ADLER16_LIB_VERSION (F("0.2.2"))
// largest prime below 2^8

View File

@ -1,7 +1,7 @@
//
// FILE: Adler32.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.1
// VERSION: 0.2.2
// DATE: 2022-01-27
// PURPOSE: Arduino Library for calculating Adler-32 checksum
// URL: https://github.com/RobTillaart/Adler
@ -10,7 +10,6 @@
// HISTORY: see CHANGELOG.md
#include "Adler32.h"

View File

@ -2,7 +2,7 @@
//
// FILE: Adler.h
// AUTHOR: Rob Tillaart
// VERSION: 0.2.1
// VERSION: 0.2.2
// DATE: 2022-01-27
// PURPOSE: Arduino Library for calculating Adler-32 checksum
// URL: https://github.com/RobTillaart/Adler
@ -12,7 +12,7 @@
#include "Arduino.h"
#define ADLER32_LIB_VERSION (F("0.2.1"))
#define ADLER32_LIB_VERSION (F("0.2.2"))
// largest prime below 2^16

View File

@ -1,19 +1,21 @@
# Change Log
# Change Log ADLER
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [0.2.1] - 2022-09-20
## [0.2.2] - 2022-10-26
- add RP2040 to build-CI
## [0.2.1] - 2022-09-20
- return value added to **add(array)**
- return value added to **addFast(array, length)**
- update documentation (e.g. timing table).
- moved count() to .cpp
## [0.2.0] - 2022-06-15
- breaking change
- reordering files.
- Adler.h for static functions
@ -21,8 +23,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Adler16.h for Adler16 class (experimental).
- Added optimizations.
## [0.1.2] - 2022-06-13
----
## [0.1.2] - 2022-06-13
- split interface and implementation
- rename ADLER32_MOD_PRIME
- rename ADLER32_LIB_VERSION
@ -30,11 +33,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- add char interfaces
## [0.1.1] - 2022-04-15
- split of .cpp file
### [0.1.0] - 2022-01-27
- initial version

View File

@ -2,6 +2,8 @@
// FILE: Adler16_performance.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/Adler
#include "Arduino.h"
#include "Adler16.h"
@ -30,7 +32,6 @@ nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui.";
char hello[] = "hello world";
void setup()
{
Serial.begin(115200);

View File

@ -2,6 +2,8 @@
// FILE: Adler16_test.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/Adler
#include "Arduino.h"
#include "Adler16.h"

View File

@ -2,6 +2,8 @@
// FILE: Adler32_performance.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/Adler
#include "Arduino.h"
#include "Adler32.h"

View File

@ -2,12 +2,13 @@
// FILE: Adler32_performance_addFast.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/Adler
#include "Arduino.h"
#include "Adler32.h"
Adler32 ad;
volatile uint8_t z;

View File

@ -2,6 +2,7 @@
// FILE: Adler32_test.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/Adler
#include "Arduino.h"
#include "Adler32.h"

View File

@ -2,6 +2,7 @@
// FILE: Adler_performance.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/Adler
#include "Arduino.h"
#include "Adler.h"

View File

@ -2,7 +2,7 @@
// FILE: Adler_test.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/Adler
#include "Arduino.h"
#include "Adler.h"

View File

@ -15,7 +15,7 @@
"type": "git",
"url": "https://github.com/RobTillaart/Adler.git"
},
"version": "0.2.1",
"version": "0.2.2",
"license": "MIT",
"frameworks": "arduino",
"platforms": "*",

View File

@ -1,5 +1,5 @@
name=Adler
version=0.2.1
version=0.2.2
author=Rob Tillaart <rob.tillaart@gmail.com>
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
sentence=Arduino Library for calculating Adler-32 and Adler-16 checksum.