From 56515b4375fed876156e6fe9f8ba9490906020a6 Mon Sep 17 00:00:00 2001 From: rob tillaart Date: Wed, 9 Nov 2022 14:34:02 +0100 Subject: [PATCH] 0.3.2 hmc6352 --- libraries/hmc6352/.arduino-ci.yml | 18 ++++++++++ libraries/hmc6352/CHANGELOG.md | 51 ++++++++++++++++++++++++++++ libraries/hmc6352/hmc6352.cpp | 13 ++----- libraries/hmc6352/hmc6352.h | 4 +-- libraries/hmc6352/library.json | 2 +- libraries/hmc6352/library.properties | 2 +- 6 files changed, 75 insertions(+), 15 deletions(-) create mode 100644 libraries/hmc6352/CHANGELOG.md diff --git a/libraries/hmc6352/.arduino-ci.yml b/libraries/hmc6352/.arduino-ci.yml index cecf5850..754e8152 100644 --- a/libraries/hmc6352/.arduino-ci.yml +++ b/libraries/hmc6352/.arduino-ci.yml @@ -1,3 +1,18 @@ +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: @@ -9,3 +24,6 @@ compile: - esp32 # - esp8266 # - mega2560 + - rpipico + libraries: + - "printHelpers" diff --git a/libraries/hmc6352/CHANGELOG.md b/libraries/hmc6352/CHANGELOG.md new file mode 100644 index 00000000..43e0d68b --- /dev/null +++ b/libraries/hmc6352/CHANGELOG.md @@ -0,0 +1,51 @@ +# Change Log HMC6532 + +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.3.2] - 2022-11-09 +- add changelog.md +- add rp2040 to build-CI +- update readme.md + + +## [0.3.1] - 2021-12-19 +- update library.json +- update license +- minor edits + +## [0.3.0] - 2021-06-07 +- add multi-Wire interface +- refactor + +---- + +## [0.2.1] - 2020-12-28 +- Arduino-CI + unit test + +## [0.2.0] - 2020-06-12 +- remove pre1.0 support +- main refactor + +---- + +## [0.1.4 2017-09-13 +- minor refactor + +## [0.1.03 - 2011-04-13 +- fixed small things +- added getHeading() + +## [0.1.02 - 2011-04-12 +- add timing +- fix a bug + +## [0.1.01 - 2011-04-09 +- quite a complete redo + +## [0.1.00 - 2011-04-07 +- initial version + diff --git a/libraries/hmc6352/hmc6352.cpp b/libraries/hmc6352/hmc6352.cpp index 7bcad9d6..4699f060 100644 --- a/libraries/hmc6352/hmc6352.cpp +++ b/libraries/hmc6352/hmc6352.cpp @@ -1,19 +1,10 @@ // // FILE: hmc6352.cpp // AUTHOR: Rob Tillaart -// VERSION: 0.3.1 +// VERSION: 0.3.2 // PURPOSE: Arduino library for HMC6352 digital compass sensor // -// HISTORY: -// 0.1.00 2011-04-07 initial version -// 0.1.01 2011-04-09 quite a complete redo -// 0.1.02 2011-04-12 added timing, fixed a bug -// 0.1.03 2011-04-13 fixed small things; added getHeading() -// 0.1.4 2017-09-13 minor refactor -// 0.2.0 2020-06-12 remove pre1.0 support, main refactor -// 0.2.1 2020-12-28 Arduino-CI + unit test -// 0.3.0 2021-06-07 add multi-Wire interface + refactor -// 0.3.1 2021-12-19 update library.json, license, minor edits +// HISTORY: see changelog.md #include "hmc6352.h" diff --git a/libraries/hmc6352/hmc6352.h b/libraries/hmc6352/hmc6352.h index f905d050..840922d9 100644 --- a/libraries/hmc6352/hmc6352.h +++ b/libraries/hmc6352/hmc6352.h @@ -2,7 +2,7 @@ // // FILE: hmc6352.h // AUTHOR: Rob Tillaart -// VERSION: 0.3.1 +// VERSION: 0.3.2 // PURPOSE: HMC6352 library for Arduino @@ -10,7 +10,7 @@ #include "Arduino.h" -#define HMC6352_LIB_VERSION (F("0.3.1")) +#define HMC6352_LIB_VERSION (F("0.3.2")) // status function calls #define HMC6532_OK 0 diff --git a/libraries/hmc6352/library.json b/libraries/hmc6352/library.json index 8900f417..4132d9bc 100644 --- a/libraries/hmc6352/library.json +++ b/libraries/hmc6352/library.json @@ -15,7 +15,7 @@ "type": "git", "url": "https://github.com/RobTillaart/HMC6352.git" }, - "version": "0.3.1", + "version": "0.3.2", "license": "MIT", "frameworks": "arduino", "platforms": "*", diff --git a/libraries/hmc6352/library.properties b/libraries/hmc6352/library.properties index 535f6f05..92052764 100644 --- a/libraries/hmc6352/library.properties +++ b/libraries/hmc6352/library.properties @@ -1,5 +1,5 @@ name=HMC6352 -version=0.3.1 +version=0.3.2 author=Rob Tillaart maintainer=Rob Tillaart sentence=Experimental Arduino library for HMC6352 digital compass sensor