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

Commit

Permalink
v3.5.2 to auto-detect ESP32 core version.
Browse files Browse the repository at this point in the history
### Release v1.5.2

1. Auto detect ESP32 core version.
2. Fix bug in examples for WT32_ETH01
3. Update `Packages' Patches`
  • Loading branch information
khoih-prog authored Dec 1, 2021
1 parent cc4dc3c commit 3f2b60a
Show file tree
Hide file tree
Showing 19 changed files with 253 additions and 85 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.16) or Platform.io version
* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, ESP8266 core v3.0.2, ArduinoCore-mbed v2.5.2, etc.)
* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, ESP8266 core v3.0.2, ArduinoCore-mbed v2.6.1, etc.)
* Contextual information (e.g. what you were trying to achieve)
* Simplest possible steps to reproduce
* Anything that might be relevant in your opinion, such as:
Expand All @@ -28,9 +28,9 @@ Please ensure to specify the following:
```
Arduino IDE version: 1.8.16
RASPBERRY_PI_PICO board
ArduinoCore-mbed v2.5.2
ArduinoCore-mbed v2.6.1
OS: Ubuntu 20.04 LTS
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
Linux xy-Inspiron-3593 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Context:
I encountered a crash while trying to use the Timer Interrupt.
Expand Down
126 changes: 71 additions & 55 deletions README.md

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
## Table of Contents

* [Changelog](#changelog)
* [Release v1.5.2](#release-v152)
* [Release v1.5.1](#release-v151)
* [Major Release v1.5.0](#major-release-v150)
* [Major Release v1.4.0](#major-release-v140)
Expand All @@ -29,6 +30,12 @@

## Changelog

### Release v1.5.2

1. Auto detect ESP32 core version.
2. Fix bug in examples for WT32_ETH01
3. Update `Packages' Patches`

### Release v1.5.1

1. Update `platform.ini` and `library.json` to use original `khoih-prog` instead of `khoih.prog` after PIO fix
Expand Down
10 changes: 6 additions & 4 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "MySQL_MariaDB_Generic",
"version": "1.5.1",
"version": "1.5.2",
"keywords": "Communication, Database, Storage, MySQL, MariaDB, wt32-eth01, Teensy, SAMD, nRF52, W5x00, Ethernet, wifi, wifinina, lan8720, rp2040, nano-33-iot, nano-rp2040-connect, QNEthernet, native-ethernet, Portenta-H7, SAM DUE, ENC28J60, rpi-pico, Arduino, AVR",
"description": "Connects to MySQL or MariaDB using ESP8266/ESP32, WT32_ETH01 (ESP32 + LAN8720A), nRF52, SAMD21/SAMD51, STM32F/L/H/G/WB/MP1, Teensy, SAM DUE, Mega, RP2040-based boards, Portenta_H7, etc. with W5x00, ENC28J60 Ethernet, Teensy 4.1 NativeEthernet/QNEthernet, WiFiNINA modules/shields or Portenta_H7 WiFi/Ethernet. W5x00 can use Ethernet, EthernetLarge, Ethernet2 or Ethernet3 library. ENC28J60 can use either EthernetENC or UIPEthernet Library. Now accepting server's hostname, besides IPAddress",
"authors": [
Expand Down Expand Up @@ -34,13 +34,13 @@
{
"owner": "khoih-prog",
"name": "WiFiNINA_Generic",
"version": "^1.8.13",
"version": "^1.8.14-1",
"platforms": ["*"]
},
{
"owner": "khoih-prog",
"name": "WebServer_WT32_ETH01",
"version": ">=1.2.0",
"version": ">=1.4.1",
"platforms": ["*"]
},
{
Expand Down Expand Up @@ -108,7 +108,9 @@
"version": "https://github.com/ssilverman/QNEthernet"
}
],
"license": "MIT",
"frameworks": "*",
"platforms": "*",
"examples": "examples/*/*/*.ino"
"examples": "examples/*/*/*.ino",
"headers": ["MySQL_Generic.h"]
}
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=MySQL_MariaDB_Generic
version=1.5.1
version=1.5.2
author=Dr. Charles Bell <[email protected]>, Khoi Hoang <[email protected]>
maintainer=Khoi Hoang <[email protected]>
sentence=Connects to MySQL or MariaDB using ESP8266/ESP32, WT32_ETH01 (ESP32 + LAN8720A), nRF52, SAMD21/SAMD51, STM32F/L/H/G/WB/MP1, Teensy, SAM DUE, Mega, RP2040-based boards, Portenta_H7, etc. with W5x00, ENC28J60 Ethernet, Teensy 4.1 NativeEthernet/QNEthernet, WiFiNINA modules/shields or Portenta_H7 WiFi/Ethernet. W5x00 can use Ethernet, EthernetLarge, Ethernet2 or Ethernet3 library. ENC28J60 can use either EthernetENC or UIPEthernet Library.
Expand Down
146 changes: 138 additions & 8 deletions platformio/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,25 @@
; ESP8266
; ESP32
; SAMD
; DUE
; NRF52
; STM32
; AVR
; TEENSY
; pico
;portenta_h7_m7
;portenta_h7_m4

; ============================================================
;default_envs = ESP8266
;default_envs = ESP32
default_envs = SAMD
;default_envs = DUE
;default_envs = NRF52
;default_envs = STM32
;default_envs = AVR
;default_envs = TEENSY
;default_envs = pico
;default_envs = portenta_h7_m7
;default_envs = portenta_h7_m4

Expand Down Expand Up @@ -76,15 +87,19 @@ build_flags =
; comment the folowing line to enable WiFi debugging
; -D NDEBUG

[env:portenta_h7_m7]
platform = ststm32
board = portenta_h7_m7
[env:DUE]
platform = atmelsam
framework = arduino
board = due

[env:portenta_h7_m4]
platform = ststm32
board = portenta_h7_m4
framework = arduino
; change microcontroller
board_build.mcu = at91sam3x8e

; change MCU frequency
board_build.f_cpu = 84000000L

; ============================================================
; ============================================================

[env:ESP8266]
platform = espressif8266
Expand Down Expand Up @@ -131,9 +146,12 @@ board = nodemcuv2
;board = xinabox_cw01
;board = esp32doit-devkit-v1

; ============================================================
; ============================================================

[env:ESP32]
platform = espressif32
framework = arduino, espidf
framework = arduino
; ============================================================
; Board configuration
; choose your board by uncommenting one of the following lines
Expand Down Expand Up @@ -172,6 +190,9 @@ board = esp32doit-devkit-v1
;board = iotbusproteus
;board = nina_w10

; ============================================================
; ============================================================

[env:SAMD]
platform = atmelsam
framework = arduino
Expand Down Expand Up @@ -245,6 +266,8 @@ board = adafruit_itsybitsy_m4
;board = rolawan
;board = seeed_grove_ui_wireless

; ============================================================
; ============================================================

[env:NRF52]
platform = nordicnrf52
Expand All @@ -266,6 +289,9 @@ board = feather52840
;board = ninab302
;board = ninab112

; ============================================================
; ============================================================

[env:STM32]
platform = ststm32
framework = arduino
Expand Down Expand Up @@ -377,3 +403,107 @@ framework = arduino
; Board configuration Many more Boards to be filled
; ============================================================

; ============================================================
; ============================================================

[env:AVR]
platform = atmelavr
framework = arduino

; ============================================================
; Board configuration AVR
; ============================================================

;board = yun
;board = uno
;board = diecimila
;board = nano
;board = nanoatmega328
;board = mega
board = megaatmega2560
;board = megaADK
;board = leonardo
;board = leonardoeth
;board = micro
;board = esplora
;board = mini
;board = ethernet
;board = fio
;board = bt
;board = LilyPadUSB
;board = lilypad
;board = pro
;board = atmegang
;board = robotControl
;board = robotMotor
;board = gemma
;board = circuitplay32u4cat
;board = yunmini
;board = chiwawa
;board = one
;board = unowifi

; ============================================================
; ============================================================

[env:TEENSY]
platform = teensy
framework = arduino

; ============================================================
; Choose your board by uncommenting one of the following lines
; ============================================================

; ============================================================
; Board configuration TEENSY
; ============================================================

;board = teensy2
;board = teensy2pp
;board = teensy30
;board = teensy31
;board = teensylc
;board = teensy35
;board = teensy36
;board = teensy40
;board = teensy41

; ============================================================
; Choose your board by uncommenting one of the following lines
; ============================================================

; ============================================================
; Board configuration raspberrypi pico
; ============================================================

[env:pico]
; ============================================================
; Just a sample
; You have to research and fix if there is issue
; ============================================================
platform = raspberrypi
board = pico
framework = arduino
upload_protocol = picotool

; ============================================================
; ============================================================

; ============================================================
; Board configuration portenta_h7_m7
; ============================================================

[env:portenta_h7_m7]
platform = ststm32
board = portenta_h7_m7
framework = arduino

; ============================================================
; Board configuration portenta_h7_m4
; ============================================================

[env:portenta_h7_m4]
platform = ststm32
board = portenta_h7_m4
framework = arduino

3 changes: 2 additions & 1 deletion src/MySQL_Generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.5.1
Version: 1.5.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -27,6 +27,7 @@
1.4.0 K Hoang 05/09/2021 Add support to Teensy 4.1 using QNEthernet
1.5.0 K Hoang 17/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet
1.5.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.5.2 K Hoang 01/12/2021 Auto detect ESP32 core for LittleFS. Fix bug in examples for WT32_ETH01
**********************************************************************************************************************************/

#ifndef MYSQL_GENERIC_H
Expand Down
3 changes: 2 additions & 1 deletion src/MySQL_Generic_Connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.5.1
Version: 1.5.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -27,6 +27,7 @@
1.4.0 K Hoang 05/09/2021 Add support to Teensy 4.1 using QNEthernet
1.5.0 K Hoang 17/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet
1.5.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.5.2 K Hoang 01/12/2021 Auto detect ESP32 core for LittleFS. Fix bug in examples for WT32_ETH01
**********************************************************************************************************************************/

/*********************************************************************************************************************************
Expand Down
3 changes: 2 additions & 1 deletion src/MySQL_Generic_Connection_Impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.5.1
Version: 1.5.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -27,6 +27,7 @@
1.4.0 K Hoang 05/09/2021 Add support to Teensy 4.1 using QNEthernet
1.5.0 K Hoang 17/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet
1.5.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.5.2 K Hoang 01/12/2021 Auto detect ESP32 core for LittleFS. Fix bug in examples for WT32_ETH01
**********************************************************************************************************************************/

/*********************************************************************************************************************************
Expand Down
3 changes: 2 additions & 1 deletion src/MySQL_Generic_Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.5.1
Version: 1.5.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -27,6 +27,7 @@
1.4.0 K Hoang 05/09/2021 Add support to Teensy 4.1 using QNEthernet
1.5.0 K Hoang 17/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet
1.5.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.5.2 K Hoang 01/12/2021 Auto detect ESP32 core for LittleFS. Fix bug in examples for WT32_ETH01
**********************************************************************************************************************************/

/*********************************************************************************************************************************
Expand Down
3 changes: 2 additions & 1 deletion src/MySQL_Generic_Encrypt_Sha1.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.5.1
Version: 1.5.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -32,6 +32,7 @@
1.4.0 K Hoang 05/09/2021 Add support to Teensy 4.1 using QNEthernet
1.5.0 K Hoang 17/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet
1.5.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.5.2 K Hoang 01/12/2021 Auto detect ESP32 core for LittleFS. Fix bug in examples for WT32_ETH01
**********************************************************************************************************************************/

#ifndef MYSQL_GENERIC_ENCRYPT_SHA1_H
Expand Down
3 changes: 2 additions & 1 deletion src/MySQL_Generic_Encrypt_Sha1_Impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/MySQL_MariaDB_Generic
Licensed under MIT license
Version: 1.5.1
Version: 1.5.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -32,6 +32,7 @@
1.4.0 K Hoang 05/09/2021 Add support to Teensy 4.1 using QNEthernet
1.5.0 K Hoang 17/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet
1.5.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.5.2 K Hoang 01/12/2021 Auto detect ESP32 core for LittleFS. Fix bug in examples for WT32_ETH01
**********************************************************************************************************************************/

#ifndef MYSQL_GENERIC_ENCRYPT_SHA1_IMPL_H
Expand Down
Loading

0 comments on commit 3f2b60a

Please sign in to comment.