Commit graph

2120 commits

Author SHA1 Message Date
Tomas Pilny
e9346a635d Removed duplicate MDNS.begin() call in example 2023-08-11 11:28:13 +02:00
Vojtěch Bartoška
e1f14331f1
Add v2.0.11 into issue template (#8460) 2023-08-04 16:27:54 +03:00
Valerii Koval
bde2d643ec
Sync PlatformIO build scripts (#8488)
Added special handling of the `ARDUINO_BUILD_CORE` macro required only for the core files
2023-08-04 15:40:31 +03:00
Vojtěch Bartoška
21b88659b9
Add v2.0.10 into issue template (#8425) 2023-07-18 15:58:11 +03:00
Pedro Minatel
fb2aa59145
Add .readthedocs.yaml configuration file (#8352)
* Added the ReadTheDocs configuration file

* File renamed to YAML
2023-07-17 13:57:25 +03:00
rstephan
7a3768460b
Soft-AP: get subnet mask (#8358)
In WiFiSTA you can ask for the subnet mask, but not in WiFiAP.
Only the CIDR is reported.
Therefor the missing method is added to have the same features in softAP as well.
2023-07-17 13:14:30 +03:00
colincross
289c2a1405
Use SDK macros for matrix detach constants (#8345)
The constants that need to be passed to gpio_matrix_in and gpio_matrix_out
to detach an input or output pin from a peripheral vary by platform.  Use
SIG_GPIO_OUT_IDX to detach an output, and GPIO_MATRIX_CONST_ONE_INPUT
and GPIO_MATRIX_CONST_ZERO_INPUT to detach an input.  ESP32 before IDF 4.0
didn't define GPIO_MATRIX_CONST_*_INPUT, so add compatibility #defines
for GPIO_FUNC_IN_LOW/HIGH.  GPIO_FUNC_IN_LOW/HIGH exist in IDF 4.0+, but
can't be used because they have the wrong values for ESP32-C3 at least
in IDF 4.4.3 (https://github.com/espressif/esp-idf/issues/11737).
2023-07-17 13:10:23 +03:00
Nguyen Anh Tuan
095008964d
set _use_insecure back to false in setCACert method. (#8386) 2023-07-17 12:54:14 +03:00
Rodrigo Garcia
1945778e82
Fixes Serial Example and Adds a new std:func Serial Example (#8409)
* fixes example folder

* adds new Serial std::func example
2023-07-17 12:50:41 +03:00
DanKoloff
e7ceeb1b04
Olimex ESP32-GATEWAY fixes in boards.txt and pins_arduino.h (#8395)
* Olimex ESP32-GATEWAY fixes

Fixes related to board revisions selection.

* Create pins_arduino.h
2023-07-17 12:49:46 +03:00
Stephan Martin
5d2d4aaef0
Add TWAI transmit example (#8360)
Example showing how to transmit messages using the TWAI interface and a CAN transceiver.
2023-07-17 12:48:37 +03:00
schrolli
97e69666c9
Update gpio.rst: typo in function name 'attachInterrupt' (#8336) 2023-07-17 12:46:21 +03:00
MWolfahrt
959a57fe07
Added support for M5Stamp Pico from M5Stack (#8301)
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2023-07-17 12:45:53 +03:00
Ha Thach
855f526191
add Adafruit QT PY S3 with 4MB flash 2 MB PSRAM (#8370)
also re-order Adafruit boards a bit
2023-07-01 11:08:21 +03:00
supersjellie
1c3384cc34
Fix for timeout issues on WebServer (#8319) 2023-06-29 23:26:16 +03:00
Rodrigo Garcia
18164e6f02
Fixes crash when calling twice end() (#8332) 2023-06-29 23:13:05 +03:00
w3jc
72c41d0953
Update ledc.rst (#8218)
typo
2023-05-31 15:03:16 +03:00
Sanket Wadekar
2c4dead307
fix: rainmaker device callback not getting invoked (#8249)
This PR fixes an issue of multiple device callbacks (one callback per device) were not getting registered and invoked.
Consider an example where I create two devices, a switch and a fan; each of them having their own write callbacks. On controlling either switch/fan through Rainmaker app, the callback that got registered at last gets invoked. This is also seen in the issue reported in #8231
2023-05-31 14:41:02 +03:00
Tomáš Pilný
82227e6d7e
Provisioning fix and upgrades (#8209)
* Added printQR function to library

* Upgraded example

* Upgraded README

* Safegueard for qrcode.h include

* Updated Safegueard for qrcode.h include
2023-05-31 14:37:34 +03:00
Errol Joshua
0034a438a1
Add board: Nebula S3 (#8257)
* Added Nebula s3 Board

* added nebulas3 board

* added variant

* added semicolons

* added pins details

* added secondary sda1 and scl1

* USB_CDC enabled by default

* Changed nebulas3.build.board to NebulaS3

* Changed NebulaS3 to NEBULAS3
2023-05-31 14:33:52 +03:00
Paint Your Dragon
e601a886c9
Add board: Adafruit MatrixPortal ESP32-S3 (#8230)
* Add MatrixPortal ESP32-S3 (WIP)

* Update bootloader files, etc.

* Add MatrixPortal S3 PSRAM setup to boards.txt
2023-05-31 14:33:15 +03:00
杨峰
c382265870
I have added support for the DFRobot Romeo ESP32-S3 board. (#8195)
* add dfrobot romeo esp32S3

* add dfrobot romeo esp32s3

* Update pins_arduino.h

* Update pins_arduino.h

* Update pins_arduino.h

* Update pins_arduino.h
2023-05-31 14:32:41 +03:00
Rodrigo Garcia
5548fbe02d
fixes ESP32-C3 WiFiProv and btInUse() (#8243) 2023-05-31 14:30:11 +03:00
Rodrigo Garcia
083db166a1
Fixes HWCDC::end() (#8247)
* Fixes HWCDC::end()

There is a missing `tx_lock = NULL;`

* Update HWCDC.cpp

Initialize rx_data_buf[] with zeros.
2023-05-31 14:11:17 +03:00
Luca Burelli
3ec5f4efa1
HardwareSerial: fix begin() lock issue on error path (#8182)
* HardwareSerial: fix begin() lock issue on error path

If the user supplied a wrong UART number, the begin() method would
return without releasing the lock. Add missing unlock call.

* removing unsed Case test

---------

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2023-05-11 16:13:36 +03:00
Tomáš Pilný
a2c892073b
Updated preferences and FAQ documentation (added SPIFFS) (#8150)
* Updated preferences.rst

* Added into FAQ info about SPIFFS failed mount
2023-05-11 13:49:30 +03:00
Tinyu
60751514c3
Create M5CoreS3 pins_arduino.h and board (#8161)
* Add M5CoreS3 boards.txt and pins definition

* Fix some pins definition
2023-05-11 13:43:23 +03:00
Tomáš Pilný
50560a23ac
Functional interrupt fix (#8175)
* Added link to external examples to the doc

* Fixed FunctionalInterrupt.ino + added introduction comment and few outputs
2023-05-11 13:18:16 +03:00
David McCurley
1c3039eb34
Add v2.0.9 into Issue Template (#8156) 2023-05-03 22:00:19 +03:00
per1234
7e51a03702
Add protocol-explicit upload.tool properties required for pluggable discovery compatibility (#8151)
A new flexible and powerful "pluggable discovery" system was added to the Arduino boards platform framework. This system
makes it easy for Arduino boards platform authors to use any arbitrary communication channel between the board and
development tools.

Boards platform configurations that use the old property syntax are automatically translated to the new syntax by
Arduino CLI:

https://arduino.github.io/arduino-cli/latest/platform-specification/#sketch-upload-configuration

> For backward compatibility with IDE 1.8.15 and older the previous syntax is still supported

This translation is only done in platforms that use the old syntax exclusively. If `pluggable_discovery` properties are
defined for the platform then the new pluggable discovery-style `upload.tool.<protocol_name>` properties must be defined
for each board as well.

This platform was converted to use the new pluggable discovery platform properties syntax, so those properties are
required. Although such properties were added to board definitions at the time the syntax was changed, new board
definitions without the required properties were added later.

Those missing properties caused uploads to fail for users of the recent versions of Arduino IDE and Arduino CLI with an
error of the form:

Error during Upload: Property 'upload.tool.serial' is undefined

It is also important to provide compatibility with versions of Arduino development tools from before the introduction of
the modern pluggable discovery system. For this reason, the old style `<board ID>.upload.tool` properties are retained.
Old versions of the development tools will treat the `<board ID>.upload.tool.default` properties as an unused
arbitrary user defined property with no special significance and the new versions of the development tools will do the
same for the `upload.tool` properties.
2023-05-03 20:29:56 +03:00
Dirk O. Kaar
628b668c5c
Add overloads to support __FlashStringHelper like ESP8266 has them. (#8111)
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2023-05-03 20:28:18 +03:00
Jan Procházka
9d8471dc9a
CI - All boards test (#8114)
* Create allboards.yml for all boards test

* Clean workflow from unused stuff

* Use compile-sketch main

* Update find_all_boards.sh
2023-05-03 20:27:54 +03:00
Renan Passos
2c71406680
Text correction of timer.rst (#8074)
* Update timer.rst

Changed text because of an inconsistence between title and text explaining the timerGetConfig function.
I don't know if the method timerSetConfig really exists.

* Update timer.rst

Add informations about timerSetConfig function.
2023-05-03 20:26:44 +03:00
Tomáš Pilný
266eea71b5
Added link to external examples to the doc (#8130) 2023-05-03 20:20:31 +03:00
David McCurley
758b4ebf72
eraseAP (#8148) 2023-05-03 19:50:35 +03:00
David McCurley
5c92a0231b
BugFix FlashStringHelper Macros (#8147)
Revert to previous definition of `FPSTR` and `F` macros.
2023-05-03 19:49:04 +03:00
David McCurley
8f4f21c75a
CameraWebserver.ino (#8149)
Resolves deprecation warnings in CameraWebServer.ino. pin_sscb_sda -> pin_sccb_sda. pin_sscb_scl -> pin_sccb_scl.
The variables are in the same union and are identical.
2023-05-03 19:47:53 +03:00
Jan Procházka
2193d02f60
External library test - Example change for WS2812FX lib (#8146)
* Added 2 new libs + removed unnecessary multiple examples

* Change example for WS2812FX lib
2023-05-03 19:47:17 +03:00
Rodrigo Garcia
a7bd6c9bc5
Fixes analogWrite (#8137)
* Fixes analogWrite

* sets cnt_channel index

* fixes TAB alligment
2023-05-03 19:46:12 +03:00
Rodrigo Garcia
85d179c63c
Apply this change to 2.0.9 (#8131)
* Fix the F_CPU frequency for the ESP32-S3

Hello, I was using the FastLED library and it was complaining about F_CPU not being defined. So, I just noticed that it is not defined for the ESP32-S3 module. So I made this change in the header file and it compiled. Therefore I wanted to propose this change to the HAL library to improve compatibility. Thank you for your time.

* Makes F_CPU generic based on the SoC frequency

Works for ESP32, ESP32C3, ESP32S2, ESP32S3

* Includes ESP32C3 in the F_CPU definition

Necessary for ESP32 Arduino Core 2.0.x based on IDF 4.4

---------

Co-authored-by: Ali Devrim OGUZ <11381547+devrim-oguz@users.noreply.github.com>
2023-05-03 19:42:55 +03:00
Jan Procházka
98f6d783cb
Added 2 new libs + removed unnecessary multiple examples (#8145) 2023-05-02 14:36:23 +03:00
David McCurley
237a3fe96c
Add v2.0.8 into Issue Template (#8092) 2023-04-20 11:28:43 +03:00
WEMOS Electronics
fe5cbcfbf5
Add LOLIN S3 Mini board def (#8094)
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2023-04-20 01:55:56 +03:00
tnagorran
c3de675b2d
(Update camera_pins.h) Flash does not work on the esp32cam (#8091)
it is planned to use the flash led but a normal led is configured instead
2023-04-20 01:55:27 +03:00
Jan Procházka
e9c131a9d5
fix echo FQBNS in script (#8100) 2023-04-19 14:36:59 +03:00
Jan Procházka
b9cc0e69a4
[CI] Boards test fix + sketch (#8099)
* Fix test-board job condition

* Add CIBoardsTest.ino and use it for boards test

* Rename Test
2023-04-19 13:51:20 +03:00
Rodrigo Garcia
6b1cc41305
Adds HardwareSerial Example (#8095)
New Example for using/testing Serial with any CPU/APB Frequency
2023-04-18 22:26:12 +03:00
Jan Procházka
e360c2eef8
[CI] Added New Board Test (#8071)
* Add check if fqbn is empty
2023-04-18 01:58:33 +03:00
Dirk Carstensen
fa9e059005
getNextFileName: Get info whether filename is a file or directory (#8079)
re-submit #8068
2023-04-18 01:56:36 +03:00
Jan Procházka
d601c8977b
Updated workflow (#8089) 2023-04-18 01:55:33 +03:00