Commit Graph

2674 Commits

Author SHA1 Message Date
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
Ha Thach
cc50d90ce4
add upload_port vid/pid for adafruit boards (#9779) 2024-06-05 09:52:14 +03:00
Paul Price
e99f40cadd
Updated Smart Bee Boards for ID2 & CLI (#9778) 2024-06-05 09:51:59 +03:00
SooDragon
640523827b
fix: Changed Board name (#9773)
fix: Changed Board name
2024-06-04 21:14:44 +03:00
Me No Dev
dc5bd3814c
fix(release): Shorten all toolchain names/versions (#9760)
Helps to overcome the limit of windows path, when the usernames are long.
2024-06-04 09:46:50 +03:00
Me No Dev
04427c9934
feat(partition): Add 4MB No File System partition scheme (#9769)
Adds partition scheme with two apps, 2MB each.
2024-06-04 07:58:39 +03:00
Me No Dev
55ec22f2e5
fix(ssl): Fix load stream memory leak (#9767)
* fix(ssl): Fix load stream memory leak

Loading Ca Cert/Certificate or Private Key from stream was leaking memory, due to buffers not being freed.

* fix(ssl): Cast the buffers to non-const
2024-06-04 07:58:21 +03:00
Lucas Saavedra Vaz
ce229a1708
docs(component): Improve Arduino as component documentation (#9765) 2024-06-04 07:58:05 +03:00
Me No Dev
546ce3806b
fix(tls): do not attach bundle from runtime (#9763)
* fix(tls): do not attach bundle from runtime

* fix(ssl): Make the bundle callback per context
2024-06-04 07:57:47 +03:00
Me No Dev
de2fc251db
fix(idf): Require MDNS as public (#9764)
* fix(idf): Require MDNS as public

Included in Arduino's public headers

* fix(idf): Switch to require through the component yaml
2024-06-03 20:22:40 +03:00
Me No Dev
f742b742f1
feat(idf): Require esp_psram when as component (#9762)
* feat(idf): Require esp_psram when as component

* fix(idf): Move requirement to private
2024-06-03 20:22:09 +03:00
Me No Dev
8b4c1303f4
feat(usb): Support the new USB IDF API (#9761)
* feat(usb): Support the new USB IDF API

Required for the latest ESP-IDF release/v5.1

* 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-03 15:45:31 +03:00
me-no-dev
97c98eb0cb Update core version to 3.0.1 2024-06-03 13:09:02 +03:00
Me No Dev
ffeebf8da8
fix(esp): Fix getFlashChipMode breaking on S3 and C3 (#9758) 2024-06-03 13:04:42 +03:00
Me No Dev
e33022f3f0
fix(boards): Add missing parameter to esp32_family for IDE1 (#9759) 2024-06-03 13:02:33 +03:00
Jan Procházka
a62ad55c31
feat(boards): Add Zigbee menu for C6/H2 boards (#9754) 2024-06-03 10:42:02 +03:00
Jan Procházka
f447a92724
ci(sizes): Sites test between master and 2.x branch (#9755)
* ci(sizes):  Sites test between master and 2.x branch

* ci(sizes): Remove if as its manual trigger
2024-06-03 10:19:51 +03:00
Me No Dev
21228117ff
feat(scan): Allow setting scan timeout in milliseconds (#9738) 2024-06-03 10:10:08 +03:00
Juraj Andrássy
58e61efa44
ci(external_libs): Add EthernetESP32 to ext. libraries compilation test (#9747) 2024-06-03 10:05:08 +03:00
Me No Dev
00fb7993ad
feat(tools): Updated get.py with ability to verify extracted files and skip if ok (#8720)
* Updated get.py with ability to verify extracted files and skip if ok

* Updates

* Minor fixes

* Push binary to tools

* Fix formatting and add checksum comparison

* Push binary to tools

* Skip checksum for libs

* Push binary to tools

* ci(pre-commit): Apply automatic fixes

* Push binary to tools

* Make the linter happy

* Push binary to tools

* refactor(get.py): Small improvements

* fix(get.py): Fix parent folder name

* ci(pre-commit): Apply automatic fixes

* Push binary to tools

* fix(get.py): Fix header comment

* Push binary to tools

---------

Co-authored-by: Tomas Pilny <tomas.pilny@espressif.com>
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>
Co-authored-by: pre-commit-ci-lite[bot] <pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: lucasssvaz <lucasssvaz@users.noreply.github.com>
2024-06-03 10:04:22 +03:00
Unexpected Maker
c16a325439
Updated UM boards for IDE2 & CLI (#9726)
* Updated UM boards for IDE2 & CLI

* Removed unwanted UM_RMP folder.
2024-05-30 14:19:03 +03:00
Mathieu Carbou
16b1aeb745
fix(net): Fix IPv4 address construction from ip_addr_t and comparison (#9724) (#9725) 2024-05-30 14:18:46 +03:00
Juraj Andrássy
f1cb6b83fa
fix(variant): Arduino Nano ESP32 variant fix for version 3 (#9722) 2024-05-30 14:18:31 +03:00
per1234
79b835059f
feat(tools):Use Windows native path separator in ESP_SR model copy command pattern (#9649)
* fix(platform): Use Win path separator in ESP_SR copy command pattern

Although Windows generally supports the use of the POSIX compliant slash path separator in addition
to the Windows native backslash separator, in the specific use case where a path is present in a
native command executed via an argument to `cmd /c` in a platform command pattern, it is mandatory
to use backslash path separators.

Previously, a slash path separator was used in the `tools.esp32-arduino-libs.path` and
`compiler.sdk.path` platform properties, which were referenced in a `copy` command in the `cmd /c`
argument part of the platform's `recipe.hooks.objcopy.postobjcopy.2.pattern.windows` command
pattern. This caused compilation to fail with a "The syntax of the command is incorrect." error
under the following conditions:

- The compilation is performed on a Windows machine
- The compiled sketch uses the ESP_SR library

This is fixed by adding Windows override variants of the properties, with backslash path separators.

* fix(release): Remove windows path to libs when releasing

---------

Co-authored-by: me-no-dev <hristo@espressif.com>
2024-05-29 14:26:51 +03:00
Jan Procházka
55e340ce47
docs(libraries): Add new SoCs H2 and C6 to missing parts in docs (#9709)
* docs(libraries): Add new SoCs

* docs(): Add C2 and H2 to USB and getting started

* docs(): Fix table format

* docs(extension): Add sphinxemoji support

* docs(): Lower emoji version

* Revert "docs(): Lower emoji version"

This reverts commit 3f3e0adf3c.

* Revert "docs(extension): Add sphinxemoji support"

This reverts commit e903da689d.

* docs(): Shrink peripherals table

* docs(): Shrink table even more

* docs(): Shrink table more and more

* docs(): Shrink table the most I am able to
2024-05-29 13:04:46 +03:00
Me No Dev
f772fcadfd
fix(boards): Remove duplicate VID/PID from boards.txt and add default CDC/JTAG board (#9717)
* fix(boards): boards must define unique VID/PID

Also adds a hidden board with the default VID/PID of USB CDC/JTAG in order to always show that in IDE when ESP32 CDC/JTAG device is connected

* fix(boards): Skip test for the generic board

* Trigger board test

* fix(boards): Make discovery work on IDE2
2024-05-29 13:00:07 +03:00
Me No Dev
a4ee652506
fix(net): Don't unregister events if there are interfaces still open (#9706)
* fix(net): Don't unreg events if there are netifs

Unregister IP events only if all other netifs are stopped.

* fix(eth): Delete mac and phy on end

* fix(net): Update pin naming and log levels
2024-05-29 07:43:28 +03:00
Brent Picasso
10a48f52e8
Addition (3rd_party_board): Add board support for Autosport Labs ESP32-CAN-X2 development board (#9683)
* add board support for Autosport Labs ESP32-CAN-X2 development board

* change(board-support): Add board support for Autosport Labs ESP32-CAN-X2 development board

* change(board-support) - remove entries that are already globally defined

* change(board-support) rename board name

* change(board-support) switch ASL-CAN-X2 to ASL_CAN_X2

* change(board-support) fix formatting, correct USB VID/PID to match our own product

* Update variants/aslcanx2/pins_arduino.h

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>

* Update variants/aslcanx2/pins_arduino.h

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>

---------

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-05-29 07:42:45 +03:00
Adrian Immer
d8e1374dc3
ci(external_libs): Add ZACwire to External libraries compilation test (#9705)
* Add ZACwire to External libraries compilation test

* fix example path

* fix(lib): fixed link to right examples

The previously linked example wasn't working, so I linked two other examples, which are more up to date
2024-05-28 22:33:21 +03:00
Jan Procházka
3267469015
fix(ci): Compare correct name of the artifact (#9708) 2024-05-28 16:39:34 +03:00
Me No Dev
62bf719186
fix(IDF): Define max IDF version for the component (#9703)
Fixes the issue, where the component is shown as compatible with ESP-IDF 5.2, while in fact isn't.

cc: @igrr
2024-05-28 14:40:47 +03:00