Commit graph

2107 commits

Author SHA1 Message Date
Linar Yusupov
12038cb555
apply the same USB descriptor's iSerialNumber logic for ESP32-S2 as t… (#7563)
* apply the same USB descriptor's iSerialNumber logic for ESP32-S2 as the ESP32-S3 already has

* response on request from code reviewer
2022-12-13 12:33:49 +02:00
Vojtěch Bartoška
a23d67a348
Add note about Code_of_conduct to Readme.md (#7529)
* Add note about Code_of_conduct to Readme.md

Adding short note to the readme with link to Code of Conduct.

* Typos and quote
2022-12-13 12:21:02 +02:00
Vojtěch Bartoška
dc9732543b
Create CODE_OF_CONDUCT.md (#7528)
Adding generic Code of Conduct created by GitHub to this repository.

It's well written and covers all different scenarios.

In other commit, I will update the Readme with short description and link to this file.
2022-12-13 12:20:36 +02:00
Rodrigo Garcia
11c7d8e62a
fixes non existent esp32_adc2gpio (#7526)
* fixes non existent esp32_adc2gpio

* remove blank spaces (style)

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2022-12-13 11:54:59 +02:00
Rodrigo Garcia
7cbd0371e4
Improves UART reading performance (#7525)
* Improves UART reading performance

* overrides Stream::readBytes()

* fixes override signature

* adds some IDF error return  conditions
2022-12-13 11:54:07 +02:00
Jacques Supcik
744cbc2c01
fix CMake file (#7500)
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2022-12-13 11:50:54 +02:00
Rodrigo Garcia
99f66d3f87
fixes UART at lower than 80MHz | S3 C3 (#7496) 2022-12-13 11:49:59 +02:00
vortigont
9275dbff94
WiFiGeneric: remove deprecated tcpip_adapter calls (#7577)
replaced old tcp function call with ESP-NETIF API
2022-12-12 12:23:51 -03:00
Sanket Wadekar
165d62472a
log_printf: Restructured log_printf for wrapping (#7567) 2022-12-12 15:01:55 +02:00
Valerii Koval
3af0b44f38
Update PlatformIO build script (#7579)
This PR brings updates according to the latest changes in the Arduino core:
- Bootloader binaries are now generated from elf files
- Updated CI scripts
- Updated esptoolpy to v4.2.1
- Minor clean-up by removing obsolete code

Resolves #7572
2022-12-12 14:53:07 +02:00
Me No Dev
7c0934600c
Fix conflict with ESP-IDF's esp_crt_bundle (#7560) 2022-12-10 13:38:44 -03:00
Me No Dev
deca15076f
Update ESP-IDF libs for 2.0.6 (#7570) 2022-12-10 03:55:38 +02:00
Me No Dev
5b61930bb7
Support JTAG debugging in Arduino IDE 2.0 (#7295)
* Add support for Arduino IDE 2.0 Debug

* Update platform.txt

* Add SVD support

* Update configs for IDE 2.0.3

* Update esp32c3.json
2022-12-10 00:58:03 +02:00
Peter Hindes
e355370cbe
Avoid collision with tinyusb hid.h enums (#7463) 2022-12-08 23:33:48 -03:00
Tomáš Pilný
bf21695bac
Added example scanning maximum ledc frequencies (#7460) 2022-12-08 23:15:10 -03:00
Linar Yusupov
9b880929df
do not use 'colon' sign in the iSerialNumber field of USB descriptor (#7225) 2022-12-08 11:04:21 -03:00
Jan Procházka
ba68f318f4
Updated camera example (#7533) 2022-12-08 10:46:19 -03:00
Jan Procházka
dbeae9480d
AnalogWrite - frequency and resolution log errors + returns (#7471)
* Added log errors + returns
* Update LEDC docs
2022-12-08 10:25:31 -03:00
Bert Melis
394f7218ba
fix set/getSocketOption inheritance (#7480) 2022-12-07 23:20:01 -03:00
Krzysiek S
05e55d8716
Fix unnecessary DNS query in hostByName and deadlock in ssl_client (#7351)
* Fix hostByName to avoid asking DNS when valid IP is passed via hostname param
* Fix hanging in send_ssl_data
2022-12-07 18:27:02 -03:00
Lucas Machado
04693c6660
Implements seekDir and getNextFileName on FS Lib to improve performance (#7229)
* Implements seekDir and getNextFileName on FS lib to improve performance
* getNextFileName return String directly
2022-12-07 17:18:29 -03:00
Darian
9006751632
TWAI: Add receive example (#7550)
This commit addes an example showing how to receive messages using the TWAI
driver interface and a CAN transceiver. Specifically, the example demonstrates:

- How to configure and install the TWAI drvier
- How to poll for TWAI events (i.e., alerts) using twai_read_alerts()
- How to handle the various events (such as TWAI_ALERT_RX_DATA)

Closes https://github.com/espressif/arduino-esp32/pull/7430

Co-authored-by: Stephan Martin <designer2k2@gmail.com>
2022-12-05 18:12:24 +02:00
Razvan Mocanu
3968aa9399
Add new board: RedPill ESP32S3. (#7523)
* Add new board: RedPill ESP32S3.

* Change LED definition to keep compatibility.
2022-12-05 10:47:20 +01:00
Sanket Wadekar
fd72cf46ad
Changed Rainmaker WiFi/Factory reset time. (#7514) 2022-11-25 14:20:57 +02:00
Sebastian Bergner
93a7f4e0db
Add I2C and SPI pin definitions to wt32-eth01 pins configuration (#7237)
* Add I2C and SPI pin definitions to wt32-eth01 pins

Added missing pins based on testing using a RTC (I2C) and SD card reader (SPI).

* Remove define macros

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2022-11-23 08:37:08 +01:00
RefactorFactory
bf53e2b8d6
How to use USBHID classes with ESP32-S2 and ESP32-S3 (#7214)
These instructions are based on esp32-arduino-lib-builder's build process, including https://github.com/espressif/esp32-arduino-lib-builder/blob/master/tools/update-components.sh which explains how to clone tinyusb.
2022-11-16 12:55:27 +01:00
Sanket Wadekar
5737016cdd
Add enableScenes API in Rainmaker (#7436)
* Added enableScenes API

* Added enableScenes API documentation

* Added enableScenes API to example

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2022-11-14 14:27:20 +00:00
Jan Procházka
9762b2392a
LEDC - AnalogWrite new API + ledcAttachPin duty fix (#7346) 2022-11-11 08:54:02 -03:00
Me No Dev
bcc1d758fc
ESP-IDF v4.4.3 (#7450)
* ESP-IDF v4.4.3
2022-11-10 00:39:30 +02:00
Jan Procházka
7a76aded54
Add touch sleep wakeup API (#7439) 2022-11-09 14:17:46 -03:00
David McCurley
bd71449988
WiFi Should Reconnect For Most Reasons (#7344)
Improves WiFi reconnection
2022-11-07 14:56:23 -03:00
Zeynep Dicle
271cee1061
updated Deneyap boards pin_arduino.h files (#7338)
* Add new board (Deneyap Kart 1A)

* Update pins_arduino.h

* Add newly  board (Deneyap Kart G)

New Deneyap Family member, wearable development board

* updated Deneyap boards pin_arduino.h files

* Update boards.txt

* Update pins_arduino.h

* updated deneyap boards pins_arduino.h

* updated Deneyap boards variants files

* updated Deneyap boards pins_arduino.h

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2022-11-07 15:37:35 +01:00
Ha Thach
7753b97e6e
remove obsolete partition.csv for adafruit feather esp32s3 (#7438)
which prevent changing to other partition scheme
2022-11-07 14:15:00 +01:00
Jan Procházka
3c033236f7
[DOCS] Add TOUCH peripheral API (#7421)
* add touch.rst

* update touchRead comment in header file

* Edited examples

* typo changes + updates

* about edit
2022-11-04 09:12:52 +00:00
Jan Procházka
bf265039eb
[DOCS] Add ESP32S3 to libraries support list (#7415)
* Add ESP32S3 to libraries support list

* Update libraries.rst
2022-11-03 12:58:50 +01:00
HACKER3000
999d094058
Add the Partition Scheme Menu to HELTEC LoRa32 V1 (#7362)
* Add the Partition Scheme Menu to HELTEC LoRa32 V1

This is missing from many boards, i may add that to all of them

* reordered heltec_wifi_lora_32 partition options

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2022-11-03 07:52:34 +01:00
Jan Procházka
1163e8a7ad
Added TOUCH test sketch + test script (#7413)
* added test for touch peripheral

* removed cfg.json

* pass test for unsupported chips

* fixed condition

* changed released value for S2

* add new chip error
2022-11-02 14:20:31 +02:00
John
64bbcd2678
Correct Spelling of addTemperatureParam in ESP Rainmaker (#7288)
* Update RMakerDevice.h

Changer spelling of addTemprature

* Update RMakerDevice.cpp

Cahnge Spelling of add TempratureParam

* Update README.md

Update documentation addTemperatureParam
2022-11-02 13:22:43 +02:00
Rotzbua
4ac71d2a7f
[BLE Client] Fix deadlock if connection loss ... (#7319)
... while readValue
2022-11-02 13:07:47 +02:00
Sanket Wadekar
c8da793c95
Fixes to Rainmaker OTA Issues (#7324)
* Added OTA Event Handlers

* Overrided verifyRollbackLater Method

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2022-11-02 13:06:39 +02:00
YOSHIKI
e01f175dbd
Remove unused variable (#7403) 2022-11-02 12:43:31 +02:00
Rotzbua
52cdc663d3
Update github actions to fix node12 deprecation message (#7374)
Update:
* actions/checkout
* actions/setup-python
* actions/cache

https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
2022-11-02 12:34:38 +02:00
Juan Luis Leal Contreras
f4d8a481ad
Fixed #7406 crash on WiFi STA_DISCONNECTED event with reason 0 (#7414)
Fixed #7406 . The "reason2str" macro in WiFiGeneric.cpp tries to read memory from index "-1"  in "system_event_reasons" array when handling STA_DISCONNECTED event with reason 0. Dealing with reason 0 as a reason 1 (WIFI_REASON_UNSPECIFIED) will solve the problem (the reason for this event to arrive with reason 0 is unknown). #7406
2022-11-02 12:30:43 +02:00
Rodrigo Garcia
2cebee4a40
fixes UART pin detach on end() (#7402) 2022-11-02 12:30:02 +02:00
WereCatf
d3ccd2a961
FreeRTOS.ino: fix usage of vTaskDelay (#7418)
The original code assumes 100Hz FreeRTOS tick rate and just supplies vTaskDelay with the assumed number of ticks required for the wanted delay. This patch simply fixes it to use portTICK_PERIOD_MS, thereby working correctly regardless of what tick rate FreeRTOS has been configured to run at.
2022-11-02 11:58:12 +02:00
Sanket Wadekar
c1dc4f2e24
Added Docs for Rainmaker (#7260)
Co-authored-by: Pedro Minatel <pedro.minatel@espressif.com>
2022-10-28 12:00:50 +01:00
Wind-stormger
0af58cb928
Add BPI-Leaf-S3 board. (#7345) 2022-10-26 10:46:46 +02:00
Michael Ammann
86577bf5b3
add missing menu option (#7282)
Somehow the fix #7129 was not applied to NORA-W10 probably both changes were happening at around the same time, this PR fixes this.

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2022-10-26 10:18:50 +02:00
TAMC
98694ab81a
fix rebooting while reading charge state (#7307)
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2022-10-26 09:51:12 +02:00
Hamish Cunningham
f00371ca56
Fix incorrect flash_type in unphone9 board definition (#7330)
As per #6962 we have another case of build.flash_type incorrectly named qspi; this commit fixes the issue for the unphone9 board.

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2022-10-26 09:30:00 +02:00