Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit 7fdfec5

Browse files
authored
v1.0.1 to fix platform
For `library.json` ``` "platforms": ["raspberrypi"], ```
1 parent 4938e4e commit 7fdfec5

File tree

10 files changed

+54
-53
lines changed

10 files changed

+54
-53
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1414

1515
Please ensure to specify the following:
1616

17-
* Arduino IDE version (e.g. 1.8.15) or Platform.io version
18-
* `Arduino mbed_rp2040` Core Version (e.g. Arduino mbed_rp2040 core v2.4.1) or `RP2040` Core Version (e.g. RP2040 core v1.9.4)
17+
* Arduino IDE version (e.g. 1.8.16) or Platform.io version
18+
* `Arduino mbed_rp2040` Core Version (e.g. Arduino mbed_rp2040 core v2.5.2) or `RP2040` Core Version (e.g. RP2040 core v1.9.5)
1919
* `RP2040` Board type (e.g. Nano_RP2040_Connect, RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040, GENERIC_RP2040, etc.)
2020
* Contextual information (e.g. what you were trying to achieve)
2121
* Simplest possible steps to reproduce
@@ -27,11 +27,11 @@ Please ensure to specify the following:
2727
### Example
2828

2929
```
30-
Arduino IDE version: 1.8.15
31-
Arduino mbed_rp2040 core v2.4.1
30+
Arduino IDE version: 1.8.16
31+
Arduino mbed_rp2040 core v2.5.2
3232
RASPBERRY_PI_PICO board
3333
OS: Ubuntu 20.04 LTS
34-
Linux xy-Inspiron-3593 5.4.0-81-generic #91-Ubuntu SMP Thu Jul 15 19:09:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
34+
Linux xy-Inspiron-3593 5.4.0-86-generic #97-Ubuntu SMP Fri Sep 17 19:19:40 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
3535
3636
Context:
3737
I encountered a crash while trying to use the Timer Interrupt.

README.md

Lines changed: 7 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
* [Features](#features)
1616
* [Important Notes about using ISR](#important-notes-about-using-isr)
1717
* [Currently supported Boards](#currently-supported-boards)
18-
* [Changelog](#changelog)
19-
* [Releases v1.0.0](#releases-v100)
18+
* [Changelog](changelog.md)
2019
* [Prerequisites](#prerequisites)
2120
* [Installation](#installation)
2221
* [Use Arduino Library Manager](#use-arduino-library-manager)
@@ -35,7 +34,6 @@
3534
* [3. RP2040_MultipleServos on RaspberryPi Pico](#3-rp2040_multipleservos-on-raspberrypi-pico)
3635
* [Debug](#debug)
3736
* [Troubleshooting](#troubleshooting)
38-
* [Releases](#releases)
3937
* [Issues](#issues)
4038
* [TO DO](#to-do)
4139
* [DONE](#done)
@@ -85,25 +83,14 @@ This library enables you to use `1 Hardware Timer` on an RP2040-based board to c
8583
1. RP2040-based boards such as **Nano_RP2040_Connect, RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed)
8684
1. RP2040-based boards such as **Nano_RP2040_Connect, RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. using [**Earle Philhower's arduino-pico core**](https://github.com/earlephilhower/arduino-pico)
8785

88-
---
89-
---
90-
91-
## Changelog
92-
93-
### Releases v1.0.0
94-
95-
1. Basic 16 ISR-based servo controllers using 1 hardware timer for RP2040-based board
96-
2. Support to both [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed) and [**Earle Philhower's arduino-pico core**](https://github.com/earlephilhower/arduino-pico)
97-
98-
9986
---
10087
---
10188

10289
## Prerequisites
10390

104-
1. [`Arduino IDE 1.8.15+`](https://www.arduino.cc/en/Main/Software)
105-
2. [`Arduino mbed_rp2040 core 2.4.1+`](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)
106-
3. [`Earle Philhower's arduino-pico core v1.9.4+`](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)
91+
1. [`Arduino IDE 1.8.16+`](https://www.arduino.cc/en/Main/Software)
92+
2. [`Arduino mbed_rp2040 core 2.5.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)
93+
3. [`Earle Philhower's arduino-pico core v1.9.5+`](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)
10794

10895
---
10996

@@ -441,7 +428,7 @@ void loop()
441428
442429
```
443430
Starting RP2040_MultipleRandomServos on Mbed RaspberryPi Pico
444-
Mbed RP2040_ISR_Servo v1.0.0
431+
Mbed RP2040_ISR_Servo v1.0.1
445432
Setup OK Servo index = 0
446433
Setup OK Servo index = 1
447434
Setup OK Servo index = 2
@@ -485,7 +472,7 @@ Servos idx = 5, act. pos. (deg) = 800, pulseWidth (us) = 800
485472
486473
```
487474
Starting RP2040_MultipleRandomServos on RaspberryPi Pico
488-
RP2040_ISR_Servo v1.0.0
475+
RP2040_ISR_Servo v1.0.1
489476
Setup OK Servo index = 0
490477
Setup OK Servo index = 1
491478
Setup OK Servo index = 2
@@ -530,7 +517,7 @@ Servos idx = 5, act. pos. (deg) = 800, pulseWidth (us) = 800
530517
```
531518

532519
Starting RP2040_MultipleServos on RASPBERRY_PI_PICO
533-
RP2040_ISR_Servo v1.0.0
520+
RP2040_ISR_Servo v1.0.1
534521
Setup OK Servo index = 0
535522
Setup OK Servo index = 1
536523
Setup OK Servo index = 2
@@ -562,16 +549,6 @@ If you get compilation errors, more often than not, you may need to install a ne
562549
Sometimes, the library will only work if you update the board core to the latest version because I am using newly added functions.
563550

564551

565-
---
566-
---
567-
568-
## Releases
569-
570-
### Releases v1.0.0
571-
572-
1. Basic 16 ISR-based servo controllers using 1 hardware timer for RP2040-based board
573-
2. Support to both [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed) and [**Earle Philhower's arduino-pico core**](https://github.com/earlephilhower/arduino-pico)
574-
575552
---
576553
---
577554

changelog.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# RP2040_ISR_Servo Library
2+
3+
[![arduino-library-badge](https://www.ardu-badge.com/badge/RP2040_ISR_Servo.svg?)](https://www.ardu-badge.com/RP2040_ISR_Servo)
4+
[![GitHub release](https://img.shields.io/github/release/khoih-prog/RP2040_ISR_Servo.svg)](https://github.com/khoih-prog/RP2040_ISR_Servo/releases)
5+
[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/khoih-prog/RP2040_ISR_Servo/blob/main/LICENSE)
6+
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](#Contributing)
7+
[![GitHub issues](https://img.shields.io/github/issues/khoih-prog/RP2040_ISR_Servo.svg)](http://github.com/khoih-prog/RP2040_ISR_Servo/issues)
8+
9+
---
10+
---
11+
12+
## Table of Contents
13+
14+
* [Changelog](#changelog)
15+
* [Releases v1.0.1](#releases-v101)
16+
* [Releases v1.0.0](#releases-v100)
17+
18+
---
19+
---
20+
21+
## Changelog
22+
23+
### Releases v1.0.1
24+
25+
1. Fix platform in `library.json`
26+
2. Add `changelog.md`
27+
28+
### Releases v1.0.0
29+
30+
1. Basic 16 ISR-based servo controllers using 1 hardware timer for RP2040-based board
31+
2. Support to both [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed) and [**Earle Philhower's arduino-pico core**](https://github.com/earlephilhower/arduino-pico)
32+
33+

examples/RP2040_MultipleRandomServos/RP2040_MultipleRandomServos.ino

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@
1515
1616
Based on BlynkTimer.h
1717
Author: Volodymyr Shymanskyy
18-
19-
Version: 1.0.0
20-
21-
Version Modified By Date Comments
22-
------- ----------- ---------- -----------
23-
1.0.0 K Hoang 21/08/2021 Initial coding for RP2040 boards using ArduinoCore-mbed or arduino-pico core
2418
*****************************************************************************************************************************/
2519

2620
/****************************************************************************************************************************

examples/RP2040_MultipleServos/RP2040_MultipleServos.ino

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@
1515
1616
Based on BlynkTimer.h
1717
Author: Volodymyr Shymanskyy
18-
19-
Version: 1.0.0
20-
21-
Version Modified By Date Comments
22-
------- ----------- ---------- -----------
23-
1.0.0 K Hoang 21/08/2021 Initial coding for RP2040 boards using ArduinoCore-mbed or arduino-pico core
2418
*****************************************************************************************************************************/
2519

2620
/****************************************************************************************************************************

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "RP2040_ISR_Servo",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"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",
55
"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.",
66
"authors":

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=RP2040_ISR_Servo
2-
version=1.0.0
2+
version=1.0.1
33
author=Khoi Hoang
44
maintainer=Khoi Hoang <khoih.prog@gmail.com>
55
license=MIT

src/RP2040_ISR_Servo.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
Based on BlynkTimer.h
1717
Author: Volodymyr Shymanskyy
1818
19-
Version: 1.0.0
19+
Version: 1.0.1
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.0.0 K Hoang 21/08/2021 Initial coding for RP2040 boards using ArduinoCore-mbed or arduino-pico core
24+
1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO
2425
*****************************************************************************************************************************/
2526

2627
#include "RP2040_ISR_Servo.h"

src/RP2040_ISR_Servo.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
Based on BlynkTimer.h
1717
Author: Volodymyr Shymanskyy
1818
19-
Version: 1.0.0
19+
Version: 1.0.1
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.0.0 K Hoang 21/08/2021 Initial coding for RP2040 boards using ArduinoCore-mbed or arduino-pico core
24+
1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO
2425
*****************************************************************************************************************************/
2526

2627
#pragma once
@@ -36,7 +37,7 @@
3637
#elif ( defined(ARDUINO_NANO_RP2040_CONNECT) || defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || \
3738
defined(ARDUINO_GENERIC_RP2040) ) && defined(ARDUINO_ARCH_MBED)
3839

39-
#define RP2040_ISR_SERVO_VERSION "Mbed RP2040_ISR_Servo v1.0.0"
40+
#define RP2040_ISR_SERVO_VERSION "Mbed RP2040_ISR_Servo v1.0.1"
4041

4142
#else
4243
#error This code is intended to run on the mbed / non-mbed RP2040 platform! Please check your Tools->Board setting.

src/RP2040_ISR_Servo_Debug.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
Based on BlynkTimer.h
1717
Author: Volodymyr Shymanskyy
1818
19-
Version: 1.0.0
19+
Version: 1.0.1
2020
2121
Version Modified By Date Comments
2222
------- ----------- ---------- -----------
2323
1.0.0 K Hoang 21/08/2021 Initial coding for RP2040 boards using ArduinoCore-mbed or arduino-pico core
24+
1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO
2425
*****************************************************************************************************************************/
2526

2627
#pragma once

0 commit comments

Comments
 (0)