Commit Graph

2604 Commits

Author SHA1 Message Date
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
Lucas Saavedra Vaz
d45f35a2c8
ci(wokwi): Self host Wokwi CLI server (#9701)
* ci(wokwi): Self host Wokwi CLI server

* ci(event_file): Fix file upload

* change(tests): Re-run once on test failure
2024-05-27 21:35:57 +03:00
Me No Dev
3925d51839
fix(release): install missing 'packaging' package (#9698)
* fix(release): install missing 'packaging' package

Necessary to combine the json files

* Update .github/workflows/release.yml

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-27 19:28:00 +03:00
Lucas Saavedra Vaz
dcfb257496
change(readme): Update C6 and H2 support (#9697) 2024-05-27 19:07:27 +03:00
Me No Dev
2b0404bf1c
feat(reports): Update Issue-report.yml with new versions (#9699)
Adding missing versions from Issue Report form
2024-05-27 19:07:06 +03:00
Me No Dev
b3ad98cbf6
fix(release): Update merge_package.py (#9694)
Use packaging.version instead of the deprecated distutils.version
2024-05-27 17:13:59 +03:00
Matti Airas
d94b32ed20
fix(esp-hal-log):Provide a default TAG name for USE_ESP_IDF_LOG logging macro (#9686)
* change(logging): Provide a default TAG name for USE_ESP_IDF_LOG

The ESP-IDF logging library has some nice features such as log
forwarding. esp32-hal-log.h has long supported the USE_ESP_IDF_LOG
macro, but due to subsequent changes, it requires a global TAG
preprocessor macro to be defined. The macro name is too generic and
just having a sane default would be preferable.

* 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-05-27 16:34:40 +03:00
Tarosa
8091b7a77c
feat(3rd_party_board):Add GPIO pin mappings for M5Stack CamS3 Unit and select OPI PSRAM by default (#9688)
* feat(camera): Add GPIO pin numbers for M5Stack CamS3 Unit

* docs(troubleshooting): Update guide for M5UnitCamS3 PSRAM configuration

* fix(): Remove QSPI option from M5Stack CamS3

* ci(pre-commit): Apply automatic fixes

* fix(): Make OPI PSRAM option as default

* fix(): Revert troubleshooting addition

---------

Co-authored-by: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-05-27 16:34:24 +03:00
Jan Procházka
ca28e65f4d
fix(adc): Remove masking for channel number (#9692) 2024-05-27 15:30:18 +03:00
Me No Dev
4717585421
fix(eth): Fix ETH.stop() with IDF SPI (#9693) 2024-05-27 15:30:01 +03:00
Leandro Mattioli
097f2ab903
docs(ledc):Fixed outdated function signature (void ledcWrite instead of bool ledcWrite) (#9680) 2024-05-27 12:09:20 +03:00
monte-monte
316c021b44
Update Kconfig.projbuild (#9684)
Fix selective compilation to include LittleFS library when checked in menu.
2024-05-27 12:08:47 +03:00
Luca Burelli
d164df89de
fix: remove "programmer.default" from Nano ESP32 (#9666)
Setting programmer.default has unfortunately multiple effects:
- sets the tick by default in the Tool menu in the IDE (which was the
  expected behavior),
- forces the CLI to use the specified programmer every time an upload is
  attempted (which is confusing users).

For this reason, it is better to remove the "programmer.default" setting
from the board definition and let the user choose the programmer in the
IDE menus, as it was before.
2024-05-22 13:59:07 +03:00
Me No Dev
ee081b988f
fix(eth): Fix ETH.end() (#9661)
* fix(eth): Fix ETH.end()

* fix(eth): set glue handle to NULL
2024-05-22 09:51:20 +03:00
Me No Dev
b1c9506489
feat(eth): Enable the possibility to use SPI ETH with only 4 wires (#9659)
This PR enables ETH_SPI_SUPPORTS_NO_IRQ to support connection by only 4 wires (SCK, MISO, MOSI and SS) with IRQ and RESET being set as -1
2024-05-21 23:10:06 +03:00
Me No Dev
f2e064d0c2
fix(eth): Attach ETH events at the correct place (#9658)
This is to ensure that stack events are called before ours, because callbacks are called in order of attaching
2024-05-21 23:09:39 +03:00
ZY
82c36a2fcc
feat: add support for WeAct Studio ESP32C3 (#9653) 2024-05-21 16:45:26 +03:00
Alex
196e4409c7
updated ESPDuino with extra options (#9642) 2024-05-21 16:45:11 +03:00
Jan Procházka
50ef6f4369
Zigbee examples update (#9627) 2024-05-15 18:13:41 +02:00
Me No Dev
356e738ee3
Add support for specifying a WPA2 EAP-TTLS phase 2 method to WiFi.begin (#9639) 2024-05-15 18:12:52 +02:00
Me No Dev
f6cbea13b7
feat(usb): Remove redundant absolute mouse support (#9640) 2024-05-15 18:12:18 +02:00