Commit graph

2258 commits

Author SHA1 Message Date
hathach
bf30f23484
Apply bluefruit ez changes
- rebuild libbt.a and libesp_hid.a with CONFIG_BT_HID_ENABLED=y and
CONFIG_BT_HID_DEVICE_ENABLED=y, also rebuilt is updated to base on idf
v4.4.2
- rebase and update arduino-esp32 to branch release/4.4
- update libbt with SDP_MAX_PAD_LEN=500
- fix hid descriptor len is larger than 256 causing incorrect SDP record in stack
- update lib bt & esp_hid to support device information profile for bluetooth hid
classic(vid/pid/version)
- bump up BluetoothSerial buffer: TX_QUEUE_SIZE from 32 to 128, SPP_TX_MAX from 330 to 4096
2024-03-29 22:37:06 +07:00
Me No Dev
44da992b77
Merge branch 'master' into release/v2.x 2023-10-04 20:02:15 +03:00
Melissa LeBlanc-Williams
a0b5a0936e
Add Additional Adafruit boards including the new Qualia ESP32-S3 and Camera ESP32-S3 (#8696)
* Add MatrixPortal ESP32-S3 (WIP)

* Update bootloader files, etc.

* Add MatrixPortal S3 PSRAM setup to boards.txt

* fix neopixel pin

* initialize bsp

* ?

* new variant for tft board with RGB666 40-pin display contact

* fix menu name

* fix neopixel pins

* more pin defs

* second bootloader file

* fix partition

* Update variants/adafruit_camera_esp32s3/pins_arduino.h

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

* Update variants/adafruit_qualia_s3_rgb666/pins_arduino.h

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

* add some #'s

* hardware design mistakes? in this economy? now we can use PSRAM and SPI at the same time :)

---------

Co-authored-by: Phillip Burgess <paintyourdragon@dslextreme.com>
Co-authored-by: Limor "Ladyada" Fried <limor@ladyada.net>
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2023-10-04 20:01:41 +03:00
me-no-dev
93d8ad2edd Merge branch 'master' into release/v2.x 2023-10-04 18:14:39 +03:00
Lucas Saavedra Vaz
c156b89cde
Documentation - Update supported IDEs and general improvements (#8606) 2023-10-04 18:05:52 +03:00
gvl610
a90b251e6d
Fix Mardown table format error (#8640) 2023-10-04 18:04:34 +03:00
gvl610
451bfc0198
Fix Markdown table format error (#8639) 2023-10-04 18:04:11 +03:00
Max
8e28bd79d2
Add IOXESP32 board family and ATD1.47-S3 board (#8646)
* Add IOXESP32 / IOXESP32PS board

* Add ATD1.47-S3 board

---------

Co-authored-by: Max <7087907+maxpromer@users.noreply.github.com>
2023-10-04 18:01:44 +03:00
Fio
cc477a5979
Update pins_arduino.h (#8659)
Corrected analog I/O, BUILTIN_LED and added missing soc/soc_caps.h.

Before neopixelWrite() would end up in / RMT GPIO ERROR / set gpio for RMT driver failed / rmtInit(): RMT failed to initilize. => None working onboard RGB LED.
2023-10-04 17:59:33 +03:00
Lucas Saavedra Vaz
7b4d468901
Fix BTAdvertisedDeviceSet::toString() method output (#8691) 2023-10-04 17:58:28 +03:00
Jacques Supcik
2d6d2851a6
Doc: Fix URL (#8695) 2023-10-04 17:57:39 +03:00
Lucas Saavedra Vaz
c6646e8c1b
WiFiClient - Properly initialize and check _rxBuffer (#8699) 2023-10-04 17:56:48 +03:00
me-no-dev
d8706e6a7f Update core version to 2.0.14 2023-10-04 17:56:15 +03:00
Me No Dev
d943db61a6
Update ESP-IDF to v4.4.6 (with I2S Rollback) (#8701) 2023-10-04 17:55:33 +03:00
Me No Dev
02e31b4001
Add 2.0.13 to issue report template 2023-09-15 16:13:44 +03:00
me-no-dev
16668c7fe4 Merge branch 'master' into release/v2.x 2023-09-15 12:49:53 +03:00
tobozo
a6a287fdc8
M5CoreS3 board and partitions update (#8276)
* M5CoreS3

followup to #8161 #8274 #8276

* Add files via upload

* Fix partition names
2023-09-15 12:47:47 +03:00
Me No Dev
e3cbd23d1a
Merge branch 'master' into release/v2.x 2023-09-15 12:25:48 +03:00
Rodrigo Garcia
cd409b2168
removes delay(10) from HardwareSerial::end() (#8634) 2023-09-15 12:18:26 +03:00
Lucas Saavedra Vaz
6dfcdefebb
HTTPClient - Fix case sensitiveness for header keys (#8632) 2023-09-15 12:18:04 +03:00
Me No Dev
b65d1c7d14
Merge branch 'master' into release/v2.x 2023-09-13 12:55:27 +03:00
Rodrigo Garcia
fc26b5be50
Set ref to 2.0.13 (#8615)
* Update platform.txt to 2.0.12

* Update package.json to 2.0.12

* Update esp_arduino_version.h to 2.0.12

* Update to upcoming 2.0.13

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2023-09-13 12:54:41 +03:00
Pascal Brunot
e079e22848
Rename pins_arduino.h.txt to pins_arduino.h (#8608) 2023-09-13 12:28:34 +03:00
Anatoli Arkhipenko
fff900d341
Disable Ethernet library if CONFIG_ETH_ENABLED not defined in sdkconfig.h (#8595)
* disable ETH if CONFIG_ETH_ENABLED not defeined in sdkconfig.h

* Include sdkconfig before checking config values

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
2023-09-13 12:28:10 +03:00
Rodrigo Garcia
d048e21164
Uart detach 2.0.13 (#8629)
* detaches previous pins in setPins()

* detaches previous pins in begin()

* allows setPins() or end() before begin() - detach pins

* fixes code TAB

* setPins() shouldn't detach pin = -1
2023-09-13 10:37:15 +03:00
Jan Prochazka
fe70e9b34c Merge branch 'release/v2.x' of https://github.com/espressif/arduino-esp32 into release/v2.x 2023-09-05 12:31:18 +02:00
Rodrigo Garcia
725146d199
Fix pin attachInterrupt(digitalPinToInterrupt(48)) on all S3 based SOCs (#8600)
* Test GPIO number in attachInterrupt()

* Fixes S3 GPIO48 in digitalPinToInterrupt()

* Changes test of GPIO number in attachInterrupt()

* Fixes NUM_DIGITAL_PINS in Adafruit board

* Fixes GPIO48 in Edgebox-ESP-100 board
2023-09-05 12:11:55 +03:00
Luca Burelli
8e2af4b9a2 Nano ESP32: fix digital, analog and GPIO pin counts (#8586)
* Nano ESP32: fix previous merge issues

* platform: remove previous build options if file is missing

"touch" would create the file if not present, but not delete its
contents if a previous run left the file in the build dir.

* platform: make debug_custom.json file customizable by board

* platform: fix default debug prefix

"debug.toolchain.prefix" must end with a dash, since only the tool name is
appended to this string.

The reason this is not a major issue is that the "debug_custom.json" file
(copied in the sketch directory when debugging is enabled) forces its own
prefix. And to make things more interesting, the "toolchainPrefix" entry
in that file should _not_ end with a dash.

* Nano ESP32: add debugging support

* Nano ESP32: fix digital, analog and GPIO pin counts
2023-09-04 15:33:29 +03:00
Luca Burelli
7d1dd858bb Nano ESP32: add debug support (#8567)
* Nano ESP32: fix previous merge issues

* platform: remove previous build options if file is missing

"touch" would create the file if not present, but not delete its
contents if a previous run left the file in the build dir.

* platform: make debug_custom.json file customizable by board

* platform: fix default debug prefix

"debug.toolchain.prefix" must end with a dash, since only the tool name is
appended to this string.

The reason this is not a major issue is that the "debug_custom.json" file
(copied in the sketch directory when debugging is enabled) forces its own
prefix. And to make things more interesting, the "toolchainPrefix" entry
in that file should _not_ end with a dash.

* Nano ESP32: add debugging support
2023-09-04 15:33:29 +03:00
Luca Burelli
58761beb83 Nano ESP32 file system option (#8566)
* io_pin_remap: additional bugfixes

- FunctionalInterrupt.h: prevent macro expansion in declaration
- io_pin_remap.h: fix remaining pin-remapped functions whose API
  allow a variable number of parameters

* Nano ESP32: make GPIO matrix reset robust to pin mode choice

* Nano ESP32: add backwards-compatible pin definitions

* Nano ESP32: erase flash when running "Burn Bootloader"

* Nano ESP32: add filesystem type selection
2023-09-04 15:33:29 +03:00
Luca Burelli
fd309493e1 Nano ESP32: add pin numbering option (#8565)
* io_pin_remap: additional bugfixes

- FunctionalInterrupt.h: prevent macro expansion in declaration
- io_pin_remap.h: fix remaining pin-remapped functions whose API
  allow a variable number of parameters

* Nano ESP32: make GPIO matrix reset robust to pin mode choice

* Nano ESP32: add backwards-compatible pin definitions
2023-09-04 15:33:29 +03:00
Lucas Saavedra Vaz
754635a9af I2S - Revert espressif/esp-idf@73ca054 to fix I2S crackling (#8583) 2023-09-04 15:33:29 +03:00
Jan Prochazka
1a209a0c61 fix attach pin for S3 2023-09-04 15:33:29 +03:00
Luca Burelli
d0635d0057 io_pin_remap fixes for the Arduino Nano ESP32 (#8489)
* io_pin_remap: fix tone() function mapping declaration

Since tone() can have either 2 or 3 parameters, pass any argument after the
first to the actual function implementation.

* io_pin_remap: add sanity checks to the core build

Building with BOARD_HAS_PIN_REMAP but without setting ARDUINO_CORE_BUILD
on core files is absolutely forbidden, as this would lead to multiple
pin remappings being silently applied on the same numbers.

Also advise the user when, on a board that has a custom pin mapping,
- the core is being built without pin mapping support, or
- the user explictly asked to use GPIO pin numbers.
2023-09-04 15:33:29 +03:00
me-no-dev
55d3aa17e3 Update version to 2.0.11 2023-09-04 15:33:29 +03:00
Luca Burelli
9fdcb6e374 Fix escaping issues in 2.0.10 (#8433) 2023-09-04 15:33:29 +03:00
Martino Facchin
8105c75086 Add Arduino Nano ESP32 target (#8417)
* USB: enable DFU interface and stub

* nano_nora: add Arduino Nano ESP32 board support

* [pin_remap 1/3] platform: define ARDUINO_CORE_BUILD when building core files

* [pin_remap 2/3] core,libs: add pin remap hooks

* [pin_remap 3/3] nano_nora: implement and enable pin remap

* nano_nora: fix: reset all matrix connections at boot

* nano_nora: add recovery image for release/v2.x

* nano_nora: use official Arduino branding

* nano_nora: core split + recovery mode rework

Use an absolute address in SPIRAM to store the magic tokens, almost at the
end of the memory, to avoid the markers from being overwritten on any kind
of sketch and core combination.

Also, only start the recovery once if a valid binary is present in the
Flash, by immediately setting that for the next boot when recovery
starts.

* platform: fix: use {compiler.sdk.path} for sdk path

In preparation for the sdk -> tool transition

* package_index: remove dfu-util from template

The tool is already available in mainline package_index.json

* on_release: allow single board packages

---------

Co-authored-by: Luca Burelli <l.burelli@arduino.cc>
2023-09-04 15:33:29 +03:00
me-no-dev
88dc590071 Update core version to 2.0.10 2023-09-04 15:32:05 +03:00
me-no-dev
9fc32dc3d0 Remove insights component since it's provided by RainMaker 2023-09-04 15:32:05 +03:00
me-no-dev
45546e7707 Update ESP-IDF to v4.4.5 2023-09-04 15:32:04 +03:00
me-no-dev
0ce74087a2 Update version to 2.0.9 2023-09-04 15:32:03 +03:00
David McCurley
6b2dbad996 BugFix FlashStringHelper Macros (#8143)
Revert to previous definition of `FPSTR` and `F` macros.
2023-09-04 15:32:03 +03:00
me-no-dev
91974e814b Update version to 2.0.8 2023-09-04 15:32:03 +03:00
me-no-dev
d56406b3a3 Add required callbacks for TinyUSB DFU 2023-09-04 15:32:03 +03:00
me-no-dev
8ab01f5a93 Enable DFU 2023-09-04 15:32:03 +03:00
David McCurley
3bf1e07f05 WiFiUDF Low memory fix (#8065)
Fixed library crash on low memory where `new char[1460];` throws an exception.  `malloc` is a safe drop in replacement.
2023-09-04 15:32:03 +03:00
me-no-dev
5ebe01fdc4 Update RainMaker and components 2023-09-04 15:32:02 +03:00
David McCurley
32f38f093d WFG Crashfix (#8043) 2023-09-04 15:32:02 +03:00
me-no-dev
13f15e980e Add support for esp-elf-gdb 2023-09-04 15:32:02 +03:00
James Armstrong
aa1f60e5db Add setMode function HardwareSerial.c to set the esp32 uart mode for use with RS485 auto RTS (#7935)
* Added setMode function to set the esp32 uart mode

Used to set the esp32 uart mode for use with RS485 Half Duplex and the auto RTS pin mode. This will set/clear the RTS pin output to control the RE/DE pin on most RS485 chips.

* Add Success (bool) return in some functions

* Add Success (bool) return code to some functions

* Add Success (bool) return to some functions

* Add Success (bool) return to some functions

* Fix uartSetRxTimeout return type

---------

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2023-09-04 15:31:32 +03:00