Commit graph

2856 commits

Author SHA1 Message Date
me-no-dev
20a28b58bc fix(net): Do not use netif_index_to_name
Causes error on recent IDF builds
2024-10-22 12:13:04 +03:00
Rodrigo Garcia
8ac076c44c
fix(matter): empty line removing - style 2024-10-21 19:26:34 -03:00
Rodrigo Garcia
7a33a9eeff
fix(matter): change the place of wifi credentials in the code 2024-10-21 19:25:20 -03:00
Rodrigo Garcia
0045cfa658
fix(matter): change place of wifi credentials in code 2024-10-21 19:23:28 -03:00
Rodrigo Garcia
f1f0e4d4f3
Update MatterOnOffLight.ino 2024-10-21 14:43:54 -03:00
Rodrigo Garcia
c40444ab33
feat(matter): initial commit with arduino matter lib (#10467)
* feat(matter): initial commit with arduino matter lib

* feat(matter): add matter library to cmakelists.txt

* fix(matter): add correct guard for ci

* fix(matter): using correct ci requirements in ci.json

* fix(matter): using correct ci requirements in header files

* fix(matter): using correct ci requirements header and examples

* fix(typo): typo and commentaries

* fix(typo): typo and commentaries

* fix(typo): typo and commentaries

* fix(commentary): longer explanation

* feat(matter): api simplification with begin

* feat(matter): testing flashmode=qio in CI

* feat(matter): testing flashmode=qio in CI

* fix(matter): changes CI FQBN

* fix(matte): include all fqbn in ci.json using qio

* fix(matter): revert ci and guard changes

* fix(matter): typo and commentaties

* feat(matter): adds a light toggle switch button

* feat(matter): improved the button control

* feat(matter): using switch instead of if() for attibute change

* fix(matter): switch/case scope

* fix(matter): problems found after pressing reset

* feat(matter): improve example using preferences

* fix(pre-commit): Fix and apply pre-commit hooks

---------

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-10-21 16:42:43 +03:00
Lucas Saavedra Vaz
f668557b54
Enable tests for ESP32P4 2024-10-21 10:22:02 -03:00
Lucas Saavedra Vaz
03bfa52d49
Merge branch 'master' into release/v3.1.x 2024-10-21 10:20:31 -03:00
Lucas Saavedra Vaz
9e643c08a7
fix(testing): Checkout proper branch for Wokwi tests and small QoL improvements (#10435)
* fix(tests): Add missing newlines to output

* fix(tests): Improve fibonacci test

* fix(tests): Remove redundant targets from json

* fix(wokwi): Checkout proper base branch for wokwi tests

* feat(logging): Add logging to some tests to improve debugging

* fix(ci): Make CI more permissive and improve messages

* fix(tests): Bump pytest-embedded version to support P4
2024-10-21 15:45:59 +03:00
Jan Procházka
83d35683c3
feat(sdmmc): Add SDMMC support for P4 + remove BUILTIN LED (#10460)
* feat(sdmmc): Add support for P4

* fix(board): Remove builtin led

* Update libraries/SD_MMC/examples/SDMMC_Test/SDMMC_Test.ino

Add missing note about power pin for P4

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

* ci(pre-commit): Apply automatic fixes

* feat(sdmmc): Option to set power channel

* feat(sdmmc): Update pins_arduino.h

* feat(sdmmc): remove sdmmc power from periman

* fix(sdmmc): use corrent variable

* fix(sdmmc): Remove periman

* feat(sdmmc): Toggle power pin if defined

* feat(sdmmc): setPowerChannel available only when supported

* feat(sdmmc): Toggle sd power pin for 200ms

* fix(example): Remove p4 pins as they are listed already

* feat(sdmmc): Check if power channel is specified

* ci(pre-commit): Apply automatic fixes

* fix(ci): codespell fix

---------

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-10-21 15:03:44 +03:00
Jan Procházka
7cfe470d8d
feat(touch): Support NG touch driver for P4 (#10448)
* feat(touch): Support NG touch driver for P4

* fix(ci): Touch test + IDF compilation fixes

* fix(ci): remove debug prints from touch test

* fix(ci): Fix touch test for esp32

* 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-10-21 13:29:01 +03:00
Me No Dev
a7d9b670a8
Add missing versions to ISSUE_REPORT
Versions 3.0.5 and 3.0.6 were added
2024-10-21 11:56:01 +03:00
Lucas Saavedra Vaz
4ca635a3b6
ci(json): Add requires_any field and use QIO by default to match IDE (#10472)
* ci(FQBN): Use QIO as default as DIO can be used on demand now

* fix(indentation): Fix default indentation for bash files

* fix(compilation): Make errors appear on CI fail

* ci(json): Add requires_any field to JSON and fix comparison
2024-10-19 12:00:48 +03:00
Me No Dev
59ca4e2d3d
Merge branch 'master' into release/v3.1.x 2024-10-18 20:32:08 +03:00
Lucas Saavedra Vaz
064d1c4d97
fix(build): Fix sdkconfig copy for Arduino CLI (#10484) 2024-10-18 20:29:14 +03:00
Me No Dev
edb4ee13d2
IDF release/v5.3 707d097b (#10480) 2024-10-17 19:46:14 +03:00
Lucas Saavedra Vaz
8570b3d270
Fix formatting in ETH and USB 2024-10-17 10:21:08 -03:00
me-no-dev
9e48d9f238 fix(spi): Fix P4 SPI Pin definitions
Use GPIOs 36 or lower to avoid LDO power issues
2024-10-17 16:13:59 +03:00
二九
ee8931d151
Add the Waveshare ESP32-S3-Touch-LCD-1.85 board (#10477)
* Delete boards.txt

Delete old files

* Add files via upload

Add the Waveshare ESP32-S3-Touch-LCD-1.85 board

* Add files via upload

Add the Waveshare ESP32-S3-Touch-LCD-1.85 board

* Update pins_arduino.h

Modify the pin definition

* Add files via upload

Add the Waveshare ESP32-S3-Touch-LCD-1.85 board

* Update pins_arduino.h

Modify the pin definition

* feat(board): Add waweshare s3 rouch lcd 185

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: Jan Procházka <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-10-17 14:31:46 +03:00
Me No Dev
ee1bc6ba0a
Add RMII Ethernet support for ESP32-P4 (#10479)
* fix(eth): Add ETH support for ESP32-P4

Also adds configuration to pins_arduino.h

* fix(eth): Enable TLK110 Example on P4

* fix(eth): Fix Ethernet examples

* 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-10-17 14:30:48 +03:00
me-no-dev
612fc4c4bb fix(pins): Adjust P4 SPI pins to ones that are available 2024-10-17 12:12:44 +03:00
Jan Procházka
955b277497
fix(example): print correct fade direction (#10450)
* fix(example): print correct fade direction

* fix(example): Change to fade in out

* fix(example): Codespell fix
2024-10-17 10:43:47 +03:00
Dogus Cendek
51b2fb356d
Add our new board "cezerio dev ESP32C6" (#10462)
* Add cezerio dev ESP32-C6

* Modify pin number of cezerio dev ESP32C6

Modify pin number of cezerio dev ESP32C6

* Update boards.txt

* Update USB_PID

Update USB_PID

* Update boards.txt

Deleted flash and partition options related in flash size bigger than 4MB

* Update pins_arduino.h

* Merge manually to solve conflicts

* Resolve Conflicts

* Add cezerio dev ESP32-C6

* Modify pin number of cezerio dev ESP32C6

Modify pin number of cezerio dev ESP32C6

* Update boards.txt

* Update USB_PID

Update USB_PID

* Update pins_arduino.h

* Add cezerio dev ESP32C6

* Update pins_arduino.h

* Update pins_arduino.h

* Update pins_arduino.h
2024-10-17 10:43:21 +03:00
Max
7849a79435
Add IOXESP32-C6 and ATD3.5-S3 board (#10471)
Co-authored-by: Max <7087907+maxpromer@users.noreply.github.com>
2024-10-17 02:44:47 +03:00
ws-hsw
bda8fcb457
addition(3rd_party_board): Add Waveshare-S3-touch-lcd (#10434)
* add waveshare_touch_lcd

* waveshare_touch_lcd

* waveshare_touch_lcd

* 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-10-17 02:39:23 +03:00
Me No Dev
9dea05b17f
IDF release/v5.3 707d097b (#10473) 2024-10-17 02:38:25 +03:00
me-no-dev
c676ce7dc0 fix(p4): Move ESP-HOSTED init to WiFiGeneric
@P-R-O-C-H-Y will add the configured pins to periman, so that they can not be assigned to anything else
2024-10-15 21:06:31 +03:00
me-no-dev
f706c27671 Update TinyUSB init method 2024-10-15 20:42:26 +03:00
Me No Dev
592c994817
Merge branch 'master' into release/v3.1.x 2024-10-15 20:21:22 +03:00
Me No Dev
a3f2568a19
IDF release/v5.3 (#10465)
* fix(usb): Update tinyusb init call

* Update esp-insights version (#10456)

* Add support for WiFi to ESP32-P4 (#10463)

* feat(p4): Add support for WiFi to ESP32-P4

Implements support for external MCU connected through SDIO

* fix(p4): Init SDIO host properly on Network boot

esp-hosted has one function marked as "constructor" that did not run in the boot phase of the chip. This calls the function when network is started

* Fix RainMaker dependent versions because Matter requires Insights 1.0.1

* IDF release/v5.3 707d097b

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: Mahesh Tupe <tupemahesh91@gmail.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-10-15 20:20:04 +03:00
Mahesh Tupe
c6bf1b4816 Update esp-insights version (#10456) 2024-10-15 18:07:10 +03:00
Mahesh Tupe
f8e03cfaac
Update esp-insights version (#10456) 2024-10-15 18:06:20 +03:00
Me No Dev
3edf518825
Add support for WiFi to ESP32-P4 (#10463)
* feat(p4): Add support for WiFi to ESP32-P4

Implements support for external MCU connected through SDIO

* fix(p4): Init SDIO host properly on Network boot

esp-hosted has one function marked as "constructor" that did not run in the boot phase of the chip. This calls the function when network is started
2024-10-15 17:25:45 +03:00
Y_hsiao_ch'un
e27a050f5a
Added variant for Waveshare ESP32-S3-Touch-AMOLED-1.8 (#10433) 2024-10-11 16:35:58 +03:00
Jason2866
3733c87c83
replace outdated wrong SOC_I2C_NUM and use SOC_HP_I2C_NUM (#10452)
* SOC_HP_I2C_NUM

* SOC_HP_I2C_NUM
2024-10-11 16:33:49 +03:00
Lucas Saavedra Vaz
81d2cbca96
fix(uart): Add missing HP UARTs for ESP32-P4 (#10447)
* fix(uart): Add missing HP UARTs for ESP32-P4

* fix(comment): Fix macro in comment

* fix(uart): Fix macro guard
2024-10-10 14:27:04 -03:00
Me No Dev
774f2756f1
Merge branch 'master' into release/v3.1.x 2024-10-10 18:38:27 +03:00
Me No Dev
af4099202d
IDF release/v5.3 (#10444)
* IDF release/v5.3 707d097b

* fix(camera): Remove support for face detection and recognition
2024-10-10 17:22:39 +03:00
Hamza Hajeir
f083e2df8d
fix(asyncudp): Fixes and implements tcpip thread locking (#10415)
* fix(asyncudp): Fixes and implements tcpip thread locking

* fix(asyncudp): Adds missing unlock

* 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-10-07 19:15:42 +03:00
Rodrigo Garcia
ba9a3a1dbd
fix(arduino): adds ESP32-P4 to the package description (#10426)
* fix(arduino): adds ESP32-P4 to the package description

Updates the Package description to add the P4 in 3.1.0

* fix(arduino): update readme title to add the P4

Adds ESP32-P$ to the list of supported SoC in README.md for Core 3.1.0
2024-10-07 16:58:41 +03:00
Lucas Saavedra Vaz
3445164e2d
test(psram): Add PSRAM test (#10409)
* test(psram): Add PSRAM test

* fix(test): Hide pointer arithmetic warning

* ci(pre-commit): Apply automatic fixes

* fix(json): Remove FQBNs for the test

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-10-07 15:56:41 +03:00
Rodrigo Garcia
0d5d50eb41
feat(uart): eliminates nonexistent functions (#10428)
loop() calls Serial Events functions when those are declared. The way it was declared was forcing to alway call avalable() to then call an empty function. This commit fixes it.
2024-10-07 15:56:04 +03:00
Lucas Saavedra Vaz
4d1c9bcfa3
Fix partitions for examples 2024-10-07 09:54:13 -03:00
Bharat Pi
630377f7d3
feat(Variants): Add Arduino libraries for Lora 4G Module and Node Wifi o… (#10402)
* feat(esp32): Added support for BharatPi 4G, LoRa & NodeWifi Boards

* fix(variant): Fixed review comments for SPI and I2C Pins

* fix(variant): Fixed review comments and Lora build fix

* fix(variant): Fixed review comments for board name

* fix(review): Fixed review comment for CI

* 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-10-07 13:43:51 +03:00
Lucas Saavedra Vaz
765173372f
Add P4 to chip info 2024-10-04 11:33:27 -03:00
Lucas Saavedra Vaz
e12e33c581
Merge branch 'master' into release/v3.1.x 2024-10-04 11:14:57 -03:00
Lucas Saavedra Vaz
8ce5f775fe
ci(compilation): Use default partition and add append to FQBN option (#10392)
* ci(partitions): Use default partition for compilation in CI

* fix(ci): Fix paths for sdkconfig

* Fix build of camera web server

* fix(ci): Fix test requirements check

* ci(append): Add option to append to all FQBNs

* fix(json): Fix JSON files to compile examples

* fix(example): Use requires instead of target in ci.json

fix(zigbee): Improve JSON files

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

* fix(regex): Trim argument before grep

* docs(ci): Add documentation about FQBNs in CI

* fix(json): Remove redundant FQBNs

* fix(json): Skip requirements if libs are not installed

* fix(partitions): Use rainmaker specific partitions

---------

Co-authored-by: me-no-dev <hristo@espressif.com>
Co-authored-by: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-10-04 16:57:08 +03:00
Jan Procházka
5fd7826d9f
fix(boards): Remove partition scheme from FlashSize (#10400) 2024-10-04 13:52:07 +03:00
Lucas Saavedra Vaz
13511a6b65
ci(tests): Add linpack FPU tests (#10389)
* ci(tests): Add linpack FPU tests

* fix(linpack): Change prints to log_d

* fix(linpack): Fix number of runs check

* ci(pre-commit): Apply automatic fixes

* fix(spelling): Correct spelling mistakes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-10-04 13:51:47 +03:00
sivar2311
5d873c0787
Add conditional compilation for second I2C interface based on SOC_I2C_NUM (#10408)
The ESP32, ESP32-S and ESP32-H series have two I2C interfaces, while the ESP32-C series has only one.
2024-10-04 13:49:55 +03:00