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 fix platform
Browse files Browse the repository at this point in the history
### Releases v1.0.1

1. Fix platform in `library.json`
  • Loading branch information
khoih-prog committed Oct 22, 2021
1 parent d3c3a0e commit 63e5d90
Show file tree
Hide file tree
Showing 20 changed files with 42 additions and 43 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Arduino IDE version: 1.8.16
arduino-pico core v1.9.5
RASPBERRY_PI_PICO
OS: Ubuntu 20.04 LTS
Linux xy-Inspiron-3593 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
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
Context:
I encountered a crash while using TimerInterrupt.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ The following is the sample terminal output when running example [ISR_16_PWMs_Ar

```
Starting ISR_16_PWMs_Array_Complex on RASPBERRY_PI_PICO
RP2040_Slow_PWM v1.0.0
RP2040_Slow_PWM v1.0.1
[PWM] RP2040_TimerInterrupt: _timerNo = 0 , _fre = 1000000.00
[PWM] _count = 0 - 20
[PWM] add_repeating_timer_us = 20
Expand Down Expand Up @@ -892,7 +892,7 @@ The following is the sample terminal output when running example [**ISR_16_PWMs_

```
Starting ISR_16_PWMs_Array on RASPBERRY_PI_PICO
RP2040_Slow_PWM v1.0.0
RP2040_Slow_PWM v1.0.1
[PWM] RP2040_TimerInterrupt: _timerNo = 0 , _fre = 1000000.00
[PWM] _count = 0 - 20
[PWM] add_repeating_timer_us = 20
Expand Down Expand Up @@ -923,7 +923,7 @@ The following is the sample terminal output when running example [**ISR_16_PWMs_

```
Starting ISR_16_PWMs_Array_Simple on RASPBERRY_PI_PICO
RP2040_Slow_PWM v1.0.0
RP2040_Slow_PWM v1.0.1
[PWM] RP2040_TimerInterrupt: _timerNo = 0 , _fre = 1000000.00
[PWM] _count = 0 - 20
[PWM] add_repeating_timer_us = 20
Expand Down
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@
## Table of Contents

* [Changelog](#changelog)
* [Releases v1.0.1](#Releases-v101)
* [Initial Releases v1.0.0](#Initial-Releases-v100)

---
---

## Changelog

### Releases v1.0.1

1. Fix platform in `library.json`

### Initial Releases v1.0.0

1. Initial coding to support **RP2040-based boards** such as ADAFRUIT_FEATHER_RP2040, RASPBERRY_PI_PICO, etc. using [**Earle Philhower's arduino-pico core**](https://github.com/earlephilhower/arduino-pico)
Expand Down
6 changes: 0 additions & 6 deletions examples/ISR_16_PWMs_Array/ISR_16_PWMs_Array.ino
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
The accuracy is nearly perfect compared to software timers. The most important feature is they're ISR-based timers
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K.Hoang 22/09/2021 Initial coding for RP2040-based boards using RP2040 arduino-pico core
*****************************************************************************************************************************/

#if !( ( defined(ARDUINO_ARCH_RP2040) || defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || defined(ARDUINO_GENERIC_RP2040) ) && !defined(ARDUINO_ARCH_MBED) )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
The accuracy is nearly perfect compared to software timers. The most important feature is they're ISR-based timers
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K.Hoang 22/09/2021 Initial coding for RP2040-based boards using RP2040 arduino-pico core
*****************************************************************************************************************************/

#if !( ( defined(ARDUINO_ARCH_RP2040) || defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || defined(ARDUINO_GENERIC_RP2040) ) && !defined(ARDUINO_ARCH_MBED) )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
The accuracy is nearly perfect compared to software timers. The most important feature is they're ISR-based timers
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.0
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K.Hoang 22/09/2021 Initial coding for RP2040-based boards using RP2040 arduino-pico core
*****************************************************************************************************************************/

#if !( ( defined(ARDUINO_ARCH_RP2040) || defined(ARDUINO_RASPBERRY_PI_PICO) || defined(ARDUINO_ADAFRUIT_FEATHER_RP2040) || defined(ARDUINO_GENERIC_RP2040) ) && !defined(ARDUINO_ARCH_MBED) )
Expand Down
4 changes: 2 additions & 2 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "RP2040_Slow_PWM",
"version": "1.0.0",
"version": "1.0.1",
"keywords": "timing, device, control, hardware-timer, pwm, ISR-based-pwm, multi-channel-pwm, low-frequency-pwm, mission-critical, accuracy, non-blocking, arduino-pico, rpi-pico, rp2040, nano-rp2040-connect, raspberry-pi-pico, precise",
"description": "This library enables you to use ISR-based PWM channels on RP2040-based boards, such as ADAFRUIT_FEATHER_RP2040, RASPBERRY_PI_PICO, with arduino-pico core to create and output PWM any GPIO pin. The most important feature is they're ISR-based PWM channels, supporting lower PWM frequencies with suitable accuracy. Their executions are not blocked by bad-behaving functions or tasks. This important feature is absolutely necessary for mission-critical tasks. These ISR-based PWMs, still work even if other software functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software-based PWM using millis() or micros(). That's necessary if you need to control devices requiring high precision",
"authors":
Expand All @@ -23,7 +23,7 @@
]
},
"frameworks": "*",
"platforms": ["rp2040"],
"platforms": ["raspberrypi"],
"examples": "examples/*/*/*.ino",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=RP2040_Slow_PWM
version=1.0.0
version=1.0.1
author=Khoi Hoang <khoih.prog@gmail.com>
maintainer=Khoi Hoang <khoih.prog@gmail.com>
sentence=This library enables you to use ISR-based PWM channels on RP2040-based boards, such as ADAFRUIT_FEATHER_RP2040, RASPBERRY_PI_PICO, with arduino-pico core to create and output PWM any GPIO pin.
Expand Down
3 changes: 2 additions & 1 deletion src/PWM_Generic_Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K.Hoang 22/09/2021 Initial coding for RP2040-based boards using RP2040 arduino-pico core
1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO
*****************************************************************************************************************************/

#pragma once
Expand Down
5 changes: 3 additions & 2 deletions src/RP2040_Slow_PWM.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K.Hoang 22/09/2021 Initial coding for RP2040-based boards using RP2040 arduino-pico core
1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO
*****************************************************************************************************************************/

#pragma once
Expand All @@ -29,7 +30,7 @@
#endif

#ifndef RP2040_SLOW_PWM_VERSION
#define RP2040_SLOW_PWM_VERSION "RP2040_Slow_PWM v1.0.0"
#define RP2040_SLOW_PWM_VERSION "RP2040_Slow_PWM v1.0.1"
#endif

#ifndef _PWM_LOGLEVEL_
Expand Down
5 changes: 3 additions & 2 deletions src/RP2040_Slow_PWM_ISR.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K.Hoang 22/09/2021 Initial coding for RP2040-based boards using RP2040 arduino-pico core
1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO
*****************************************************************************************************************************/

#pragma once
Expand All @@ -29,7 +30,7 @@
#endif

#ifndef RP2040_SLOW_PWM_VERSION
#define RP2040_SLOW_PWM_VERSION "RP2040_Slow_PWM v1.0.0"
#define RP2040_SLOW_PWM_VERSION "RP2040_Slow_PWM v1.0.1"
#endif

#ifndef _PWM_LOGLEVEL_
Expand Down
3 changes: 2 additions & 1 deletion src/RP2040_Slow_PWM_ISR.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K.Hoang 22/09/2021 Initial coding for RP2040-based boards using RP2040 arduino-pico core
1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src_cpp/PWM_Generic_Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K.Hoang 22/09/2021 Initial coding for RP2040-based boards using RP2040 arduino-pico core
1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO
*****************************************************************************************************************************/

#pragma once
Expand Down
5 changes: 3 additions & 2 deletions src_cpp/RP2040_Slow_PWM.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K.Hoang 22/09/2021 Initial coding for RP2040-based boards using RP2040 arduino-pico core
1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO
*****************************************************************************************************************************/

#pragma once
Expand All @@ -29,7 +30,7 @@
#endif

#ifndef RP2040_SLOW_PWM_VERSION
#define RP2040_SLOW_PWM_VERSION "RP2040_Slow_PWM v1.0.0"
#define RP2040_SLOW_PWM_VERSION "RP2040_Slow_PWM v1.0.1"
#endif

#ifndef _PWM_LOGLEVEL_
Expand Down
3 changes: 2 additions & 1 deletion src_cpp/RP2040_Slow_PWM_ISR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K.Hoang 22/09/2021 Initial coding for RP2040-based boards using RP2040 arduino-pico core
1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO
*****************************************************************************************************************************/


Expand Down
5 changes: 3 additions & 2 deletions src_cpp/RP2040_Slow_PWM_ISR.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K.Hoang 22/09/2021 Initial coding for RP2040-based boards using RP2040 arduino-pico core
1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO
*****************************************************************************************************************************/

#pragma once
Expand All @@ -29,7 +30,7 @@
#endif

#ifndef RP2040_SLOW_PWM_VERSION
#define RP2040_SLOW_PWM_VERSION "RP2040_Slow_PWM v1.0.0"
#define RP2040_SLOW_PWM_VERSION "RP2040_Slow_PWM v1.0.1"
#endif

#ifndef _PWM_LOGLEVEL_
Expand Down
3 changes: 2 additions & 1 deletion src_h/PWM_Generic_Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K.Hoang 22/09/2021 Initial coding for RP2040-based boards using RP2040 arduino-pico core
1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO
*****************************************************************************************************************************/

#pragma once
Expand Down
5 changes: 3 additions & 2 deletions src_h/RP2040_Slow_PWM.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K.Hoang 22/09/2021 Initial coding for RP2040-based boards using RP2040 arduino-pico core
1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO
*****************************************************************************************************************************/

#pragma once
Expand All @@ -29,7 +30,7 @@
#endif

#ifndef RP2040_SLOW_PWM_VERSION
#define RP2040_SLOW_PWM_VERSION "RP2040_Slow_PWM v1.0.0"
#define RP2040_SLOW_PWM_VERSION "RP2040_Slow_PWM v1.0.1"
#endif

#ifndef _PWM_LOGLEVEL_
Expand Down
5 changes: 3 additions & 2 deletions src_h/RP2040_Slow_PWM_ISR.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K.Hoang 22/09/2021 Initial coding for RP2040-based boards using RP2040 arduino-pico core
1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO
*****************************************************************************************************************************/

#pragma once
Expand All @@ -29,7 +30,7 @@
#endif

#ifndef RP2040_SLOW_PWM_VERSION
#define RP2040_SLOW_PWM_VERSION "RP2040_Slow_PWM v1.0.0"
#define RP2040_SLOW_PWM_VERSION "RP2040_Slow_PWM v1.0.1"
#endif

#ifndef _PWM_LOGLEVEL_
Expand Down
3 changes: 2 additions & 1 deletion src_h/RP2040_Slow_PWM_ISR.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
Therefore, their executions are not blocked by bad-behaving functions / tasks.
This important feature is absolutely necessary for mission-critical tasks.
Version: 1.0.0
Version: 1.0.1
Version Modified By Date Comments
------- ----------- ---------- -----------
1.0.0 K.Hoang 22/09/2021 Initial coding for RP2040-based boards using RP2040 arduino-pico core
1.0.1 K Hoang 22/10/2021 Fix platform in library.json for PIO
*****************************************************************************************************************************/

#pragma once
Expand Down

0 comments on commit 63e5d90

Please sign in to comment.