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

Commit 6d3356d

Browse files
authored
v1.3.1 add support to new Adafruit boards
### Releases v1.3.1 1. Add support to new Adafruit boards such as QTPY_ESP32S2, FEATHER_ESP32S3_NOPSRAM and QTPY_ESP32S3_NOPSRAM
1 parent cc1b6a5 commit 6d3356d

File tree

8 files changed

+27
-16
lines changed

8 files changed

+27
-16
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Arduino IDE version: 1.8.19
3434
ESP32 core v2.0.3
3535
ESP32S3_DEV Module
3636
OS: Ubuntu 20.04 LTS
37-
Linux xy-Inspiron-3593 5.13.0-40-generic #45~20.04.1-Ubuntu SMP Mon Apr 4 09:38:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
37+
Linux xy-Inspiron-3593 5.13.0-44-generic #49~20.04.1-Ubuntu SMP Wed May 18 18:44:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
3838
3939
Context:
4040
I encountered a crash while trying to use the Timer Interrupt.

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ This library enables you to use `1 Hardware Timer` on an ESP32, ESP32_S2, ESP32_
111111
This [**ESP32_ISR_Servo** library](https://github.com/khoih-prog/ESP32_ISR_Servo) currently supports these following boards:
112112

113113
1. ESP32 boards, such as `ESP32_DEV`, etc.
114-
2. ESP32S2-based boards, such as `ESP32S2_DEV`, `ESP32_S2 Saola`, etc.
114+
2. ESP32S2-based boards, such as `ESP32S2_DEV`, `ESP32_S2 Saola`, Adafruit QTPY_ESP32S2, etc.
115115
3. ESP32C3-based boards, such as `ESP32C3_DEV`, etc. **New**
116-
4. ESP32_S3 (ESP32S3_DEV, ESP32_S3_BOX, UM TINYS3, UM PROS3, UM FEATHERS3, etc.) **New**
116+
4. ESP32_S3 (ESP32S3_DEV, ESP32_S3_BOX, UM TINYS3, UM PROS3, UM FEATHERS3, FEATHER_ESP32S3_NOPSRAM and QTPY_ESP32S3_NOPSRAM, etc.) **New**
117117

118118
---
119119
---
@@ -400,7 +400,7 @@ https://github.com/khoih-prog/ESP32_ISR_Servo/blob/60aa83a0db13a348f29ae84f53616
400400

401401
```
402402
Starting ESP32_MultipleRandomServos on ESP32_DEV
403-
ESP32_ISR_Servo v1.3.0
403+
ESP32_ISR_Servo v1.3.1
404404
Setup OK Servo index = 0
405405
Setup OK Servo index = 1
406406
Setup OK Servo index = 2
@@ -462,7 +462,7 @@ Servos idx = 5, act. pos. (deg) = 180, pulseWidth (us) = 2450
462462

463463
```
464464
Starting ESP32_ISR_MultiServos on ESP32_DEV
465-
ESP32_ISR_Servo v1.3.0
465+
ESP32_ISR_Servo v1.3.1
466466
Setup Servo1 OK
467467
Setup Servo2 OK
468468
Servo1 pos = 0, Servo2 pos = 180
@@ -507,7 +507,7 @@ Servo1 pos = 150, Servo2 pos = 30
507507

508508
```
509509
Starting MultipleRandomServos on ESP32S3_DEV
510-
ESP32_ISR_Servo v1.3.0
510+
ESP32_ISR_Servo v1.3.1
511511
[ISR_SERVO] ESP32_S3_TimerInterrupt: _timerNo = 3 , _fre = 1000000
512512
[ISR_SERVO] TIMER_BASE_CLK = 80000000 , TIMER_DIVIDER = 80
513513
[ISR_SERVO] _timerIndex = 1 , _timerGroup = 1
@@ -601,7 +601,7 @@ Servos idx = 3, act. pos. (deg) = [ISR_SERVO] Idx = 3
601601

602602
```
603603
Starting ESP32_ISR_MultiServos on ESP32S2_DEV
604-
ESP32_ISR_Servo v1.3.0
604+
ESP32_ISR_Servo v1.3.1
605605
[ISR_SERVO] ESP32_S2_TimerInterrupt: _timerNo = 3 , _fre = 1000000
606606
[ISR_SERVO] TIMER_BASE_CLK = 80000000 , TIMER_DIVIDER = 80
607607
[ISR_SERVO] _timerIndex = 1 , _timerGroup = 1
@@ -694,10 +694,12 @@ Submit issues to: [ESP32_ISR_Servo issues](https://github.com/khoih-prog/ESP32_I
694694
### Contributions and thanks
695695

696696
1. Thanks to [raphweb](https://github.com/raphweb) for the PR [Fixed count >= min comparison for servo enable.](https://github.com/khoih-prog/ESP32_ISR_Servo/pull/1) to fix bug and leading to the new releases v1.1.0
697+
2. Thanks to [Brent Rubell](https://github.com/brentru) for the PR [Add newer Adafruit boards](https://github.com/khoih-prog/ESP32_ISR_Servo/pull/5) to add support to new Adafruit boards such as QTPY_ESP32S2, FEATHER_ESP32S3_NOPSRAM and QTPY_ESP32S3_NOPSRAM, leading to the new releases v1.3.1
697698

698699
<table>
699700
<tr>
700701
<td align="center"><a href="https://github.com/raphweb"><img src="https://github.com/raphweb.png" width="100px;" alt="raphweb"/><br /><sub><b>⭐️ raphweb</b></sub></a><br /></td>
702+
<td align="center"><a href="https://github.com/brentru"><img src="https://github.com/brentru.png" width="100px;" alt="brentru"/><br /><sub><b>⭐️ Brent Rubell</b></sub></a><br /></td>
701703
</tr>
702704
</table>
703705

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424

2525
## Changelog
2626

27+
### Releases v1.3.1
28+
29+
1. Add support to new Adafruit boards such as QTPY_ESP32S2, FEATHER_ESP32S3_NOPSRAM and QTPY_ESP32S3_NOPSRAM
30+
2731
### Releases v1.3.0
2832

2933
1. Fix breaking issue caused by **ESP32 core v2.0.1+** by increasing `TIMER_INTERVAL_MICRO` to `12uS` from `10uS`. Tested OK with ESP32 core v2.0.3 now

src/ESP32FastTimerInterrupt.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Therefore, their executions are not blocked by bad-behaving functions / tasks.
1313
This important feature is absolutely necessary for mission-critical tasks.
1414
15-
Version: 1.3.0
15+
Version: 1.3.1
1616
1717
Version Modified By Date Comments
1818
------- ----------- ---------- -----------
@@ -23,6 +23,7 @@
2323
1.2.0 K Hoang 06/03/2022 Convert to `h-only` style. Optimize code by using passing by `reference`
2424
1.2.1 K Hoang 07/03/2022 Fix bug
2525
1.3.0 K Hoang 08/05/2022 Fix issue with ESP32 core v2.0.1+
26+
1.3.1 K Hoang 16/06/2022 Add support to new Adafruit boards
2627
*****************************************************************************************************************************/
2728

2829
#pragma once

src/ESP32_ISR_Servo.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Therefore, their executions are not blocked by bad-behaving functions / tasks.
1212
This important feature is absolutely necessary for mission-critical tasks.
1313
14-
Version: 1.3.0
14+
Version: 1.3.1
1515
1616
Version Modified By Date Comments
1717
------- ----------- ---------- -----------
@@ -22,6 +22,7 @@
2222
1.2.0 K Hoang 06/03/2022 Convert to `h-only` style. Optimize code by using passing by `reference`
2323
1.2.1 K Hoang 07/03/2022 Fix bug
2424
1.3.0 K Hoang 08/05/2022 Fix issue with ESP32 core v2.0.1+
25+
1.3.1 K Hoang 16/06/2022 Add support to new Adafruit boards
2526
*****************************************************************************************************************************/
2627

2728
#pragma once

src/ESP32_ISR_Servo.hpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Therefore, their executions are not blocked by bad-behaving functions / tasks.
1212
This important feature is absolutely necessary for mission-critical tasks.
1313
14-
Version: 1.3.0
14+
Version: 1.3.1
1515
1616
Version Modified By Date Comments
1717
------- ----------- ---------- -----------
@@ -22,6 +22,7 @@
2222
1.2.0 K Hoang 06/03/2022 Convert to `h-only` style. Optimize code by using passing by `reference`
2323
1.2.1 K Hoang 07/03/2022 Fix bug
2424
1.3.0 K Hoang 08/05/2022 Fix issue with ESP32 core v2.0.1+
25+
1.3.1 K Hoang 16/06/2022 Add support to new Adafruit boards
2526
*****************************************************************************************************************************/
2627

2728
#pragma once
@@ -37,7 +38,7 @@
3738
defined(ARDUINO_PROS3) || defined(ARDUINO_FEATHERS3) || defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S3_NOPSRAM) || \
3839
defined(ARDUINO_ADAFRUIT_QTPY_ESP32S3_NOPSRAM))
3940
#define USING_ESP32_S3_TIMERINTERRUPT true
40-
#elif ( ARDUINO_ESP32C3_DEV)
41+
#elif ( ARDUINO_ESP32C3_DEV )
4142
#define USING_ESP32_C3_TIMERINTERRUPT true
4243
#elif defined(ESP32)
4344
#define USING_ESP32_TIMERINTERRUPT true
@@ -46,13 +47,13 @@
4647
#endif
4748

4849
#if !defined(ESP32_ISR_SERVO_VERSION)
49-
#define ESP32_ISR_SERVO_VERSION "ESP32_ISR_Servo v1.3.0"
50+
#define ESP32_ISR_SERVO_VERSION "ESP32_ISR_Servo v1.3.1"
5051

5152
#define ESP32_ISR_SERVO_VERSION_MAJOR 1
5253
#define ESP32_ISR_SERVO_VERSION_MINOR 3
53-
#define ESP32_ISR_SERVO_VERSION_PATCH 0
54+
#define ESP32_ISR_SERVO_VERSION_PATCH 1
5455

55-
#define ESP32_ISR_SERVO_VERSION_INT 1003000
56+
#define ESP32_ISR_SERVO_VERSION_INT 1003001
5657

5758
#endif
5859

src/ESP32_ISR_Servo_Debug.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Therefore, their executions are not blocked by bad-behaving functions / tasks.
1212
This important feature is absolutely necessary for mission-critical tasks.
1313
14-
Version: 1.3.0
14+
Version: 1.3.1
1515
1616
Version Modified By Date Comments
1717
------- ----------- ---------- -----------
@@ -22,6 +22,7 @@
2222
1.2.0 K Hoang 06/03/2022 Convert to `h-only` style. Optimize code by using passing by `reference`
2323
1.2.1 K Hoang 07/03/2022 Fix bug
2424
1.3.0 K Hoang 08/05/2022 Fix issue with ESP32 core v2.0.1+
25+
1.3.1 K Hoang 16/06/2022 Add support to new Adafruit boards
2526
*****************************************************************************************************************************/
2627

2728
#pragma once

src/ESP32_ISR_Servo_Impl.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Therefore, their executions are not blocked by bad-behaving functions / tasks.
1212
This important feature is absolutely necessary for mission-critical tasks.
1313
14-
Version: 1.3.0
14+
Version: 1.3.1
1515
1616
Version Modified By Date Comments
1717
------- ----------- ---------- -----------
@@ -22,6 +22,7 @@
2222
1.2.0 K Hoang 06/03/2022 Convert to `h-only` style. Optimize code by using passing by `reference`
2323
1.2.1 K Hoang 07/03/2022 Fix bug
2424
1.3.0 K Hoang 08/05/2022 Fix issue with ESP32 core v2.0.1+
25+
1.3.1 K Hoang 16/06/2022 Add support to new Adafruit boards
2526
*****************************************************************************************************************************/
2627

2728
#include "ESP32_ISR_Servo.h"

0 commit comments

Comments
 (0)