Commit Graph

2604 Commits

Author SHA1 Message Date
Rodrigo Garcia
5a078de8ad
fix(boards): boards.txt error (#9930)
Fixes XIAO C6 board name in boards.txt file
2024-06-24 19:27:04 +03:00
Rodrigo Garcia
d891ddfec7
New OpenThread CLI Arduino Library for ESP32-C6 and ESP32-H2 (#9908)
* feat(OThread): Add Library

* fix(OpenThread): fixes file list in CMakeLists.txt

* fix(openthread): Fixes JSON CI Files

* fix(openthread): Fixes JSON CI Files

* fix(openthread): Include Openthread guarding

* fix(openthread): COAP parametrization

* fix(openthread): Include Openthread guarding

* fix(openthread): Improves commentaries and code

* fix(openthread): Improves code

* fix(openthread): Includes StreamString.h

* feat(openthread): New Scan Example

* feat(openthread): Improved Scan Example

* feat(openthread): README.md

Initial documentation for ESP3 Arduino OpenThread CLI API.

* feat(openthread): helper functions documentation

Create helper_functions.md for ESP32 Arduino OpenThread API

* fix(openthread): begin end

* feat(openthread): onReceice example

* fix(openthread): tx queue error

* fix(doc): fixing documentation apresentation

Fixes the documentation first paragraph in order to make it easier fore reading. It also displays in the very top which SoC are supported by the library.

* fix(doc): documentation format

* feat(openthread): commentary

* fix(openthread): Typo, start/stop console

* fix(openthread): library properties

* ci(pre-commit): Apply automatic fixes

* feat(openthread): formatting text

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-06-24 19:26:42 +03:00
TimL
9e55ccd98e
PPP: Make modem reset delay configurable (#9910)
* fix(ppp): Make modem reset delay configurable

The delay required to reset Simcom modem modules varies significantly across
different models, even where they have otherwise identical AT command
sets.

Simcom A7672 was failing to reset with the default 200ms delay. Make the reset
delay configurable to allow customising this for a specific modem.
Default delay, if not specified is kept at 200ms.

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-06-24 12:00:58 +03:00
Rodrigo Garcia
47298ffa3d
fix(doc): Update boards.rst (#9925)
Fixes documentation for ESP32 family. Arduino Core 3.0.x has 6 supported SoC and each has a different radio specification.
2024-06-24 11:55:05 +03:00
Me No Dev
ad1de0b37c
feat(net): Switch to typedefs for WiFiClient, WiFiServer, WiFiUdp and WiFiClientSecure (#9909)
* feat(net): Deprecate old WiFi APIs

Deprecates WiFiClient, WiFiServer, WiFiUdp and WiFiClientSecure

* fix(net): add defines to WiFi.h

Defines are added to not cause deprecation warnings. Will be removed in the future

* fix(net): Use typedefs instead to help with forward declarations

Defines do not allow forward declarations
2024-06-24 10:26:22 +03:00
Lucas Saavedra Vaz
1f2ba1f87f
docs(i2s): Fix I2S documentation example (#9916)
* docs(i2s): Fix I2S documentation example

* docs(idf): Fix name of Arduino as component link
2024-06-24 10:23:47 +03:00
Lucas Saavedra Vaz
26db8cba32
ci(tests): Avoid the use of pull_request_target where possible (#9899) 2024-06-24 10:23:24 +03:00
Rodrigo Garcia
0ef2986874
feat(rmt): Solve neopixel issue (#9906)
* feat(rmt): Solve neopixel issue

if neopixelWrite() is used from different tasks/isr_callbacks, it may result in a concurrency problem and many detach/attach calls in sequence, but not in synch.

This commit avoids initializing the neopixel GPIO again and improves the respomse time of neopixelWrite().
2024-06-20 16:33:06 -03:00
vortigont
1079f4c855
HTTPClient lib - add HTTPCLIENT_NOSECURE build flag (#9893)
* HTTPClient lib - add HTTPCLIENT_NOSECURE build flag

`HTTPCLIENT_NOSECURE` build flag disables TLS support in HTTPClient library by
excluding `NetworkClientSecure.h` header.
This allows linker to strip down mbedTLS lind and certificates bundle,
which in turn reduces firmware image for about ~80kib.

* Update HTTPClient.cpp

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-06-20 14:13:15 +03:00
Vincentius Adrian
d708438b8c
feat: reduce bluetooth serial flush delay to 2 ms (#9905) 2024-06-19 21:10:11 +03:00
Rodrigo Garcia
206c0c71ab
Deep Sleep Example Fix (#9904)
* fix(example): EXT0 and EXT1 wakeup

Fixes the Deep Sleep wakup example to run with IDF5.1. The API has changed and a adjustment was necessary.

* feat(wakeup): Use Macro for GPIO_NUM

Changed the example to use a #define for the RTC IO Pin (GPIO) used in the example.

* fix(typo): typo and commentaries

Fixes the commentary to the correct IDF terms.

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-06-19 19:19:39 +03:00
Me No Dev
b77b38e40e
fix(version): Update version to 3.0.2 (#9902) 2024-06-19 16:23:29 +03:00
Ludovic BOUÉ
e7dd6e2ca7
Add variant for Elecrow CrowPanel 7.0" (#9897)
* * feat(esp32): Add variant for Elecrow CrowPanel 7.0

Add variant for Elecrow CrowPanel 7.0"

* * feat(esp32): Add variant for Elecrow CrowPanel 7.0

Add variant for Elecrow CrowPanel 7.0"

* * feat(esp32): Add variant for Elecrow CrowPanel 7.0

Elecrow CrowPanel 7.0" has 4MB flash
2024-06-19 16:23:09 +03:00
Jan Procházka
bdabb9987d
docs(preferences): Fix getBool function (#9901) 2024-06-19 15:02:13 +03:00
Me No Dev
0bb59a87d8
IDF release/v5.1 c00dad83c1 (#9900) 2024-06-19 13:27:26 +03:00
Junxiao Shi
3f6c34abd2
fix(boards): set XTAL 26MHz for Heltec WiFi & LoRa V1 (#9889) 2024-06-19 09:56:51 +03:00
Me No Dev
a992967079
fix(time): Fix SimpleTime to also use DHCP (#9886) 2024-06-19 09:55:54 +03:00
Lucas Saavedra Vaz
96c2c71cb3
ci(tools): Fix tools workflows (#9846)
* ci(tools): Remove ARM64 runner and use get.exe

* ci(tools): Optimize get.py and verify extraction

* change(tools): Push generated binaries to PR

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-19 09:55:37 +03:00
Rodrigo Garcia
99750cd37e
Adds BLE Characteristic User Description 0x2901 Descriptor (#9883)
Adds a class for 0x2901 - Characteristic User Descriptor.
This Descriptor is usual in BLE and describes with text what each characteristic is about.
Improve Notify.ino example by adding the 0x2901 descriptor
2024-06-18 14:45:22 -03:00
Earle F. Philhower, III
6b223391c1
fix(netbios): Return interface address for NetBIOS name lookup (#9885)
* fix(netbios): Return interface address for NetBIOS

When NetBIOS returns a match, it should return the IP address of the device.
Presently, however, it returns the address of multicast IP for the subnet
since the incoming NBNS packet's UDP target will be multicast
(i.e. 192.168.1.255).

Iterate over the active network interfaces and check netmasks to determine
where the packet came from, and return the appropriate IP interface address
instead.

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-06-18 12:35:56 +03:00
Ashley Grealish
76b6ff6500
fix: Updated the BasicHttpsClient example root certificate (#9857)
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2024-06-18 07:47:52 +03:00
Rodrigo Garcia
32def87c0b
fix(BLE): Arduino String shall not be used within std::map<> (#9875)
* fix(BLE): std::map()

* Update libraries/BLE/src/BLERemoteService.cpp

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-06-18 00:26:21 +03:00
Me No Dev
c43187a386
fix(wifi): Fix WiFi setTxPower and getTxPower (#9862)
* fix(wifi): Fix WiFi setTxPower and getTxPower

We need to wait for the interface to be started in order to be able to set/get TX Power. Code was returning too early, so calling the functions after `begin()` resulted in failure.

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-06-17 22:47:12 +03:00
Juraj Andrássy
5c22402025
fix: ClientSecure.available() fix for connection closed by remote socket (#9869) 2024-06-17 22:40:10 +03:00
Me No Dev
1efab83432
feat(http): Allow to set Accept-Encoding header (#9863)
Similar to setUserAgent
2024-06-17 22:32:52 +03:00
Me No Dev
2c7f722e70
add(board): Add LILYGO T-ETH-Lite (#9865)
* add(board): Add LILYGO T-ETH-Lite

Adds board support for Lilygo T-ETH Lite

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-06-17 22:32:30 +03:00
Jan Procházka
5b7c615a0a
ci(boards): Add cache for libs (#9877) 2024-06-17 22:32:05 +03:00
Thibo Verheyde
7d73a74d65
Add Walter board support (#9817) 2024-06-17 22:31:04 +03:00
Lesords
cbf1e94dd5
chore: delete the definition of pin A3 (#9798)
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-06-14 00:27:49 +03:00
Me No Dev
f22ddb30b7
feat(uart): Add esp-modbus to the included components (#9855)
It used to come with IDF 4.x
2024-06-14 00:26:59 +03:00
Me No Dev
f33cc7e944
fix(ota): Allow password and partition change while idle (#9853)
Previously it was allowed only once before begin() was called
2024-06-14 00:26:36 +03:00
Me No Dev
a8ce679d81
fix(ota): Magic byte check fails with encrypted firmware (#9852) 2024-06-14 00:26:11 +03:00
Ayush Sharma
08ef62531d
fix: removeRoute should remove all matching routes (#9851) 2024-06-14 00:25:49 +03:00
Ayush Sharma
3428eb6a9e
feat: added support for filters in WebServer library (#9842)
* feat: added support for filters in webserver

* feat: add setFilter function in StaticRequestHandler

* fix: ON_STA_FILTER & ON_AP_FILTER

* fix: make request handlers backward compatible

* fix: ON_STA_FILTER & ON_AP_FILTER

* fix: more filters to their own example

* chore: grammar

* fix: remove filters from header file

* fix: use same root route for both interfaces

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-06-14 00:25:20 +03:00
Me No Dev
1d895e58e7
fix(xtal): Add a way to change the XTAL frequency for SparkFun ESP32 Thing (#9844)
* fix(xtal): Add a way to change the XTAL frequency

Add support for boards like SparkFun ESP32 Thing that use 26MHz XTAL

* ci(pre-commit): Apply automatic fixes

* feat(dbg): Print the XTAL frequency in the debug report

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-06-13 10:26:54 +03:00
Ayush Sharma
849ec57ca6
Added support for removing routes in WebServer library (#9832)
* feat: added removeRoutes and removeHandler methods

* feat: added removeRoute and removeHandler methods

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-06-13 08:51:32 +03:00
Me No Dev
211520b4ba
fix(client): Fix NetworkClient::localIP() (#9845)
It was returning zero, because it was not able to handle IPv4 mapped address into IPv6 address
2024-06-13 08:40:06 +03:00
Me No Dev
bc79feb217
fix(client): Implement readBytes in NetworkClient for faster downloads (#9824)
* fix(client): Implement readBytes in NetworkClient for faster downloads

* fix(client): Implement readBytes to obey the client timeout

* fix(clieant): use getTimeout() instead

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-06-13 08:39:04 +03:00
Me No Dev
1ef2208349
feat(crypto): Add libsodium to the included components (#9821) 2024-06-13 08:38:25 +03:00
Lucas Saavedra Vaz
a31a5fca17
fix(ci): Fix issues found in workflows (#9829)
* ci(tests): Swap cache to artifacts to avoid errors between OSes

* ci(push): Fix chunk generation for compilation

* ci(tests): Fix error code propagation

* ci(push): Add shebang to new script

* ci(push): Fix sizes upload if there is no changes

* ci(bot): Fix GitHub actions bot commit info
2024-06-13 07:53:42 +03:00
lbernstone
e382746b95
feat(sdmmc): Add RAW disk functions (#9796)
* feat(sdmmc): Add RAW disk functions

feat(sdmmc): fixed printf mismatches and missing callback

feat(sdmmc): added ci.json

Removed excess log_i

* ci(pre-commit): Apply automatic fixes

* Fixed sdmmc host check to pass CI

* feat(sdmmc): fixed example USB check

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-06-12 08:53:54 +03:00
Rodrigo Garcia
575a415719
fix (adc): fixes limit test (#9807)
Fixes analogContinuousSetWidth() border test.
2024-06-10 15:31:30 +03:00
Lucas Saavedra Vaz
034d568d7c
ci(wifi): Add scan to wifi test (#9805) 2024-06-10 15:30:46 +03:00
Lucas Saavedra Vaz
2928654027
change(idf): Rename component example and fix compilation warnings (#9801)
* change(idf): Rename component example

* ci(push): Fix steps conditions

* ci(tests): Remove unnecessary concurrency

* ci(push): Fix step condition

* fix(idf): Fix compilation warnings when as component
2024-06-10 15:30:18 +03:00
Lucas Saavedra Vaz
e3fedc5e8c
ci(refactor): Fix workflows and small improvements (#9793)
* ci(fix): Fix new workflows

* ci(pre-commit): Properly cache python modules

* fix(get.py): Verify files after extraction and make it more readable

* ci(idf): Compile as component when libs change

* ci(wokwi): Re-enable cache for wokwi tests

* ci(tests): Run scripts only from master

* Revert "fix(get.py): Verify files after extraction and make it more readable"

This reverts commit cc40edb407.

* ci(compilation): Fix changed files check

* ci(wokwi): Disable tests that use scenarios
2024-06-07 12:29:27 -03:00
Unexpected Maker
5d9cd9ac58
Added new UM FeatherS3 Neo board. (#9788)
* Added new UM FeatherS3 Neo board.

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-06-06 23:25:43 +03:00
Lucas Saavedra Vaz
297757a6bf
fix(readme): Fix tests badge (#9781) 2024-06-05 21:12:06 +03:00
Me No Dev
2ba3ed33c1
IDF release/v5.1 3f9ab2d6a6 (#9770) 2024-06-05 15:25:36 +03:00
Lucas Saavedra Vaz
f5b8e27df7
ci(refactor): Refactor workflows and skip files (#9696)
* ci(refactor): Refactor workflows and skip files

* ci(refactor): Refactor workflows and skip files

* ci(refactor): Improvements and compilation of only related files

* ci(refactor): Delete duplicated steps

* ci(refactor): General improvements

* ci(refactor): Delete duplicated lines

* ci(refactor): Rename jobs
2024-06-05 15:19:25 +03:00
Me No Dev
ebb77c4611
Update Issue-report.yml with version 3.0.1 2024-06-05 10:54:11 +03:00