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

Commit

Permalink
v1.0.1 to match arduino-pico core v1.4.0
Browse files Browse the repository at this point in the history
### Releases v1.0.1

1. Update README and Packages' Patches to match arduino-pico core v1.4.0
  • Loading branch information
khoih-prog authored May 18, 2021
1 parent ee1c730 commit 92da992
Show file tree
Hide file tree
Showing 24 changed files with 64 additions and 35 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.13) or Platform.io version
* `RP2040` Core Version (e.g. RP2040 core v1.2.1)
* `RP2040` Core Version (e.g. RP2040 core v1.4.0)
* `RP2040` Board type (e.g. RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040, GENERIC_RP2040, etc.)
* Contextual information (e.g. what you were trying to achieve)
* Simplest possible steps to reproduce
Expand All @@ -28,10 +28,10 @@ Please ensure to specify the following:

```
Arduino IDE version: 1.8.13
RP2040 core v1.2.1
RP2040 core v1.4.0
RASPBERRY_PI_PICO Module
OS: Ubuntu 20.04 LTS
Linux xy-Inspiron-3593 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Linux xy-Inspiron-3593 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Context:
I encountered a crash while using TimerInterrupt.
Expand Down
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* [Currently supported Boards](#currently-supported-boards)
* [Important Notes about ISR](#important-notes-about-isr)
* [Changelog](#changelog)
* [Releases v1.0.1](#releases-v101)
* [Initial Releases v1.0.0](#initial-releases-v100)
* [Prerequisites](#prerequisites)
* [Installation](#installation)
Expand Down Expand Up @@ -126,6 +127,10 @@ The catch is **your function is now part of an ISR (Interrupt Service Routine),

## Changelog

### Releases v1.0.1

1. Update README and Packages' Patches to match core arduino-pico core v1.4.0

### Initial Releases v1.0.0

1. Initial coding to support RP2040-based boards such as **RASPBERRY_PI_PICO**, etc. using [**Earle Philhower's arduino-pico** core](https://github.com/earlephilhower/arduino-pico)
Expand Down Expand Up @@ -595,7 +600,7 @@ While software timer, **programmed for 2s, is activated after more than 10.000s

```
Starting ISR_Timers_Array_Simple on RASPBERRY_PI_PICO
RPi_Pico_TimerInterrupt v1.0.0
RPi_Pico_TimerInterrupt v1.0.1
CPU Frequency = 125 MHz
[TISR] RPI_PICO_TimerInterrupt: _timerNo = 1 , _fre = 1000000.00
[TISR] _count = 0 - 1000
Expand Down Expand Up @@ -624,7 +629,7 @@ The following is the sample terminal output when running example [TimerInterrupt

```
Starting TimerInterruptTest on RASPBERRY_PI_PICO
RPi_Pico_TimerInterrupt v1.0.0
RPi_Pico_TimerInterrupt v1.0.1
CPU Frequency = 125 MHz
[TISR] RPI_PICO_TimerInterrupt: _timerNo = 0 , _fre = 1000000.00
[TISR] _count = 0 - 1000000
Expand Down Expand Up @@ -668,7 +673,7 @@ The following is the sample terminal output when running example [Change_Interva

```
Starting Change_Interval on RASPBERRY_PI_PICO
RPi_Pico_TimerInterrupt v1.0.0
RPi_Pico_TimerInterrupt v1.0.1
CPU Frequency = 125 MHz
[TISR] RPI_PICO_TimerInterrupt: _timerNo = 0 , _fre = 1000000.00
[TISR] _count = 0 - 2000000
Expand Down Expand Up @@ -749,7 +754,7 @@ The following is the sample terminal output when running example [SwitchDebounce

```
Starting SwitchDebounce on RASPBERRY_PI_PICO
RPi_Pico_TimerInterrupt v1.0.0
RPi_Pico_TimerInterrupt v1.0.1
CPU Frequency = 125 MHz
[TISR] RPI_PICO_TimerInterrupt: _timerNo = 0 , _fre = 1000000.00
[TISR] _count = 0 - 20000
Expand Down Expand Up @@ -797,6 +802,10 @@ Sometimes, the library will only work if you update the board core to the latest

## Releases

### Releases v1.0.1

1. Update README and Packages' Patches to match core arduino-pico core v1.4.0

### Initial Releases v1.0.0

1. Initial coding to support **RP2040-based boards such as RASPBERRY_PI_PICO**, etc. using [**Earle Philhower's arduino-pico** core](https://github.com/earlephilhower/arduino-pico)
Expand Down
3 changes: 2 additions & 1 deletion examples/Argument_Complex/Argument_Complex.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/

#if !( defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || defined(ARDUINO_GENERIC_RP2040) )
Expand Down
3 changes: 2 additions & 1 deletion examples/Argument_None/Argument_None.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/

/*
Expand Down
3 changes: 2 additions & 1 deletion examples/Argument_Simple/Argument_Simple.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/

#if !( defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || defined(ARDUINO_GENERIC_RP2040) )
Expand Down
3 changes: 2 additions & 1 deletion examples/Change_Interval/Change_Interval.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/

/*
Expand Down
3 changes: 2 additions & 1 deletion examples/ISR_Timers_Array_Simple/ISR_Timers_Array_Simple.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/

#if !( defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || defined(ARDUINO_GENERIC_RP2040) )
Expand Down
3 changes: 2 additions & 1 deletion examples/RPM_Measure/RPM_Measure.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0.
*****************************************************************************************************************************/
/*
Notes:
Expand Down
3 changes: 2 additions & 1 deletion examples/SwitchDebounce/SwitchDebounce.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/
/*
Notes:
Expand Down
3 changes: 2 additions & 1 deletion examples/TimerInterruptTest/TimerInterruptTest.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/
/*
Notes:
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "RPI_PICO_TimerInterrupt",
"version": "1.0.0",
"version": "1.0.1",
"keywords": "timing, device, control, timer, interrupt, hardware, isr, isr-based, hardware-timer, mission-critical, accuracy, precise, non-blocking, raspberry-pico, rpi-pico, pico, rp2040",
"description": "This library enables you to use Interrupt from Hardware Timers on RP2040-based boards such as RASPBERRY_PI_PICO. It now supports 16 ISR-based timers, while consuming only 1 Hardware Timer. Timers' interval is very long (ulong millisecs). The most important feature is they're ISR-based timers. Therefore, their executions are not blocked by bad-behaving functions or tasks. This important feature is absolutely necessary for mission-critical tasks. These hardware timers, using interrupt, still work even if other functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software timers using millis() or micros(). That's necessary if you need to measure some data requiring better accuracy.",
"authors":
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=RPI_PICO_TimerInterrupt
version=1.0.0
version=1.0.1
author=Khoi Hoang <[email protected]>
maintainer=Khoi Hoang <[email protected]>
sentence=This library enables you to use Interrupt from Hardware Timers on RP2040-based boards such as RASPBERRY_PI_PICO
Expand Down
3 changes: 2 additions & 1 deletion src/RPi_Pico_ISR_Timer-Impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/

#pragma once
Expand Down
5 changes: 3 additions & 2 deletions src/RPi_Pico_ISR_Timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/

#pragma once
Expand All @@ -42,7 +43,7 @@
#endif

#ifndef RPI_PICO_TIMER_INTERRUPT_VERSION
#define RPI_PICO_TIMER_INTERRUPT_VERSION "RPi_Pico_TimerInterrupt v1.0.0"
#define RPI_PICO_TIMER_INTERRUPT_VERSION "RPi_Pico_TimerInterrupt v1.0.1"
#endif

#include "TimerInterrupt_Generic_Debug.h"
Expand Down
5 changes: 3 additions & 2 deletions src/RPi_Pico_TimerInterrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/

#pragma once
Expand All @@ -45,7 +46,7 @@
#endif

#ifndef RPI_PICO_TIMER_INTERRUPT_VERSION
#define RPI_PICO_TIMER_INTERRUPT_VERSION "RPi_Pico_TimerInterrupt v1.0.0"
#define RPI_PICO_TIMER_INTERRUPT_VERSION "RPi_Pico_TimerInterrupt v1.0.1"
#endif

#ifndef TIMER_INTERRUPT_DEBUG
Expand Down
3 changes: 2 additions & 1 deletion src/TimerInterrupt_Generic_Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src_cpp/RPi_Pico_ISR_Timer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/

#include <string.h>
Expand Down
5 changes: 3 additions & 2 deletions src_cpp/RPi_Pico_ISR_Timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/

#pragma once
Expand All @@ -42,7 +43,7 @@
#endif

#ifndef RPI_PICO_TIMER_INTERRUPT_VERSION
#define RPI_PICO_TIMER_INTERRUPT_VERSION "RPi_Pico_TimerInterrupt v1.0.0"
#define RPI_PICO_TIMER_INTERRUPT_VERSION "RPi_Pico_TimerInterrupt v1.0.1"
#endif

#include "TimerInterrupt_Generic_Debug.h"
Expand Down
5 changes: 3 additions & 2 deletions src_cpp/RPi_Pico_TimerInterrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/

#pragma once
Expand All @@ -45,7 +46,7 @@
#endif

#ifndef RPI_PICO_TIMER_INTERRUPT_VERSION
#define RPI_PICO_TIMER_INTERRUPT_VERSION "RPi_Pico_TimerInterrupt v1.0.0"
#define RPI_PICO_TIMER_INTERRUPT_VERSION "RPi_Pico_TimerInterrupt v1.0.1"
#endif

#ifndef TIMER_INTERRUPT_DEBUG
Expand Down
3 changes: 2 additions & 1 deletion src_cpp/TimerInterrupt_Generic_Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src_h/RPi_Pico_ISR_Timer-Impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/

#pragma once
Expand Down
5 changes: 3 additions & 2 deletions src_h/RPi_Pico_ISR_Timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@
Based on BlynkTimer.h
Author: Volodymyr Shymanskyy
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K Hoang 11/05/2021 Initial coding to support RP2040-based boards such as RASPBERRY_PI_PICO. etc.
1.0.1 K Hoang 18/05/2021 Update README and Packages' Patches to match core arduino-pico core v1.4.0
*****************************************************************************************************************************/

#pragma once
Expand All @@ -42,7 +43,7 @@
#endif

#ifndef RPI_PICO_TIMER_INTERRUPT_VERSION
#define RPI_PICO_TIMER_INTERRUPT_VERSION "RPi_Pico_TimerInterrupt v1.0.0"
#define RPI_PICO_TIMER_INTERRUPT_VERSION "RPi_Pico_TimerInterrupt v1.0.1"
#endif

#include "TimerInterrupt_Generic_Debug.h"
Expand Down
Loading

0 comments on commit 92da992

Please sign in to comment.