Commit graph

2258 commits

Author SHA1 Message Date
Jan Procházka
00a9579982
Add Arduino as Component examples (#8878)
* Example for IDF component registry

* Added readme

* updated readme

* remove idf dependency

* add empty lines on file end

* idf_component.yml version change

* Updated readme for local development

---------

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2023-11-29 12:09:43 +02:00
diplfranzhoepfinger
b303cb4571
Update RMT initialization code (#8927)
* Update RMT initialization code

- Commented out setting interrupt priority for both TX and RX configurations in the RMT initialization code.

* checks IDF version within RMT interrupt priority

---------

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2023-11-29 12:06:20 +02:00
Jan Procházka
b01775ed17
Fix ADC detach bus calibration handle error when not existing. (#8932)
* Add check if adc calibration habdle exists before deleting

* check also on adc continous detach
2023-11-29 12:05:30 +02:00
Clemens Kirchgatterer
57e8e50e1a
Fix compilation when NO_GLOBAL_SERIAL is defined. (#8933) 2023-11-29 12:04:49 +02:00
Mirco Pizzichini
db7b3495d5
Add lock to protect concurrent i2c transactions performed by different tasks (#8127)
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2023-11-29 11:42:56 +02:00
rtpmsys
e99437c850
Add missing function getSocketOption (#7807)
* Update WiFiClient.h

Added missing getSocketOption() with full access to level and option

* Update WiFiClient.h

* Handle timeout settings below 1 second

Fix error with connect timeout settings below 1000ms.
Add getsocketoptions function.

* Add cast for setsockopt length

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2023-11-29 10:04:34 +02:00
Gonzalo Brusco
ac1c00121b
Added WiFi Bandwidth Setting Methods for AP and STA modes. (#7619)
* Added Bandwith setting method

* Separted AP and STA on it's own class each

* Missing WiFi

* Rename for consistency

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2023-11-29 10:03:48 +02:00
Juraj Andrássy
990e3d5b43
WiFiServer - deprecate available(), use accept() everywhere (#8860)
esp8266 and esp32 server.available() is not implemented as documented
it is implemented like server.accept() is documented by Arduino

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2023-11-27 14:51:59 +02:00
lbernstone
1e980bd738
Added KEY_SPACE to USBHIDKeyboard.h (#8920) 2023-11-27 11:16:44 +02:00
Jan Procházka
0d0d27fba8
Extend bus types and structure for Peripheral Manager (#8888)
* Extended bus types for peripheral manager

* add extra_type to peripheral manager

* Fix function call

* Fix check for no extra_type

* Add extra_type for SD and ETH CS pin

* added bus_num and bus_channel to pin structure

* update printPerimanInfo with new fields

* replaced setting bus to INIT with DetachPin call

* add defines for extra attributes

* use new required parameters in perimanSetPinBus

* function rename

* removed duplicate define

* Update print format

---------

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2023-11-25 21:26:03 +02:00
Pedro Minatel
600f35916b
Added the Google Analytics ID on the configuration file (#8915) 2023-11-24 11:39:55 +02:00
Mario Pesch
bb72b02e78
Add senseBox MCU-S2 with ESP32S2 (#8891)
* add senseBox MCU-S2

Add new senseBox Board (MCU-S2) with ESP32-S2

* update senseBox MCU-S2 integration

* update pins_arduino.h

* remove defines and add end symbols

* remove Serial Alias

* change board order
2023-11-23 11:15:56 +02:00
Stanimir-Petev
8c08727658
Adds support for missing Olimex boards (#8896)
* Board variant ESP32-C3-DevKit-Lipo

Added board variant for Olimex ESP32-C3-DevKit-Lipo

* Board variant ESP32-C6-EVB

Added board variant for Olimex ESP32-C6-EVB

* Board variant ESP32-S2-DevKit-Lipo-USB

Added board variant for Olimex ESP32-S2-DevKit-Lipo-USB

* Board variant ESP32-S2-DevKit-Lipo

Added board variant for Olimex ESP32-S2-DevKit-Lipo

* Board variant ESP32-S3-DevKit-Lipo

Added board variant for Olimex ESP32-S3-DevKit-Lipo

* Added Olimex boards in the board.txt files

Added missing Olimex boards:

ESP32-S2-DevKit-Lipo
ESP32-S2-DevKit-Lipo-USB
ESP32-S3-DevKit-Lipo
ESP32-C3-DevKit-Lipo
ESP32-C6-EVB

Added additional upload speed options to the ESP32-EVB and ESP32-POE(-ISO) boards.

* Update

Made changes on the definitions of the pins and formatting as suggested.

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2023-11-22 22:51:25 +02:00
powerfeatherdev
a933571430
Add support for ESP32-S3 PowerFeather (#8889)
* Add support for ESP32-S3 PowerFeather

* Replace GPIO_NUM_X with just the pin number

* Pattern powerfeather entries after generic s3 board

* Remove redefinitions, add pin aliases to pins_arduino.h
2023-11-22 22:50:19 +02:00
Ha Thach
4b6f939019
correct adafruit metro esp32s3 pins for rev B (#8903) 2023-11-21 16:35:01 +02:00
Ha Thach
eedae1521c
Update Adafruit boards (#8897)
* fix ZigbeeMode mennu for adafruit boards

* remove tinyuf2 csv in variant, use csv in tools/partiions

* add tinyuf2 no ota partitions scheme for all adafruit boards
2023-11-21 16:34:40 +02:00
Jason2866
5d9a7a13b0
Add ESP32-C2 support (#8881)
* add c2

* Fix typo

* changes from code review

* rm hack needed to compile for c2

* rm `DARDUINO_USB_MODE=1` not needed for c2

* log_e message no RMT support

* correct log_e

* Update esp32-hal-rgb-led.c

* Add component test build for ESP32-C2

* Disable most components for ESP32-C2

* Add missing ADC SOC defines for ESP32-C2

* Add hidden board definition and fix LED pin in variant

* Add default empty zigbee libs and mode

* Change SPI default pins

* change rx1 tx1 default gpio

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
Co-authored-by: me-no-dev <hristo@espressif.com>
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2023-11-21 15:16:47 +02:00
lbernstone
c4fd383811
Added troubleshooting doc for USB-CDC (#8840)
* Added troubleshooting doc for USB-CDC

* Clarification

* Change requested by @pedrominatel

* Fixed the title level issue

---------

Co-authored-by: pedrominatel <pminatel@gmail.com>
2023-11-17 12:54:07 +02:00
Alex
14b0b04263
Added arduino uno backward compatibility pins (#8833)
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2023-11-17 12:53:47 +02:00
Ha Thach
6cc0e9dd20
add tinyuf2 partitions csv (#8894) 2023-11-17 12:52:28 +02:00
Ha Thach
93909f7308
fix issue when s3 switch usb from cdc to jtag while reset to bootrom (#8880) 2023-11-17 12:51:54 +02:00
Me No Dev
76782f2c75
Fully guard I2C Slave in preparation for C2 support (#8882) 2023-11-13 22:46:46 +02:00
TD-er
82e5fe8a36
Add platform specific flash speed to magicFlashChipSpeed (#8864)
Various ESP32-variants like the C6, H2, etc. differ in their used flash frequencies.

Also the maximum possible flash size wasn't handled in `magicFlashChipSize`

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2023-11-13 21:38:01 +02:00
Vojtěch Bartoška
3daa302ac2
Update warning note PlatformIO (#8866) 2023-11-13 21:36:33 +02:00
Juraj Andrássy
fbfcb802b6
WiFiSTA - method setDNS as in WiFi libraries by Arduino (#8854)
https://www.arduino.cc/reference/en/libraries/wifi/wifi.setdns/
2023-11-11 00:30:36 +02:00
Juraj Andrássy
0b6d20ed65
WiFi.BSSID and scan result BSSID with parameter as in WiFi libraries by (#8853)
Arduino
2023-11-11 00:29:46 +02:00
Juraj Andrássy
3fa2807aad
WiFiSTA - new status constant WL_STOPPED (#8849)
to change initial WiFi.status() because WL_NO_SHIELD
is checked in any generic Arduino WiFi example

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2023-11-11 00:28:49 +02:00
Juraj Andrássy
a9a72d1fdc
WiFiSTA - allow using DHCP again after disconnecting static IP (#8848)
reset _useStaticIp to false in WiFi.disconnect()

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2023-11-11 00:27:07 +02:00
Unexpected Maker
bf81fbbb75
Add new UM TinyC6 board and re-ordered UM boards in boards.txt file. (#8814) 2023-11-10 23:58:26 +02:00
Vojtěch Bartoška
57753d05f5
Update boards.rst (#8851)
* Update boards.rst

* HW reference link

* Formatting fixes

* typo

* Devkits website link

* link fix
2023-11-10 23:58:02 +02:00
Rodrigo Garcia
bf17d0e0a0
Makes MP3 header files public for I2S code (#8868)
* Makes MP3 header files public for I2S code

* Fix mdns version to 1.2.1

* commetary
2023-11-10 23:57:18 +02:00
Me No Dev
b1335dce41
IDF release/v5.1 (#8865)
* IDF release/v5.1 b6a66b7d8c

* Fix CI - RMakerCustomAirCooler.ino

No use of `#include "led_strip.h"` in the code

---------

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2023-11-10 21:40:14 +02:00
lbernstone
6b287db119
Update/upgrade OTAWebUpdater.ino example (#8839)
* Update/upgrade OTAWebUpdater.ino example

* Wrong side of the MAC address in ssid

* Better not to cheat it on an example :)

* Changes requested by @me-no-dev
2023-11-10 01:27:38 +02:00
Rodrigo Garcia
6cc307255b
Increase BT SPP task priority (#8859) 2023-11-09 23:15:50 +02:00
Rodrigo Garcia
de7cac11ae
Neopixel fix (#8845)
* improve neopixel definition for all boards

* Improve NeoPixel definition for all boards

* neopixelWrite uses Peirpheral Manager now

The function can now be used for many GPIOs in the same sketch by using Peripheral Manager attach/detach, not being necesary to worry about initialization.

* improve error message

* check if pin is RGB_BUILTIN

* fixes boards that don't RGB_BUILTIN
2023-11-09 23:15:10 +02:00
Jan Procházka
2ac1c06809
Zigbee protocol support (#8844)
* add zigbee+zboss to idf_components.yml

* add zigbee partitions

* created zigbee mode in tools menu to link proper libs

* renamed Zigbee menu and build as suggested

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2023-11-09 23:11:20 +02:00
Rodrigo Garcia
1e2ee37104
Fixes Rainmaker to be a Managed Component (#8842)
* Uses IDF Managed Components

This changes is targeted to be used within Arduino Lib Builder and with projects that use Arduino as IDF Component.

* Fixes RainMaker QR code

Fixes RainMaker in order to use it as Managed Component and with the latest RainMaker release.

* Removes Camera Component

* SR Component only needed for the S3
2023-11-09 23:08:39 +02:00
Vojtěch Bartoška
e382b6a072
Fix of Readme (#8852) 2023-11-08 15:35:25 +01:00
Vojtěch Bartoška
bf822eff7d
Readme update 2023-11-08 13:55:32 +01:00
Rodrigo Garcia
2b2c5df2fe
Fixes uart attach/detach (#8820)
* Fixes uart attach/detach

* Fixes uart logging locks

* enforces Serial0 setPins
2023-11-08 13:07:38 +02:00
Lucas Saavedra Vaz
322ba37bec
PeriMan: Improve log messages (#8812)
* Improve log messages

* Add name function

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2023-11-08 13:07:04 +02:00
Lucas Saavedra Vaz
6d9ebea500
RMT: Fix RMT TX interrupt level (#8813) 2023-10-27 15:52:33 +03:00
JDavid
6357663f33
Fix linker failure when using BluetoothSerial on latest release with Arduino as Component. (#8784) 2023-10-27 12:51:13 +03:00
Me No Dev
a3d8de6adf
[REDO] Update espota.py (#8797)
* Update espota.py

Changes documented in comment section of code.

* Push binary to tools

---------

Co-authored-by: rowingdude <49796265+rowingdude@users.noreply.github.com>
2023-10-25 14:59:08 +03:00
Lucas Saavedra Vaz
49644c1c5a
CI: Add UART test (#8801) 2023-10-25 14:58:49 +03:00
Lucas Saavedra Vaz
f04b7d9202
BluetoothSerial: Fix SPP service mode (#8806) 2023-10-25 13:43:46 +03:00
Lucas Saavedra Vaz
78ac143b15
Remove unsupported DOUT and QOUT options (#8805)
* boards.txt: Remove unsupported DOUT and QOUT options

* CI: Remove DOUT and QOUT tests
2023-10-25 12:59:43 +03:00
Lucas Saavedra Vaz
b9fdae7b7a
UART: Change default Serial1/2 pins and move definition to header (#8800) 2023-10-25 10:52:05 +03:00
Rodrigo Garcia
9dd9bde682
Serial as a #define (#8798)
* Serial as a #define

* Typo

* fixes USBCDC declaration

* Fixes Examples

* simplifies examples

* Adds USB Serial Events

* adds error msg when ESP32 is used with USB
2023-10-25 10:50:51 +03:00
lbernstone
e8f82286b5
Added entry for octal flash S3 (#8660)
* Added entry for octal flash S3

* Default flash size should be 16M for WROOM2

* Added CRs

* One more CR

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2023-10-24 16:27:53 +03:00