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

Commit

Permalink
v2.8.4 to auto-detect ESP32 core version
Browse files Browse the repository at this point in the history
## Version 2.8.4

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 be62d56 commit 14c45a1
Show file tree
Hide file tree
Showing 39 changed files with 308 additions and 95 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 an endless loop while trying to connect to Local WiFi.
Expand Down
114 changes: 69 additions & 45 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 @@ -14,6 +14,7 @@


* [Changelog](#changelog)
* [Version 2.8.4](#Version-284)
* [Version 2.8.3](#Version-283)
* [Version 2.8.2](#Version-282)
* [Version 2.8.0](#Version-280)
Expand Down Expand Up @@ -44,6 +45,12 @@

# Changelog

## Version 2.8.4

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

## Version 2.8.3

1. Update `platform.ini` and `library.json` to use original `khoih-prog` instead of `khoih.prog` after PIO fix
Expand Down
12 changes: 7 additions & 5 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SinricPro_Generic",
"version": "2.8.3",
"version": "2.8.4",
"keywords": "communication, sinric, sinric-pro, alexa, iot, websockets, ethernet, wifi, wifinina, rp2040, rpi-pico, samd, sam-due, nrf52, stm32, nano-rp2040-connect, mbed, control, nano-33-iot, wt32-eth01, device",
"description": "Library for https://sinric.pro - simple way to connect your device to Alexa. For ESP8266, ESP32, WT32_ETH01, SAMD, SAMD21, SAMD51, nRF52, STM32F/L/H/G/WB/MP1, Teensy, SAM DUE, RP2040-based (Nano_RP2040_Connect, RASPBERRY_PI_PICO) boards, etc. using W5x00/ENC28J60 Ethernet, WiFiNINA or RTL8720DN",
"authors": [
Expand Down Expand Up @@ -38,19 +38,19 @@
{
"owner": "khoih-prog",
"name": "WebSockets_Generic",
"version": ">=2.10.0",
"version": ">=2.11.0",
"platforms": ["*"]
},
{
"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,8 +108,10 @@
"platforms": ["*"]
}
],
"license": "CC-BY-SA-4.0",
"frameworks": "*",
"platforms": "*",
"examples": "examples/*/*/*.ino",
"license": "CC-BY-SA-4.0"
"headers": ["SinricPro_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=SinricPro_Generic
version=2.8.3
version=2.8.4
author=Boris Jaeger <sivar2311@gmail.com>, Khoi Hoang <khoih.prog@gmail.com>
maintainer=Khoi Hoang <khoih.prog@gmail.com>
sentence=Library for https://sinric.pro - Simple way to connect your device to Alexa
Expand Down
160 changes: 153 additions & 7 deletions platformio/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,27 @@
; 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

[env]
; ============================================================
Expand All @@ -38,9 +51,9 @@ lib_compat_mode = strict

lib_deps =
; PlatformIO 4.x
WiFiNINA_Generic@>=1.8.13
WebSockets_Generic@>=2.10.0
WebServer_WT32_ETH01@>=1.2.0
WiFiNINA_Generic@>=1.8.14-1
WebSockets_Generic@>=2.11.0
WebServer_WT32_ETH01@>=1.4.1
ArduinoJson@>=6.18.5
Ethernet@>=2.0.0
EthernetLarge@>=2.0.0
Expand All @@ -51,9 +64,9 @@ lib_deps =
STM32duino STM32Ethernet@>=1.2.0
STM32duino LwIP@>=2.1.2
; PlatformIO 5.x
; khoih-prog/WiFiNINA_Generic@>=1.8.12
; khoih-prog/WebSockets_Generic@>=2.7.0
; khoih-prog/WebServer_WT32_ETH01@>=1.2.0
; khoih-prog/WiFiNINA_Generic@>=1.8.14-1
; khoih-prog/WebSockets_Generic@>=2.11.0
; khoih-prog/WebServer_WT32_ETH01@>=1.4.1
; bblanchon/ArduinoJson@>=6.18.2
; PaulStoffregen/Ethernet@>=2.0.0
; PaulStoffregen/EthernetLarge@>=2.0.0
Expand All @@ -71,6 +84,20 @@ build_flags =
; comment the folowing line to enable WiFi debugging
; -D NDEBUG

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

; change microcontroller
board_build.mcu = at91sam3x8e

; change MCU frequency
board_build.f_cpu = 84000000L

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

[env:ESP8266]
platform = espressif8266
framework = arduino
Expand Down Expand Up @@ -116,9 +143,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 @@ -157,6 +187,9 @@ board = esp32doit-devkit-v1
;board = iotbusproteus
;board = nina_w10

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

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

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

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

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

[env:STM32]
platform = ststm32
framework = arduino
Expand Down Expand Up @@ -362,3 +400,111 @@ 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

; ============================================================
; Board configuration Many more Boards to be filled
; ============================================================

3 changes: 2 additions & 1 deletion src/LeakyBucket.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
This file is part of the Sinric Pro (https://github.com/sinricpro/)
Version: 2.8.3
Version: 2.8.4
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -27,6 +27,7 @@
2.8.1 K Hoang 02/06/2021 Add support to RP2040 using Arduino-mbed or arduino-pico core with WiFiNINA or Ethernet
2.8.2 K Hoang 20/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720A)
2.8.3 K Hoang 12/10/2021 Update `platform.ini` and `library.json`
2.8.4 K Hoang 01/12/2021 Auto detect ESP32 core for LittleFS. Fix bug in examples for WT32_ETH01
**********************************************************************************************************************************/

#ifndef _LEAKY_BUCKET_H_
Expand Down
3 changes: 2 additions & 1 deletion src/SinricPro.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
This file is part of the Sinric Pro (https://github.com/sinricpro/)
Version: 2.8.3
Version: 2.8.4
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -27,6 +27,7 @@
2.8.1 K Hoang 02/06/2021 Add support to RP2040 using Arduino-mbed or arduino-pico core with WiFiNINA or Ethernet
2.8.2 K Hoang 20/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720A)
2.8.3 K Hoang 12/10/2021 Update `platform.ini` and `library.json`
2.8.4 K Hoang 01/12/2021 Auto detect ESP32 core for LittleFS. Fix bug in examples for WT32_ETH01
**********************************************************************************************************************************/

#ifndef _SINRIC_PRO_H_
Expand Down
3 changes: 2 additions & 1 deletion src/SinricProAirQualitySensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
This file is part of the Sinric Pro (https://github.com/sinricpro/)
Version: 2.8.3
Version: 2.8.4
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -27,6 +27,7 @@
2.8.1 K Hoang 02/06/2021 Add support to RP2040 using Arduino-mbed or arduino-pico core with WiFiNINA or Ethernet
2.8.2 K Hoang 20/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720A)
2.8.3 K Hoang 12/10/2021 Update `platform.ini` and `library.json`
2.8.4 K Hoang 01/12/2021 Auto detect ESP32 core for LittleFS. Fix bug in examples for WT32_ETH01
**********************************************************************************************************************************/

#ifndef _SINRIC_PRO_AIRQUALITYSENSOR_H_
Expand Down
3 changes: 2 additions & 1 deletion src/SinricProBlinds.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
This file is part of the Sinric Pro (https://github.com/sinricpro/)
Version: 2.8.3
Version: 2.8.4
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -27,6 +27,7 @@
2.8.1 K Hoang 02/06/2021 Add support to RP2040 using Arduino-mbed or arduino-pico core with WiFiNINA or Ethernet
2.8.2 K Hoang 20/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720A)
2.8.3 K Hoang 12/10/2021 Update `platform.ini` and `library.json`
2.8.4 K Hoang 01/12/2021 Auto detect ESP32 core for LittleFS. Fix bug in examples for WT32_ETH01
**********************************************************************************************************************************/

#ifndef _SINRIC_PRO_BLINDS_H_
Expand Down
Loading

0 comments on commit 14c45a1

Please sign in to comment.