Commit graph

2810 commits

Author SHA1 Message Date
Mikey Sklar
02b03286a2
Feather V2 and Qt PY Pico PartitionScheme (#10604)
Default stays the same, additional option for larger SPIFFS area. Using existing partition CSV.

Tested on Feather V2
Arduino 2.3.3
ESP32 BSP 3.0.7
2024-11-18 09:44:22 +02:00
Cellie
9c25cef93f
Update pins_arduino.h (#10610)
The correct pin is GPIO4.
2024-11-18 09:43:31 +02:00
Rodrigo Garcia
e99f1fdc6d
fix(wifi): fixes isconnected() to return true when it has ip addr (#10595) 2024-11-12 01:00:26 +02:00
Rodrigo Garcia
54a7a3ee9a
feat(usb_hid_keyboard): Adds Keyboard Layout and Sends reports just for Modifier Keys (#10591)
* feat(usb_kb): add keyboard layouts. new pt_br layout

* feat(usb_kb): add kb layout and fixes modifier key press

* feat(usb_kb): update cmakelists.txt to add new kb layout code

* 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-11-12 00:56:06 +02:00
Jerzy Stusiński
1a8e53fe47
fix(typo): Fix typo in CDC DFU flash tutorial (#10584)
* Update cdc_dfu_flash.rst

* Update docs/en/tutorials/cdc_dfu_flash.rst

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

* Update docs/en/tutorials/cdc_dfu_flash.rst

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

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-11-11 15:22:32 +02:00
Lucas Saavedra Vaz
09a6770320
fix(tests): Fix wrong selection of tests and add debug flag for testing (#10583)
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2024-11-08 11:17:55 +02:00
Ludovic BOUÉ
f66ba37d1f
fix(Zigbee): Fix typo in Zigbee_Temp_Hum_Sensor_Sleepy.ino (#10581) 2024-11-08 11:10:54 +02: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
Jan Procházka
d1df696cd0
feat(Zigbee): Support for sleepy device + Power Source and battery level + Humidity sensor cluster (#10551)
* feat(zigbee): Add power source and battery level

* fix(zigbee): Make sure Indentify callback in not null

* fix(zigbee): Remove leftovers and use workaround for mac capabilities

* feat(zigbee) Add humidity optional cluster + fixes

* feat(zigbee): Add common Zigbee.h header file

* fix(zigbee): remove leftover code

* ci(pre-commit): Apply automatic fixes

* fix(zigbee): Fix codespell issues

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-11-06 11:40:31 +02:00
Lucas Saavedra Vaz
b170e87d41
fix(wokwi): Delete generated diagram to avoid issues running locally (#10567) 2024-11-06 00:57:19 +02:00
Lucas Saavedra Vaz
11f3cff53f
fix(get.py): Check if win32 tools also exist when running on win64 (#10565)
* fix(get.py): Check if win32 tools also exist when running on win64

* change(tools): Push generated binaries to PR

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-04 23:49:40 +02:00
ASDosjani
870468bb25
Update BLE5_periodic_advertising.ino (#10538) 2024-11-04 23:43:07 +02:00
wurongmin
57d0deef2d
feat(boards): add Waveshare ESP32-S3-Touch-AMOLED boards (#10549)
* Add files via upload

* Add files via upload

* feat(boards): add Waveshare ESP32-S3-Touch-AMOLED boards

Added three micro snow development boards to boards

* feat(boards): add Waveshare ESP32-S3-Touch-AMOLED variants

A trio of micro-snow variants have been added to the variants

* Delete variants/waveshare_esp32_s3_touch_amoled_143/pins_arduino.h

* Delete variants/waveshare_esp32_s3_touch_amoled_164 directory

* Delete variants/waveshare_esp32_s3_touch_amoled_191 directory

* feat(boards): Three variants of the development board were added

waveshare_esp32_s3_touch_amoled_143 waveshare_esp32_s3_touch_amoled_164 waveshare_esp32_s3_touch_amoled_191

* feat(boards): Add three boards to boards

* feat(boards): Add the variants

* feat(boards): Fixed the boards file

To ensure that each plate type only one

* 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-11-04 23:42:19 +02:00
Lucas Saavedra Vaz
eeecf844a7
ci(workflows): General improvements and fixes (#10544)
* ci(triggers): Improve workflow triggering and bump versions

* ci(runtime): Improve runtime tests triggers

* fix(push): Fix push chunks script indentation and lib detection
2024-11-04 23:12:20 +02:00
Lucas Saavedra Vaz
05102fe853
docs(lib-builder): Improve UI and Docker image sections (#10535)
* docs(lib-builder): Improve UI and Docker image sections

* docs(lib-builder): Apply review suggestions
2024-10-31 13:13:08 +02:00
Mathieu Carbou
d47771f2cc
fix(sntp): Lock / Unlock LWIP if CONFIG_LWIP_TCPIP_CORE_LOCKING is set (#10529)
* fix(sntp): Lock / Unlock LWIP if CONFIG_LWIP_TCPIP_CORE_LOCKING is set
Fixes: https://github.com/espressif/arduino-esp32/issues/10526

* 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-29 13:10:40 +02: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
vortigont
07c510e3ad
fix (NetworkEvents lib) remove checks for duplicated event handlers (#10376)
* lib Network: add cpp syntax to structs

* [Network] deprecate NetworkEvents::removeEvent() for std::function callbacks

removing event callback via std::function pointer does not work as expected for lambdas (issue #10365)
here mark NetworkEvents::removeEvent(NetworkEventFuncCb cbEvent, arduino_event_id_t event = ARDUINO_EVENT_MAX)
as deprecated in favor of removing by callback's id

for NetworkEvents::onEvent remove checking for dublicate event handler, this does not work for lambdas too

remove NetworkEvents::find methods as unnecessary

move cbEventList container inside the class

declare NetworkEventCbList_t as a cpp struct with constructor, allows using std::vector.emplace() when adding new items to container

optimize NetworkEvents::remove() calls to use erase-remove idiom for std::vector

* [Network] hide event task under private member of NetworkEvents class

prevent checkForEvent loop to be callable from outside the task's thread

* refactor(NetworkEvents) code polishing and comments

- rename NetworkEvents::cbEventList as private member NetworkEvents_cbEventList
- NetworkEvents::getStatusBits() add const qualifier
- turn statics into constexpr
- add indexes to enum::arduino_event_id_t to make events indexing consistent for SOCs with/without WiFi
  also leave some index gaps to minimize renumbering on adding new events
- add doxygen help to NetworkEvents:: methods
- declare NetworkEvents::eventName() as static, that could be used without creating class scope
- potential mem leak in postEvent

* refactor(NetworkEvents) add (optional) mutex lock for container operations

provide thread safety for dual core SoCs
since std::mutex brings additional componetns of libstdc++ lib it impacts resulting image size significantly (around 50k)
Might be enabled on-demand if thread-safety is required

* ci(pre-commit): Apply automatic fixes

* fix(spelling): Fix spelling mistakes

---------

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
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-10-24 15:15:13 +03:00
zinkett
330beb40a5
Update lib - User can choose if calc MD5 from encrypted or decrypted file (#10510)
* User can choose if calc MD5 from decrypted file

At the present moment, if user want use OTA, the function calculate MD5 of the decrypted file, but if file is encrypted from source, could be more useful to know the MD5 of the encrypted file.

* md5

* Update Updater.cpp

* Update libraries/Update/src/Update.h

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

* Update libraries/Update/src/Update.h

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

* Update libraries/Update/src/Updater.cpp

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

* Update libraries/Update/src/Updater.cpp

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

* 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-10-24 14:31:54 +03:00
Thomas Weller
cb83cda06a
Fix comments for AD types in advertising (#10512) 2024-10-23 20:39:12 +03:00
二九
3502b9c7a9
Add multiple boards of the Waveshare ESP32-S3-Touch-LCD-1.46 type (#10482)
* Delete boards.txt

Delete old files

* Add files via upload

Add new board

* Add files via upload

Add new board

* Delete boards.txt

Delete old files, modify the definition of the case error

* Add files via upload

Modify the definition of the case error

* ci(pre-commit): Apply automatic fixes

* 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: 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>
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-10-23 15:16:12 +03:00
Jan Procházka
bcc357c0ca
fix(ci): Boards test set fail-fast to false (#10508) 2024-10-23 11:47:50 +03:00
Ludovic BOUÉ
1756bd567c
fix(zigbee): Enable internal pull-up resistor (#10491)
Enable the internal pull-up resistor for BUTTON_PIN
2024-10-23 11:46:04 +03:00
Lucas Saavedra Vaz
a0139bc37d
fix(tests): Add missing files to compilation tests (#10501)
* fix(tests): Add CMakeLists file to compilation tests

* fix(tests): Add variant files that are used in compilation

* fix(c2): Move C2 as it is only tested as component

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2024-10-23 11:45:30 +03:00
Jan Procházka
0f5219df0e
fix(ci): Get correct file for the diff (#10507) 2024-10-23 10:24:36 +03:00
Me No Dev
4285912a46
fix(cmake): Use proper name for LittleFS component 2024-10-22 20:40:15 +03:00
clashman
4944dd0df3
fix(littlefs): Add missing dependency (#10496) 2024-10-22 20:22:15 +03:00
Jan Procházka
e509d33d27
fix(ci): Chnage approach in listing the changed boards (#10495) 2024-10-22 00:56:18 +03:00
Lucas Saavedra Vaz
01789a7a89
fix(formatting): Fix formatting and disable JSON hook (#10492) 2024-10-21 18:29:05 +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
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
Lucas Saavedra Vaz
064d1c4d97
fix(build): Fix sdkconfig copy for Arduino CLI (#10484) 2024-10-18 20:29:14 +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
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
Mahesh Tupe
f8e03cfaac
Update esp-insights version (#10456) 2024-10-15 18:06:20 +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
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
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
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
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
Rodrigo Garcia
733373a049
Update FreeRTOS Symbols in OThreadCLI (#10412)
* Update OThreadCLI.cpp

* feat(openthread): change FreeRTOS names and types

* feat(openthread): change FreeRTOS names and types

QueueHandle_t instead of xQueueHandle
2024-10-03 09:37:44 +03:00
Me No Dev
ea50cf6f5f
fix(spiram): Fix OPI PSRAM init (#10406) 2024-10-02 22:18:17 +03:00