Commit graph

194 commits

Author SHA1 Message Date
me-no-dev
a69c71f6ad feat(core): Update core version to 3.3.0 2025-07-16 19:55:53 +03:00
Sugar Glider
3f32903125
Merge branch 'master' into release/v3.3.x 2025-07-16 09:10:59 -03:00
Sugar Glider
82d56bc679
feat(gpio): new functional interrupt lambda example (#11589)
* feat(gpio): new functional interrupt lambda example

* fix(readme): schematic diagram allignment

* fix(example): uses volatile for ISR variables

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix(example): uses volatile for ISR variables

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix(example): uses volatile data type also for the pointers

* fix(readme): clear documentation

* feat(example): improves ISR execution time

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* feat(gpio): simplifies the example and documentation

* feat(gpio): uses IRAM lambda and fixes volatile operation

* fix(doc): fixing documentation apresentation

* ci(pre-commit): Apply automatic fixes

* fix(ci): Update README.md

---------

Co-authored-by: Copilot <175728472+Copilot@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: Me No Dev <me-no-dev@users.noreply.github.com>
2025-07-16 11:51:31 +03:00
Me No Dev
f84fab5592
Merge branch 'master' into release/v3.3.x 2025-07-04 17:14:12 +03:00
me-no-dev
ac961f671a Update core version to 3.2.1 2025-07-03 16:42:28 +03:00
Me No Dev
70696df2d6
Merge branch 'master' into release/v3.3.x 2025-07-03 12:25:04 +03:00
HighDoping
bc7a549876
fix(example): led flash not working if not using default model in camera example. (#11466)
* fix(example): led flash not working if not using default model in camera example

fix(example): add camera_config.h and enable LED FLASH based on board model

fix(example): Remove face detection description as no longer supported

* fix(example): add header guard for board_config.h
2025-07-02 14:54:12 +03:00
Me No Dev
05fbda2d6d
Merge branch 'master' into release/v3.3.x 2025-06-20 12:25:31 +03:00
Jan Procházka
7462b09bb4
feat(LEDC): Add Gamma Fade support and enhance auto channel/timer selection for multi-group (#11464)
* feat(ledc): Enhance LEDC auto channel/timer selection for multi-group support

* feat(ledc): Add Gamma Fade support

* fix(example): Update comments

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-06-16 14:44:11 +03:00
Me No Dev
a83bb93b6d
Merge branch 'master' into release/v3.3.x 2025-05-13 11:49:03 +02:00
Stian Coward
15e71a6afd
fix(esp32): Add missing vflip status in esp32-cam example (#11335)
Toggle switch for V-Flip will now indicate correct status in frontend when loading the webpage
2025-05-07 11:50:32 +03:00
Me No Dev
c9efce6342
Merge branch 'master' into release/v3.3.x 2025-04-29 10:55:47 +03:00
Sugar Glider
d63b876f93
feat(uart): simplifies UART example based on MODBUS standard (#11309)
* feat(uart): simplifies UART example based on MODBUS standard

* fix(uart): fixes a uart example typo

* feat(uart): replaces UART0 by Serial0 in the code

* ci(pre-commit): Apply automatic fixes

* fix(uart): typo error message in commentary

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-04-29 08:58:10 +03:00
Sugar Glider
8d121e075f
feat(rmt): fixes example to run correctly within IDF 5.x (#11292)
* feat(rmt): fixes exaple to run correctly within IDF 5.x

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-04-28 18:46:12 +03:00
Me No Dev
23f3600a4b
Merge branch 'master' into release/v3.3.x 2025-04-23 20:20:51 +03:00
Sugar Glider
571c2f74f2
feat(uart): sets correct ESP32/S2 clock source for the example (#11286)
* feat(uart): sets correct ESP32/S2 clock source for the example

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-04-23 20:20:23 +03:00
Lucas Saavedra Vaz
ae2ae8dfa0
Merge branch 'master' into release/v3.3.x 2025-04-14 14:28:03 -03:00
Sugar Glider
2647cbbbc2
refactor(rmt): refactored RMT loopback example (#11221)
* feat(rmt): refactored RMT loopback example

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-04-09 11:56:32 +03:00
Me No Dev
d81c19534f
Merge branch 'master' into release/v3.3.x 2025-03-27 13:39:40 +02:00
TANAKA Masayuki
7fda434d89
fix(rmt): Fixed protocol name in RMTReadXJT examples (#11136)
* fix(rmt): Fixed protocol name in RMTReadXJT examples

I couldn't find a protocol called D12.
I found LR12 so I'll fix that.

* feat(RMT): changing example commentary to reflect D16 protocol

---------

Co-authored-by: Sugar Glider <rodrigo.garcia@espressif.com>
2025-03-20 21:52:36 +02:00
me-no-dev
8af81cdf09 fix(ci): Fix/stop some examples for C5 2025-03-20 02:09:27 +02:00
me-no-dev
bf90cbd183 fix(examples): Add changes required to some examples 2025-03-20 02:09:27 +02:00
Lucas Saavedra Vaz
66abd86ce9
fix(camera_webserver): Fix typo in OV2640 definition (#11145) 2025-03-20 02:06:20 +02:00
me-no-dev
55f4f1bfa8 Update core version to 3.2.0 2025-02-18 19:10:54 +02:00
me-no-dev
dbfde15b6a Update core version to 3.1.3 2025-02-17 15:28:32 +02:00
me-no-dev
62082398d3 Update core version to 3.1.2 2025-02-13 14:32:20 +02:00
Sayed (Tashfi) Nowroz
0302b4db47
fix(logging): incorrect FPS logging (#10921)
* fix(logging): Corrected FPS calculation

Previously, last_frame was only updated once at the beginning of stream_handler,
leading to incorrect FPS and avg_frame_time computation.

This commit ensures last_frame is updated on each iteration after last FPS computation,
resulting in accurate FPS logging.

Fixes #10920

* Revert "fix(logging): Corrected FPS calculation"

This reverts commit 0bb7b9555e7661c72dc3376cf8a001c6fd3758c8.

* fix(loggin): Incorrect FPS computation fixed

Corrected and tested change in FPS computation, suggested by @me-no-dev and found working with correct numbers.

Previously, last_frame was only updated once at the beginning of stream_handler,
leading to incorrect FPS and avg_frame_time computation.

This commit ensures last_frame is updated on each iteration after last FPS computation,
resulting in accurate FPS logging.

Fixes #10920
2025-01-31 23:25:45 +02:00
Me No Dev
7cfe0adc87
IDF release/v5.3 (#10816)
* IDF release/v5.3 cfea4f7c

* Update core version
2025-01-07 15:50:38 +02:00
Me No Dev
30b97d1f91
fix(camera): Update resolutions and remove face detection (#10814)
* fix(camera): Update resolutions and remove face detection

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-01-07 12:04:20 +02:00
Ramprasad G
5c41881858
improving logging message while waiting for WiFi (#10739)
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2025-01-07 11:59:52 +02:00
Me No Dev
a207d58f0f
Merge branch 'master' into release/v3.1.x 2024-12-16 13:09:39 +02:00
Lei Chen
2c7b76aea8
Use INPUT_PULLUP instead of INPUT
Tested on some of the popular S3 board bought from Amazon, the digitalRead of an INPUT pin is LOW, which stops the timer right after start.
Setting it to INPUT_PULLUP will fix it.
2024-12-15 12:19:49 -05:00
Me No Dev
a1f58ad2c8
Merge branch 'master' into release/v3.1.x 2024-12-11 20:39:53 +02:00
Rodrigo Garcia
68cafb460d feat(arduino): remove all while(not serial) in examples 2024-12-11 10:35:46 -03:00
Lucas Saavedra Vaz
3d8014b453
Merge branch 'master' into release/v3.1.x 2024-12-10 10:23:39 -03:00
Rodrigo Garcia
c7022caeda
Remove 3rd party references in code and documentation (#10666)
* feat(support): documentation adjustment
* feat(support): readme files, commentaries and examples
* fix(template): Fix Issue Report Template
-----------------------------
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-12-03 14:35:13 -03:00
Rodrigo Garcia
414e4f3233
feat(Matter): add new MatterColorLight endpoint (#10654)
* feat(matter): adds Matter Color Light endpoint
2024-11-26 17:14:38 -03:00
Rodrigo Garcia
2b6b5c74ce
feat(uart): adds Serial4 as a keyword - used by ESP32-P4 (#10619)
* feat(uart): adds Serial4 as a keyword - used by ESP32-P4

* fix(keywords): added 2 new lines to keep consistancy
2024-11-19 12:18:43 +02:00
Lucas Saavedra Vaz
61d5c49445
Merge branch 'master' into release/v3.1.x 2024-11-06 13:11:23 -03:00
Lucas Saavedra Vaz
9f3010f214
ci(json): Improve requirement checking (#10554)
* ci(json): Change requirements for sketches that use WiFi

* ci(checks): Optimize requirement checking

* fix(tests): Additional checks before running tests

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-11-06 18:08:16 +02:00
Me No Dev
804ee12741
Merge branch 'master' into release/v3.1.x 2024-10-25 20:49:26 +03:00
Rodrigo Garcia
74e4a744ce
feat(uart): uart break example improvement (#10525)
prints the HEXA and CHAR in order to allow the user to see why there is 1 extra char (0x00) when BREAK is received.
2024-10-25 20:48:35 +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
59ca4e2d3d
Merge branch 'master' into release/v3.1.x 2024-10-18 20:32:08 +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
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
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
me-no-dev
264c858830 Merge branch 'master' into release/v3.1.x 2024-10-02 17:07:42 +03:00
Jan Procházka
473b8515ac
feat(zigbee): Add Zigbee library (#10265)
* Initial commit - light bulb + switch working

* Add Thermostat + fix enum

* Dev update: roles, cb removal, handlers

Fixed ep_thermostat to compile successfully
Removed cb from all EP, as it have been removed, virtual methods will be used instead.
Moved zigbee handlers out of Zigbee_core to Zigbee_handlers for better readability.
Fixed zigbeeInit to be bool and return status of initialization for begin function.
Updated examples with edited roles and custom method for on_off light

* Dev update: implement on/off light and switch methods

Implemented basic function calls of switch commands to on/off light:
  lightToggle, lightOn, lightOff, ...
Implemented virtual methods for on/off light that have to be override in user code:
  setOnOff, sceneControl, setOnOffTime, setOffWaitTime
APIs can be changed, still early development.

* Dev update: Factory reset, names, multiple EPs

Implemented Factory reset of Zigbee device, in order to connect to new network without reflashing/erasing flash
Implemented optional setting for Manufacturer and Model names
Added option to allow endpoint to have multiple endpoint connected -> switch - 2 lights (tested)
Minor sketches update

* Dev update: Device ID to string

Implemented easy transfer from device it to Device type (0x0000 = ESP_ZB_HA_ON_OFF_SWITCH_DEVICE_ID  -> "General On/Off switch".

* Implement cmd default response handler

* Remove unused _identify_cluster

* Dev Update: Color DImmable light + switch implemented

Implemeted color dimmable light and color dimmer switch HA devices + examples.
Removed unnecessary stored attribute cluster
Renamed on/off light and switch examples

* Implement Network Scanning

Implemented Zigbee network scanning (async) to mostly match WiFi scan APIs.
Added Zigbee_Scan_Networks example

* Dev Update: Thermostat and Temperature sensor EP

Implemeted thermostat and temperature sensor HA devices + examples.
Implemented configure report handler.
Updated READMEs and description of examples.
Minor code updates

* fix(): Replace deprecated function

* Remove ported IDF examples

* Update Zigbee examples with new APIs

* Dev Update: Version setting, Thermostat fix, ...

Simplified bounded device print as the structure is common for any EP type
Allowed setting custom app version for EP, default is 0
Small fixes and code updates

* Remove EP template + add lib to CMakeLists

* Rename classes to have proper naming

* Add check for SOC_IEEE802154_SUPPORTED

* Ignore false positive unused variable/function

* Fix compilation errors in examples

* Fill keyworkds.txt, remove unnecessary defines

* Rename methods, variables + make private/protected

* Remove unnecesary defaults defines

* Remove outdated comments

* Update Scan networks Readme

* fix(example): Use proper naming of func and variables

* Change virtual methods to callbacks (TODO)

* Refactor classes methods + implement Identify command

* Apply suggestions from code review by @lucasssvaz

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

* Update READMEs + add openNetwork fucntion

* Use [[maybe_unused]] instead of #pragma

* Use gpio calls for OnOff Light example

* ci(pre-commit): Apply automatic fixes

* fix(): Codespell issues

---------

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-10-02 17:00:39 +03:00
me-no-dev
8af91fb4a7 Fix build of camera web server 2024-10-02 15:38:57 +03:00