diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a32915c..bdcf32b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,7 +15,7 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p Please ensure to specify the following: * Arduino IDE version (e.g. 1.8.19) or Platform.io version -* `Arduino mbed_rp2040` Core Version (e.g. Arduino mbed_rp2040 core v2.7.2) or `RP2040` Core Version (e.g. RP2040 core v1.12.0) +* `Arduino mbed_rp2040` Core Version (e.g. Arduino mbed_rp2040 core v2.8.0) or `RP2040` Core Version (e.g. RP2040 core v1.13.0) * `RP2040` Board type (e.g. Nano_RP2040_Connect, RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040, GENERIC_RP2040, etc.) * Contextual information (e.g. what you were trying to achieve) * Simplest possible steps to reproduce @@ -28,10 +28,10 @@ Please ensure to specify the following: ``` Arduino IDE version: 1.8.19 -Arduino mbed_rp2040 core v2.7.2 +Arduino mbed_rp2040 core v2.8.0 RASPBERRY_PI_PICO board OS: Ubuntu 20.04 LTS -Linux xy-Inspiron-3593 5.4.0-100-generic #113-Ubuntu SMP Thu Feb 3 18:43:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux +Linux kh-inspiron-3593 5.13.0-30-generic #33~20.04.1-Ubuntu SMP Mon Feb 7 14:25:10 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux Context: I encountered a crash while trying to use the Timer Interrupt. diff --git a/README.md b/README.md index 2acd4c9..3cae854 100644 --- a/README.md +++ b/README.md @@ -103,8 +103,8 @@ This library enables you to use `1 Hardware Timer` on an RP2040-based board to c ## Prerequisites 1. [`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [![GitHub release](https://img.shields.io/github/release/arduino/Arduino.svg)](https://github.com/arduino/Arduino/releases/latest) -2. [`Arduino mbed_rp2040 core 2.7.2+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino (Use Arduino Board Manager) RP2040-based boards, such as **Arduino Nano RP2040 Connect, RASPBERRY_PI_PICO, etc.**. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest) -3. [`Earle Philhower's arduino-pico core v1.12.0+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [![GitHub release](https://img.shields.io/github/release/earlephilhower/arduino-pico.svg)](https://github.com/earlephilhower/arduino-pico/releases/latest) +2. [`Arduino mbed_rp2040 core 2.8.0+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino (Use Arduino Board Manager) RP2040-based boards, such as **Arduino Nano RP2040 Connect, RASPBERRY_PI_PICO, etc.**. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest) +3. [`Earle Philhower's arduino-pico core v1.13.0+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [![GitHub release](https://img.shields.io/github/release/earlephilhower/arduino-pico.svg)](https://github.com/earlephilhower/arduino-pico/releases/latest) --- @@ -364,7 +364,7 @@ https://github.com/khoih-prog/RP2040_ISR_Servo/blob/39e160439b9b4e7c5238202379bd ``` Starting RP2040_MultipleRandomServos on Mbed RaspberryPi Pico -Mbed RP2040_ISR_Servo v1.1.0 +Mbed RP2040_ISR_Servo v1.1.1 Setup OK Servo index = 0 Setup OK Servo index = 1 Setup OK Servo index = 2 @@ -408,7 +408,7 @@ Servos idx = 5, act. pos. (deg) = 800, pulseWidth (us) = 800 ``` Starting RP2040_MultipleRandomServos on RaspberryPi Pico -RP2040_ISR_Servo v1.1.0 +RP2040_ISR_Servo v1.1.1 Setup OK Servo index = 0 Setup OK Servo index = 1 Setup OK Servo index = 2 @@ -453,7 +453,7 @@ Servos idx = 5, act. pos. (deg) = 800, pulseWidth (us) = 800 ``` Starting RP2040_MultipleServos on RASPBERRY_PI_PICO -RP2040_ISR_Servo v1.1.0 +RP2040_ISR_Servo v1.1.1 Setup OK Servo index = 0 Setup OK Servo index = 1 Setup OK Servo index = 2 @@ -536,6 +536,7 @@ If you want to contribute to this project: - Create issues and pull requests - Tell other people about this library +--- --- ### License diff --git a/changelog.md b/changelog.md index 4d70b15..f698b8a 100644 --- a/changelog.md +++ b/changelog.md @@ -12,7 +12,8 @@ ## Table of Contents * [Changelog](#changelog) - * [Releases v1.1.0](#releases-v110) + * [Releases v1.1.1](#releases-v111) + * [Releases v1.1.0](#releases-v111) * [Releases v1.0.1](#releases-v101) * [Releases v1.0.0](#releases-v100) @@ -21,6 +22,10 @@ ## Changelog +### Releases v1.1.1 + +1. Delete redundant `.cpp` file causing compile error + ### Releases v1.1.0 1. Convert to `h-only` style diff --git a/library.json b/library.json index f04a599..c6cdced 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "RP2040_ISR_Servo", - "version": "1.1.0", + "version": "1.1.1", "keywords": "timing, device, control, timer, interrupt, isr, isr-based, hardware-timer, mission-critical, accuracy, precise, non-blocking, mbed, rpi-pico, rp2040, nano-rp2040-connect, servo", "description": "This library enables you to use 1 Hardware Timer on RP2040-based board, such as Nano_RP2040_Connect, RASPBERRY_PI_PICO, to control up to 16 or more servo motors.", "authors": diff --git a/library.properties b/library.properties index f67d7ed..18f1b32 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=RP2040_ISR_Servo -version=1.1.0 +version=1.1.1 author=Khoi Hoang maintainer=Khoi Hoang license=MIT diff --git a/src/RP2040_ISR_Servo.h b/src/RP2040_ISR_Servo.h index e28e1cb..40dc605 100644 --- a/src/RP2040_ISR_Servo.h +++ b/src/RP2040_ISR_Servo.h @@ -9,13 +9,14 @@ Built by Khoi Hoang https://github.com/khoih-prog/RP2040_ISR_Servo Licensed under MIT license - Version: 1.1.0 + Version: 1.1.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 21/08/2021 Initial coding for RP2040 boards using ArduinoCore-mbed or arduino-pico core 1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO 1.1.0 K Hoang 27/02/2022 Fix setPulseWidth() bug. Convert to h-only style + 1.1.1 K Hoang 08/03/2022 Delete redundant `.cpp` file causing compile error *****************************************************************************************************************************/ #pragma once diff --git a/src/RP2040_ISR_Servo.hpp b/src/RP2040_ISR_Servo.hpp index 632eb3b..7037158 100644 --- a/src/RP2040_ISR_Servo.hpp +++ b/src/RP2040_ISR_Servo.hpp @@ -9,13 +9,14 @@ Built by Khoi Hoang https://github.com/khoih-prog/RP2040_ISR_Servo Licensed under MIT license - Version: 1.1.0 + Version: 1.1.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 21/08/2021 Initial coding for RP2040 boards using ArduinoCore-mbed or arduino-pico core 1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO 1.1.0 K Hoang 27/02/2022 Fix setPulseWidth() bug. Convert to h-only style + 1.1.1 K Hoang 08/03/2022 Delete redundant `.cpp` file causing compile error *****************************************************************************************************************************/ #pragma once @@ -26,12 +27,12 @@ #if ( defined(ARDUINO_ARCH_RP2040) || defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || \ defined(ARDUINO_GENERIC_RP2040) ) && !defined(ARDUINO_ARCH_MBED) - #define RP2040_ISR_SERVO_VERSION "RP2040_ISR_Servo v1.1.0" + #define RP2040_ISR_SERVO_VERSION "RP2040_ISR_Servo v1.1.1" #elif ( defined(ARDUINO_NANO_RP2040_CONNECT) || defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || \ defined(ARDUINO_GENERIC_RP2040) ) && defined(ARDUINO_ARCH_MBED) - #define RP2040_ISR_SERVO_VERSION "Mbed RP2040_ISR_Servo v1.1.0" + #define RP2040_ISR_SERVO_VERSION "Mbed RP2040_ISR_Servo v1.1.1" #else #error This code is intended to run on the mbed / non-mbed RP2040 platform! Please check your Tools->Board setting. @@ -39,9 +40,9 @@ #define RP2040_ISR_SERVO_VERSION_MAJOR 1 #define RP2040_ISR_SERVO_VERSION_MINOR 1 -#define RP2040_ISR_SERVO_VERSION_PATCH 0 +#define RP2040_ISR_SERVO_VERSION_PATCH 1 -#define RP2040_ISR_SERVO_VERSION_INT 1001000 +#define RP2040_ISR_SERVO_VERSION_INT 1001001 #include diff --git a/src/RP2040_ISR_Servo_Debug.h b/src/RP2040_ISR_Servo_Debug.h index 7da2069..aa22db8 100644 --- a/src/RP2040_ISR_Servo_Debug.h +++ b/src/RP2040_ISR_Servo_Debug.h @@ -9,13 +9,14 @@ Built by Khoi Hoang https://github.com/khoih-prog/RP2040_ISR_Servo Licensed under MIT license - Version: 1.1.0 + Version: 1.1.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 21/08/2021 Initial coding for RP2040 boards using ArduinoCore-mbed or arduino-pico core 1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO 1.1.0 K Hoang 27/02/2022 Fix setPulseWidth() bug. Convert to h-only style + 1.1.1 K Hoang 08/03/2022 Delete redundant `.cpp` file causing compile error *****************************************************************************************************************************/ #pragma once diff --git a/src/RP2040_ISR_Servo_Impl.h b/src/RP2040_ISR_Servo_Impl.h index 691d658..a973327 100644 --- a/src/RP2040_ISR_Servo_Impl.h +++ b/src/RP2040_ISR_Servo_Impl.h @@ -9,13 +9,14 @@ Built by Khoi Hoang https://github.com/khoih-prog/RP2040_ISR_Servo Licensed under MIT license - Version: 1.1.0 + Version: 1.1.1 Version Modified By Date Comments ------- ----------- ---------- ----------- 1.0.0 K Hoang 21/08/2021 Initial coding for RP2040 boards using ArduinoCore-mbed or arduino-pico core 1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO 1.1.0 K Hoang 27/02/2022 Fix setPulseWidth() bug. Convert to h-only style + 1.1.1 K Hoang 08/03/2022 Delete redundant `.cpp` file causing compile error *****************************************************************************************************************************/ #pragma once