Commit graph

2639 commits

Author SHA1 Message Date
Marek Knosala
b2e67ca278
Update analogContinuous function for passing pins as const and constexpr (#10044)
* Update esp32-hal-adc.c

* Update esp32-hal-adc.h

* Update adc.rst
2024-07-22 11:59:18 +03:00
Lucas Saavedra Vaz
690bdb511d
docs(lib-builder): Add missing requirements and examples (#10040) 2024-07-17 16:04:55 +03:00
Me No Dev
e5ea4da382
add(template): Add version 3.0.3 to the Issue template (#10042)
To be merged after release
2024-07-17 16:04:39 +03:00
Me No Dev
7a82915de2
fix(release): Fix wrong filename for copy 2024-07-17 15:47:53 +03:00
Me No Dev
614c72b4d3
fix(libs): Update all libraries to match the core version (#10041)
From now on core libraries will have the same version as the core
2024-07-16 23:04:43 +03:00
me-no-dev
bd0abb3474 Update core versions to 3.0.3 2024-07-16 21:55:50 +03:00
Me No Dev
77ca7ea7e5
IDF release/v5.1 (#10038)
* IDF release/v5.1 dc859c1e67

* fix(lwip): Filter out V6 packets if V6 is not enabled

the ESP might accept and act on some IPv6 packets, even though IPv6 is not enabled for the interface in Arduino. This change makes the ESP ignore all IPv6 packets if IPv6 address is not available.

* fix(lwip): DNS header is not required

* fix(ot): Add LWIP_HOOK_IP6_INPUT_CUSTOM support
2024-07-16 19:35:06 +03:00
Jan Procházka
3c1e5a9189
feat(ledc): Allow attaching multiple pins to 1 channel (#10032)
* feat(ledc): Allow attaching multiple pins to 1 channel

* feat(ledc): Add ledcWriteChannel function

* feat(ledc): Print info about already set channel

* docs(ledc): Add ledcWriteChannel function and attach update

* feat(ledc): Add example and fixes

* feat(ledc): Remove commented code

* feat(ledc): Fix missing new line at end of file

* 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-07-16 15:52:45 +03:00
Martin Hübner
e850afb15e
SDMMC: Fix example code (#10035)
The setPins() function obviously comes from the SD_MMC lib. Not prepending
that lib, this code won't compile.

Signed-off-by: Martin Hübner <martin.hubner@web.de>
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-07-16 11:52:11 +03:00
Ludovic BOUÉ
2db730630e
add(board): Add M5Stack NanoC6 Dev Kit (#9942)
* add(board): Add M5Stack NanoC6 Dev Kit

M5Stack NanoC6 Dev Kit
https://shop.m5stack.com/products/m5stack-nanoc6-dev-kit

* add(board): Add M5Stack NanoC6 Dev Kit

* add(board): Add M5Stack NanoC6 Dev Kit

* Update boards.txt

* add(board): Add M5Stack NanoC6 Dev Kit

* Rename variants/m5stack_stickc_plus/m5stack_nanoc6/pins_arduino.h to variants/m5stack_nanoc6/pins_arduino.h

* Update boards.txt

* Update pins_arduino.h

* Update pins_arduino.h

* Update boards.txt

m5stack_nanoc6.build.board was not uppercase
2024-07-16 11:24:54 +03:00
Lucas Saavedra Vaz
e54fb9e31f
ci(tests): Fix conclusion status and badge pushing (#10013)
* ci(badge): Push only when changes happened to badge

* ci(tests): Fix conclusion status
2024-07-15 15:23:58 +03:00
tutotio
f3968897e6
Update boards.txt (#10016)
Add default 16MB partition to esp32wroverkit
2024-07-15 12:02:53 +03:00
Ludovic BOUÉ
b57fe57a7f
Update Zigbee_Temperature_Sensor.ino (#10030) 2024-07-15 11:59:26 +03:00
WEMOS Electronics
f8232bb9fd
add(board): Add LOLIN S3 Mini Pro (#10021)
* add(board): Add LOLIN S3 Mini Pro

* 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-07-15 11:59:05 +03:00
Me No Dev
4b7b5d3d09
fix(nodemcu-32s): Fix Upload Speed menu on Windows (#10012)
* fix(nodemcu-32s): Fix Upload Speed menu on Windows

The board definition had 460800 as default upload speed, but that is invalid on Windows, so the menu did not show. This change puts 115200 as default, which will make the menu appear

* fix(board): Make build.board uppercase
2024-07-11 15:29:49 +03:00
Me No Dev
676a62c7c2
fix(report): Add 3.0.2 to list of versions 2024-07-11 13:37:23 +03:00
Jan Procházka
792ad7bc33
docs(component): Update to IDF 5.1 and add component manager instructions (#10005)
* docs(component): Update to 5.1 and add component manager

* 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-07-10 14:18:05 +03:00
Lucas Saavedra Vaz
1923f82a0f
docs(badge): Generate runtime tests badge (#9979) 2024-07-10 14:17:47 +03:00
Me No Dev
874e2a1a1b
fix(example): Add better WPS logging (#9999)
* fix(example): Add better WPS logging

Provides a better log of what went wrong when using WPS

* 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-07-10 14:01:04 +03:00
drmpf
0ab2c58b6c
FS library position() to return (size_t) -1 on error (#10002)
* position_fix

Fix for error return from position()
Issue #9992

* 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-07-10 13:50:09 +03:00
Me No Dev
0adf7873d1
feat(eth): Allow setting the RX task stack size (#10003)
* feat(eth): Allow setting the RX task stack size

Default stack size of 2K might not be enough in some cases. Increase the default to safer 4K and allow setting it to custom value.

* 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-07-10 13:49:33 +03:00
Me No Dev
60b6faacf6
fix(httpc): Fix data read was less than expected (#9998) 2024-07-10 13:49:09 +03:00
TD-er
6debc5c902
Fix timeout in WebServer::_uploadReadByte and handleClient() (#9990) (#9991)
* Fix timeout in WebServer::_uploadReadByte and set timeout handleClient()

Fixes: #9990

* Set HTTP_MAX_CLOSE_WAIT equal to other HTTP_xxx_WAIT values

* 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-07-10 13:48:46 +03:00
Lucas Saavedra Vaz
4e3523c212
docs(lib-builder): Add instructions to use the UI (#9977) 2024-07-03 00:46:29 +03:00
Limor "Ladyada" Fried
762d1a0f69
feat (3rd_party_board): Add new Adafruit Feather C6 - rev B (#9961)
* add new feather c6 rev B :)

* remove the -lzboss_stack.ed.trace per review

* fix pre-commit

---------

Co-authored-by: hathach <thach@tinyusb.org>
2024-07-02 10:32:22 +03:00
Rodrigo Garcia
5f663e708a
fix(uart): Set back Pin signal polarity (#9950)
* fix(uart): Set back Pin signal polarity

Fixes a problem related to inverting signal polarity back to normal after a previous inversion.

This shall set the correct polarity in Serial.begin().

* fix(uart): Remove useless commentary

Removes a commentary with a question about the inversing polarity function.

* fix(uart): Update comment

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-07-01 13:11:15 +03:00
Dawid Strzybny
88ad677f00
fix(docs): Correct i2s.srt api example (#9968) 2024-07-01 12:00:11 +03:00
Lewis He
bc5efee6cb
Added LilyGo T3S3 variants (#9956)
* Added LilyGo T3S3 variants

* 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-07-01 11:55:42 +03:00
Me No Dev
fef3c7369d
feat(net): Enable IPv6 immediately if already connected (#9948)
If the interface is already connected, try to enable IPv6 immediately. Otherwise the interface would need to go through disconnect/connect cycle for IPv6 to be enabled.
2024-07-01 11:20:05 +03:00
Rodrigo Garcia
337058ac94
Fixes WiFiProv.ino (#9946)
* Update WiFiProv.ino

* fix(wifiprov): Uses BLE for provisioning

* 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-28 16:34:06 +03:00
Rodrigo Garcia
36863449e4
RMT Legacy Driver option (#9941)
* feat(rmt): allow legacy driver

* feat(rmt): legacy driver example

* fix(rmt): legacy driver example

* fix(rmt): ESP32_ARDUINO_NEW_RMT_DRV_OFF

* fix(rmt): ESP32_ARDUINO_NEW_RMT_DRV_OFF

* fix(rmt): ESP32_ARDUINO_NEW_RMT_DRV_OFF

* fix(rmt): GPIO HAL only

* fix(rmt): error case

* fix(rmt): not necessary change

* ci(pre-commit): Apply automatic fixes

* ci(pre-commit): Ignore build_opt in clangformat

---------

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-28 12:06:58 +03:00
Lucas Saavedra Vaz
4a6437d3ea
ci(tests): Fix cache cleaning (#9932) 2024-06-25 16:31:52 +03:00
Amir Reza Mohammadi
09b30e9d77
feat(3rd party board): Adding ViraLink IoT Gate Boards (#9841)
* feat(board): Adding ViraLink IoT Gate Boards

* feat(board): Adding ViraLink IoT Gate Boards

* feat(board): Adding ViraLink IoT Gate Boards

* feat(board): Adding ViraLink IoT Gate Boards added spi pins

* feat(board): Adding ViraLink IoT Gate Boards added spi pins

* 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-25 16:31:39 +03:00
Me No Dev
777d0d7004
fix(idf): Require openthread on H2 and C6 (#9934)
Fixes IDF builds for H2 and C6 when OpenThread is enabled
2024-06-25 09:36:43 +03:00
Me No Dev
65204d9e6b
IDF release/v5.1 bd2b9390ef (#9928) 2024-06-24 22:34:00 +03:00
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