From e2becd81d48306f8cb2e7034e593de9ac2c945f9 Mon Sep 17 00:00:00 2001 From: Rob Tillaart Date: Fri, 24 May 2024 17:08:58 +0200 Subject: [PATCH] 0.3.1 AD568X --- libraries/AD568X/AD568X.cpp | 2 +- libraries/AD568X/AD568X.h | 9 ++++++--- libraries/AD568X/CHANGELOG.md | 3 +++ libraries/AD568X/library.json | 2 +- libraries/AD568X/library.properties | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/libraries/AD568X/AD568X.cpp b/libraries/AD568X/AD568X.cpp index 1ad74e8b..0594ff09 100644 --- a/libraries/AD568X/AD568X.cpp +++ b/libraries/AD568X/AD568X.cpp @@ -1,7 +1,7 @@ // // FILE: AD568X.cpp // AUTHOR: Rob Tillaart -// VERSION: 0.3.0 +// VERSION: 0.3.1 // DATE: 2023-09-18 // PURPOSE: Arduino library for AD568X series Digital Analog Convertor. // URL: https://github.com/RobTillaart/AD568X diff --git a/libraries/AD568X/AD568X.h b/libraries/AD568X/AD568X.h index dbd51823..bde1f4d9 100644 --- a/libraries/AD568X/AD568X.h +++ b/libraries/AD568X/AD568X.h @@ -2,7 +2,7 @@ // // FILE: AD568X.h // AUTHOR: Rob Tillaart -// VERSION: 0.3.0 +// VERSION: 0.3.1 // DATE: 2023-09-18 // PURPOSE: Arduino library for AD568X series Digital Analog Convertor. // URL: https://github.com/RobTillaart/AD568X @@ -11,11 +11,14 @@ #include "Arduino.h" #include "SPI.h" -#define AD568X_LIB_VERSION (F("0.3.0")) +#define AD568X_LIB_VERSION (F("0.3.1")) #ifndef __SPI_CLASS__ - #if defined(ARDUINO_ARCH_RP2040) + // MBED must be tested before RP2040 + #if defined(ARDUINO_ARCH_MBED) + #define __SPI_CLASS__ SPIClass + #elif defined(ARDUINO_ARCH_RP2040) #define __SPI_CLASS__ SPIClassRP2040 #else #define __SPI_CLASS__ SPIClass diff --git a/libraries/AD568X/CHANGELOG.md b/libraries/AD568X/CHANGELOG.md index 6352ed92..f41c5453 100644 --- a/libraries/AD568X/CHANGELOG.md +++ b/libraries/AD568X/CHANGELOG.md @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [0.3.1] - 2024-05-24 +- add support for ARDUINO_ARCH_MBED + ## [0.3.0] - 2024-01-19 - Fix #7, improve handling SPI dependency. diff --git a/libraries/AD568X/library.json b/libraries/AD568X/library.json index d2abdeeb..d3ca16c4 100644 --- a/libraries/AD568X/library.json +++ b/libraries/AD568X/library.json @@ -15,7 +15,7 @@ "type": "git", "url": "https://github.com/RobTillaart/AD568X.git" }, - "version": "0.3.0", + "version": "0.3.1", "license": "MIT", "frameworks": "*", "platforms": "*", diff --git a/libraries/AD568X/library.properties b/libraries/AD568X/library.properties index f94d937d..a6693f45 100644 --- a/libraries/AD568X/library.properties +++ b/libraries/AD568X/library.properties @@ -1,5 +1,5 @@ name=AD568X -version=0.3.0 +version=0.3.1 author=Rob Tillaart maintainer=Rob Tillaart sentence=Arduino library for AD568X series Digital Analog Convertor.