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

Commit 80fd773

Browse files
authored
v1.0.1 to fix platform
### Releases v1.0.1 1. Fix platform in `library.json`
1 parent cff9b08 commit 80fd773

27 files changed

+101
-111
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.1.0)
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)
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.1.0
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-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 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 using TimerInterrupt.

README.md

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
* [Why using ISR-based Hardware Timer Interrupt is better](#why-using-isr-based-hardware-timer-interrupt-is-better)
1717
* [Currently supported Boards](#currently-supported-boards)
1818
* [Important Notes about ISR](#important-notes-about-isr)
19-
* [Changelog](#changelog)
20-
* [Initial Releases v1.0.0](#initial-releases-v100)
19+
* [Changelog](changelog.md)
2120
* [Prerequisites](#prerequisites)
2221
* [Installation](#installation)
2322
* [Use Arduino Library Manager](#use-arduino-library-manager)
@@ -52,7 +51,6 @@
5251
* [5. ISR_16_Timers_Array_Complex on RaspberryPi Pico](#5-isr_16_timers_array_complex-on-raspberrypi-pico)
5352
* [Debug](#debug)
5453
* [Troubleshooting](#troubleshooting)
55-
* [Releases](#releases)
5654
* [Issues](#issues)
5755
* [TO DO](#to-do)
5856
* [DONE](#done)
@@ -122,20 +120,11 @@ The catch is **your function is now part of an ISR (Interrupt Service Routine),
122120
---
123121
---
124122

125-
## Changelog
126-
127-
### Initial Releases v1.0.0
128-
129-
1. Initial coding to support RP2040-based boards such as **Nano_RP2040_Connect, RASPBERRY_PI_PICO**, etc. using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed)
130-
131-
132-
---
133-
---
134123

135124
## Prerequisites
136125

137-
1. [`Arduino IDE 1.8.15+` for Arduino](https://www.arduino.cc/en/Main/Software)
138-
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)
126+
1. [`Arduino IDE 1.8.16+` for Arduino](https://www.arduino.cc/en/Main/Software)
127+
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)
139128

140129
---
141130
---
@@ -589,7 +578,7 @@ While software timer, **programmed for 2s, is activated after more than 10.000s
589578

590579
```
591580
Starting ISR_Timers_Array_Simple on RaspberryPi Pico
592-
MBED_RPi_Pico_TimerInterrupt v1.0.0
581+
MBED_RPi_Pico_TimerInterrupt v1.0.1
593582
[TISR] MBED_RPI_PICO_TimerInterrupt: _timerNo = 1 , _fre = 1000000.00
594583
[TISR] _count = 0 - 1000
595584
[TISR] hardware_alarm_set_target, uS = 1000
@@ -613,7 +602,7 @@ The following is the sample terminal output when running example [TimerInterrupt
613602

614603
```
615604
Starting TimerInterruptTest on RaspberryPi Pico
616-
MBED_RPi_Pico_TimerInterrupt v1.0.0
605+
MBED_RPi_Pico_TimerInterrupt v1.0.1
617606
[TISR] MBED_RPI_PICO_TimerInterrupt: _timerNo = 0 , _fre = 1000000.00
618607
[TISR] _count = 0 - 1000000
619608
[TISR] hardware_alarm_set_target, uS = 1000000
@@ -641,7 +630,7 @@ The following is the sample terminal output when running example [Change_Interva
641630

642631
```
643632
Starting Change_Interval on RaspberryPi Pico
644-
MBED_RPi_Pico_TimerInterrupt v1.0.0
633+
MBED_RPi_Pico_TimerInterrupt v1.0.1
645634
[TISR] MBED_RPI_PICO_TimerInterrupt: _timerNo = 0 , _fre = 1000000.00
646635
[TISR] _count = 0 - 2000000
647636
[TISR] hardware_alarm_set_target, uS = 2000000
@@ -679,7 +668,7 @@ The following is the sample terminal output when running example [SwitchDebounce
679668

680669
```
681670
Starting SwitchDebounce on RaspberryPi Pico
682-
MBED_RPi_Pico_TimerInterrupt v1.0.0
671+
MBED_RPi_Pico_TimerInterrupt v1.0.1
683672
[TISR] MBED_RPI_PICO_TimerInterrupt: _timerNo = 1 , _fre = 1000000.00
684673
[TISR] _count = 0 - 1000
685674
[TISR] hardware_alarm_set_target, uS = 1000
@@ -713,7 +702,7 @@ The following is the sample terminal output when running example [ISR_16_Timers_
713702

714703
```
715704
Starting ISR_16_Timers_Array_Complex on RaspberryPi Pico
716-
MBED_RPi_Pico_TimerInterrupt v1.0.0
705+
MBED_RPi_Pico_TimerInterrupt v1.0.1
717706
[TISR] MBED_RPI_PICO_TimerInterrupt: _timerNo = 0 , _fre = 1000000.00
718707
[TISR] _count = 0 - 10000
719708
[TISR] hardware_alarm_set_target, uS = 10000
@@ -898,15 +887,6 @@ If you get compilation errors, more often than not, you may need to install a ne
898887
Sometimes, the library will only work if you update the board core to the latest version because I am using newly added functions.
899888

900889

901-
---
902-
---
903-
904-
## Releases
905-
906-
### Initial Releases v1.0.0
907-
908-
1. Initial coding to support RP2040-based boards such as **Nano_RP2040_Connect, RASPBERRY_PI_PICO**, etc. using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed)
909-
910890
---
911891
---
912892

changelog.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# MBED_RPI_PICO_TimerInterrupt Library
2+
3+
[![arduino-library-badge](https://www.ardu-badge.com/badge/MBED_RPI_PICO_TimerInterrupt.svg?)](https://www.ardu-badge.com/MBED_RPI_PICO_TimerInterrupt)
4+
[![GitHub release](https://img.shields.io/github/release/khoih-prog/MBED_RPI_PICO_TimerInterrupt.svg)](https://github.com/khoih-prog/MBED_RPI_PICO_TimerInterrupt/releases)
5+
[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/khoih-prog/MBED_RPI_PICO_TimerInterrupt/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/MBED_RPI_PICO_TimerInterrupt.svg)](http://github.com/khoih-prog/MBED_RPI_PICO_TimerInterrupt/issues)
8+
9+
---
10+
---
11+
12+
## Table of Contents
13+
14+
* [Changelog](#changelog)
15+
* [Releases v1.0.1](#releases-v101)
16+
* [Initial Releases v1.0.0](#initial-releases-v100)
17+
18+
---
19+
---
20+
21+
## Changelog
22+
23+
### Releases v1.0.1
24+
25+
1. Fix platform in `library.json`
26+
27+
### Initial Releases v1.0.0
28+
29+
1. Initial coding to support RP2040-based boards such as **Nano_RP2040_Connect, RASPBERRY_PI_PICO**, etc. using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed)
30+
31+
32+

examples/50ms_HWTimer/50ms_HWTimer.ino

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@
2424
2525
Based on BlynkTimer.h
2626
Author: Volodymyr Shymanskyy
27-
28-
Version: 1.0.0
29-
30-
Version Modified By Date Comments
31-
------- ----------- ---------- -----------
32-
1.0.0 K Hoang 07/06/2021 Initial coding to support MBED RP2040-based boards such as RASPBERRY_PI_PICO. etc.
3327
*****************************************************************************************************************************/
3428

3529
/*
@@ -102,7 +96,7 @@ void printResult(uint32_t currTime)
10296
lastCount = Timer0Count;
10397
}
10498

105-
#define TIMER0_INTERVAL_MS 50
99+
#define TIMER0_INTERVAL_MS 20
106100

107101
// Init ESP32 timer 0
108102
MBED_RPI_PICO_Timer ITimer0(0);

examples/Argument_Complex/Argument_Complex.ino

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@
2424
2525
Based on BlynkTimer.h
2626
Author: Volodymyr Shymanskyy
27-
28-
Version: 1.0.0
29-
30-
Version Modified By Date Comments
31-
------- ----------- ---------- -----------
32-
1.0.0 K Hoang 07/06/2021 Initial coding to support MBED RP2040-based boards such as RASPBERRY_PI_PICO. etc.
3327
*****************************************************************************************************************************/
3428

3529
#if ( defined(ARDUINO_NANO_RP2040_CONNECT) || defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || \

examples/Argument_None/Argument_None.ino

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@
2424
2525
Based on BlynkTimer.h
2626
Author: Volodymyr Shymanskyy
27-
28-
Version: 1.0.0
29-
30-
Version Modified By Date Comments
31-
------- ----------- ---------- -----------
32-
1.0.0 K Hoang 07/06/2021 Initial coding to support MBED RP2040-based boards such as RASPBERRY_PI_PICO. etc.
3327
*****************************************************************************************************************************/
3428

3529
/*

examples/Argument_Simple/Argument_Simple.ino

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@
2424
2525
Based on BlynkTimer.h
2626
Author: Volodymyr Shymanskyy
27-
28-
Version: 1.0.0
29-
30-
Version Modified By Date Comments
31-
------- ----------- ---------- -----------
32-
1.0.0 K Hoang 07/06/2021 Initial coding to support MBED RP2040-based boards such as RASPBERRY_PI_PICO. etc.
3327
*****************************************************************************************************************************/
3428

3529
#if ( defined(ARDUINO_NANO_RP2040_CONNECT) || defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || \

examples/Change_Interval/Change_Interval.ino

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@
2424
2525
Based on BlynkTimer.h
2626
Author: Volodymyr Shymanskyy
27-
28-
Version: 1.0.0
29-
30-
Version Modified By Date Comments
31-
------- ----------- ---------- -----------
32-
1.0.0 K Hoang 07/06/2021 Initial coding to support MBED RP2040-based boards such as RASPBERRY_PI_PICO. etc.
3327
*****************************************************************************************************************************/
3428

3529
/*

examples/ISR_16_Timers_Array_Complex/ISR_16_Timers_Array_Complex.ino

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@
2424
2525
Based on BlynkTimer.h
2626
Author: Volodymyr Shymanskyy
27-
28-
Version: 1.0.0
29-
30-
Version Modified By Date Comments
31-
------- ----------- ---------- -----------
32-
1.0.0 K Hoang 07/06/2021 Initial coding to support MBED RP2040-based boards such as RASPBERRY_PI_PICO. etc.
3327
*****************************************************************************************************************************/
3428
/*
3529
Notes:

examples/ISR_Timers_Array_Simple/ISR_Timers_Array_Simple.ino

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@
2424
2525
Based on BlynkTimer.h
2626
Author: Volodymyr Shymanskyy
27-
28-
Version: 1.0.0
29-
30-
Version Modified By Date Comments
31-
------- ----------- ---------- -----------
32-
1.0.0 K Hoang 07/06/2021 Initial coding to support MBED RP2040-based boards such as RASPBERRY_PI_PICO. etc.
3327
*****************************************************************************************************************************/
3428

3529
#if ( defined(ARDUINO_NANO_RP2040_CONNECT) || defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || \

0 commit comments

Comments
 (0)