Commit Graph

292 Commits

Author SHA1 Message Date
Daniel Eisterhold
75f7b3303b
Add variant for Waveshare ESP32-S3-Touch-LCD-1.28 (#9386)
* feat(esp32): Add variant for Waveshare ESP32 board

Variant for https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-1.28

* feat(esp32): Add Waveshare ESP32 board variant to boards.txt

* fix(esp32): Update bootloader address and remove PSRAM flags

* fix(esp32): Updated boards.txt for Waveshare based on suggestions

* fix(esp32): Specify PSRAM type and remove unused board options

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: me-no-dev <hristo@espressif.com>
2024-03-26 12:20:39 +02:00
Daniel Eichhorn
29ede4826c
Add board definition for ThingPulse ePulse Feather C6 (#9399)
* feat: Add board definition for ThingPulse ePulse Feather C6

* fix: remove duplicated section for esp32c6
2024-03-21 14:26:52 +02:00
Jan Procházka
fcef7395e8
fix(boards): Fixes needed to pass CI all-boards-test (#9390) 2024-03-20 14:11:35 +02:00
Aaron.Lee
ab322be480
Heltec ESP32 Series boards update (#9367)
* Heltec ESP32 Series boards update

* Update variants/heltec_capsule_sensor_v3/pins_arduino.h

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

* Update variants/heltec_capsule_sensor_v3/pins_arduino.h

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

* Update variants/heltec_ht_de01/pins_arduino.h

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

* Update variants/heltec_wireless_mini_shell/pins_arduino.h

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

* Update variants/heltec_wireless_mini_shell/pins_arduino.h

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

* Fix board definition format

* Update Wireless Stick Lite V3 pin defintion

* Update Heltec boards defintion

* Heltec Wireless Shell (V3) format update

* Heltec Capsule Sensor V3 information update

* Heltec E-Ink Driver board menu update

* Heltec E-Ink Driver board menu update

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-03-18 14:32:27 +02:00
Lucas Saavedra Vaz
dce754b693
Improve USBVendor Example (#9349)
* Add WebUSB console

* Improve Console Page

* Improve example

* Add comments

* Add flush method

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-03-11 15:10:46 +02:00
DarkDuck
f27971ecb6
feat: add board support for Seeed XIAO ESP32C6 (#9330) 2024-03-05 10:54:59 +02:00
SooDragon
ebca505fef
fix: Geekble mini board pin fix (#9309)
* fix: LED Pin Modified

fix: LED Pin Modified

* Revert "fix: LED Pin Modified"

This reverts commit 36bdbdbe0c.

* fix: LED Pin Modified to support Hardware update

fix: LED Pin Modified to support Hardware update
2024-02-29 14:38:07 +02:00
c4801725870
e3748c1dca
Add WT32-SC01 PLUS support (#9284)
* WT32-SC01 PLUS support

Added pins_arduino.h and a boilerplate boards.txt entry for the Panlee WT32-SC01 Plus.

* Update pins_arduino.h

Edited the name to correctly reflect WT32-SC01 PLUS

* Update variants/wt32-sc01-plus/pins_arduino.h

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

* ADD(tinyuf2 things): Added tinyuf2 bins

ADD(tinyuf2 things): Added tinyuf2 bins

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-02-27 12:49:27 +02:00
SooDragon
ccacb7e3d1
Add Board support for Geekble ESP32-C3 Custom Module (#9260)
* Add Board support for Geekble ESP32-C3 Custom Module

feat: Add Board support for Geekble ESP32-C3 Custom Module

* fix: remove globally defined variables in pins_arduino.h

fix: remove globally defined variables in pins_arduino.h
2024-02-23 19:04:01 +02:00
Stanimir-Petev
e18d8b9505
Added support for 2 new Olimex boards and updated 3 existing ones (#9264)
* Added new Olimex boards

Added variants for ESP32-H2-DevKit-LiPo and ESP32-SBC-FabGL boards

* Changes on the ESP32-POE and POE-ISO

Added menu for selection of the:
1) PSRAM enabled/disabled
2) Flash size 4/16 MB
3) Flash mode QIO/DIO
4) Partition Scheme additional options

* Updated pins_arduino.h for ESP32 POE, POE-ISO and Gateway

Due to the latest changes in the ethernet library/examples (https://github.com/espressif/arduino-esp32/pull/9242) full package of definitions of the ethernet macros is for each board that has non-default values.
For POE and POE-ISO is added a preprocessor condition #if defined BOARD_HAS_PSRAM due to our specific hardware because GPIO 16 and 17 are in use when PSRAM is enabled.

* Update boards.txt

Removed the  -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw 
fix flags as suggested by Jason2866 and me-no-dev

* Update boards.txt

Reverted changes for ESP32-POE and ESP32-POE-ISO

* Update boards.txt

Rearrange of the enable/disable entries of the PSRAM option for ESP32-SBC-FabGL to be enabled by default.

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-02-21 16:47:06 +02:00
Unexpected Maker
1cb2cc7106
feat(esp32): Added Unexpected Maker BLING board (#9272) 2024-02-21 16:16:33 +02:00
Matthias Prinke
05e2abc58b
feat: Add board support for ThingPulse ePulse Feather (#9256)
* feat: Rename Firebeetle ESP32 board definition

* feat: Add board support for ThingPulse ePulse Feather

* Added missing flash_type, removed unavailable partition schemes

* Set some unspecified pins to -1

* epulse_feather: Modified PSRAM definitions

* Update boards.txt
2024-02-21 16:12:45 +02:00
Matthias Prinke
3de1d5b501
feat: Add board revisions V1/V2/V3 to Heltec Wireless Stick (#9205)
* feat: Add board revisions V2/V3 to Heltec Wireless Stick

* Update boards.txt

* Added according  to https://docs.heltec.cn/en/node/esp32/hardware_update_log.html#v2

* Added HELTEC_WIRELESS_STICK_V1

* Renamed

* Fixed partition scheme

---------

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-02-14 15:24:11 +02:00
yelo
83e2612f8c
feat: Add board support for Nologo ESP32S3 Pico (#9181)
detail of nologo esp32s3 pico:
https://www.nologo.tech/product/esp32/esp32s3Pico/esp32S3Pico.html
2024-01-31 16:07:06 +02:00
Dryw Wade
ead76fd395
Add SparkFun ESP32-C6 Thing Plus Variant (#9178)
* Add SparkFun ESP32-C6 Thing Plus to boards.txt

* Add SparkFun ESP32-C6 Thing Plus variant
2024-01-31 12:52:18 +02:00
yelo
8eaa893eff
feat: Add board support for Nologo ESP32C3 Super Mini (#9174)
detail of nologo esp32c3 super mini:
https://www.nologo.tech/product/esp32/esp32c3SuperMini/esp32C3SuperMini.html
2024-01-31 12:51:56 +02:00
Elias Santistevan
5148374c46
Adds SparkFun Pro Micro C3 Variant File (#9158)
* Adds SparkFun Pro Micro ESP32-C3 variant file

Adds SparkFun Pro Micro ESP32-C3 variant to boards.txt

* removes some pin definitions that are defined elsewhere

* removes the accidental camel case in variant folder name

* Attempts again to fix camel case in the variant file

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-01-31 12:51:36 +02:00
Jeff H - openSAR.net
d177e4446f
Create new pins_arduino.h and update boards.txt to add Heltec Wireless Tracker board (#8725)
* Create pins_arduino.h

* Update boards.txt

* Update boards.txt

* "Addressed feedback from the review"

* Update boards.txt

* fix(): Remove unnecessary eraseflash + reorder

* fix(heltec): Remove extra libs

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-01-23 14:10:21 +02:00
Sean Kwok
a1c86ae936
update m5stack boards define (#9086)
* update m5stack boards define

* update pins define

* add M5Dial Board

* build.board modify uppercase
2024-01-19 17:22:11 +02:00
Zillion
50f436c6fc
Add MakerGo C3 SuperMini def (#9050)
* Add MakerGo C3 SuperMini def

* fix(makergo_c3_supermini): Remove pin definitions.

Remove pin definitions since this part has been moved to the core and it defines globally per SoC & add an empty line at the end of the file.

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-01-16 15:50:56 +02:00
Quency-D
19630fcfd7
add heltec_wireless_tracker board (#9080)
* add heltec_wireless_tracker board

* Move the EraseFlash section to the end of the board.

* Restore readme.md document.

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-01-16 15:50:38 +02:00
Sebastian Romero
a114af068b
feat: Add pin aliases for RGB LED pins to ensure portability. (#9089) 2024-01-16 15:49:02 +02:00
powerfeatherdev
53aa8c8a5c
ESP32-S3 PowerFeather Fixes (#9052)
* Fix and add pin definitions

Add pins D7, D8
Correct pin numbers for ALARM and EN

* Enable CDC on boot

* Use partition schemes appropriate for flash size

Also adds another partition scheme based of off default_8MB, but fat
partition.
2024-01-08 14:35:43 +02:00
Limor "Ladyada" Fried
9d0274b3db
Pin fixes for the Camera board (#9021)
* update pins

* re-fix pinout that was reverted

* more pins

* Update esp32-hal-tinyusb.c

---------

Co-authored-by: Ha Thach <thach@tinyusb.org>
2023-12-20 16:23:55 +02:00
Benjamin Karic
0aefc94470
change(senseBox MCU-S2 ESP32-S2): Remove analog bit resolution change in init (#9000) 2023-12-15 01:04:41 +02:00
Luca Burelli
7d26b070d7
Add support for the Arduino Nano ESP32 on 3.x branch (#8909)
* [pin_remap 1/3] platform: define ARDUINO_CORE_BUILD when building core files

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

* 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.

* [pin_remap 3/3]: add Arduino Nano ESP32 board

* fix: periman: include it by default, add include guard

* fix: io_pin_remap: adjust for new perimap APIs

* fix: libraries: manually handled pin remapping files

Previously all libraries invoked either high-level APIs (transparently
remapped, like the user sketch) or low-level ESP-IDF calls (where the
remap to GPIO numbers had to be added manually).

Since 3.x, some of these are mixed (for example, periman* APIs are
remapped, while soc* are not). This must be handled by disabling the
automatic API remapping and making sure all calls use GPIO numbers.

* feat: show remapped pins in chip debug reports

---------

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>
2023-11-29 12:43:59 +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
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
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
吴潇
1dcd075664
add beetle esp32c6 and firebeetle2 esp32c6 (#8793) 2023-10-24 16:26:59 +03:00
uPesy Electronics
a04f351488
Add new uPesy boards as variant (#8778)
* Add uPesy EDU ESP32 board variant

* Add uPesy ESP32C3 Basic board variant

* Add uPesy ESP32C3 Basic board variant

* Add uPesy ESP32C3 Mini board variant + some tweak

* tweak uPesy C3 Mini pinout

tweak uPesy C3 Mini pinout

tweak uPesy C3 basic pinout

Add uPesy ESP32S3 pin variant

Add uPesy ESP32S3 pin variant

Tweak uPesy ESP32s3/C3 pinout variant

* add upesy esp32s3 config in boards.txt

* remove some lines that causes errors

* respect case for build.variant in boards.txt

* Update variants/uPesy_edu_esp32/pins_arduino.h

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

* Update variants/uPesy_esp32c3_mini/pins_arduino.h

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

* Update variants/uPesy_esp32c3_basic/pins_arduino.h

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

* respect case for build.board in boards.txt

* remove empty lines in boards.txt

* rename option https://github.com/espressif/arduino-esp32/pull/8778#discussion_r1363554039

---------

Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2023-10-24 16:25:51 +03:00
Dryw Wade
d2d7bc413d
Add SparkFun ESP32-C6 Qwiic Pocket Development Board Variant (#8754)
* Add SparkFun ESP32C6 Qwiic Pocket to boards.txt

* Add SparkFun ESP32C6 Qwiic Pocket pins_arduino.h
2023-10-11 18:48:14 +03:00
a sapuppo
1f1a9ae4b5
added namino bianco board + other fix on menus (#8730)
* added namino bianco board + other fix

* fix boards menu options
2023-10-06 16:11:46 +03:00
Rodrigo Garcia
ab6a25ed8d
Master5.1 s3 gpio48 and platform txt review (#8726)
* variants + S3 GPIO48

* fixes unphone8.build.flash_type

* fixes unphone8.build.flash_type

* heltec board name issue step 1

* heltec board name issue step 2

* fixes defines and new boards

* final review
2023-10-06 13:50:15 +03:00
Me No Dev
6f7a1ca76a
ESP-IDF v5.1 (#7733)
* Initial changes to compile under ESP-IDF v5.1

* Initial import for ESP-IDF v5.1 libs

* Update toolchain

* Update esp32-hal-psram.c

* Add missing LDs

* Update platform.txt

* Stop some CI jobs, because they will always fail

* Fix examples

* Update app_httpd.cpp

* Update ResetReason.ino

* Warnings fixes

* Added the example guideline and template (#7665)

* Added the example guideline and template

* PR review changes with some typos and grammar fixes

* Changes according to the PR review

* Added ESP32-S3 link to the datasheet (#7738)

* Update HiFreq_ADC.ino

* Replace periph_ctrl.h use because of deprecation

* Replace esp_spi_flash.h use because of deprecation

* Add includes to male mDNS::enableWorkstation compile

* Fix ssl_client mbedtls_pk_parse_key callback

* Update temperature sensor driver

* Allow sketch_utils to compile with arduino-cli

* Run CI with arduino-cli

* Fix arduino-cli CI build on Windows

* Refactor platform.txt to not use components installed through the board manager when running from git

* Initial Peripheral Manager Implementation

* Update SigmaDelta driver to use the new ESP-IDF driver API

* Small improvements to peripheral manager and SigmaDelta

* Remove deleted function from SigmaDelta header

* Update DAC driver to use the new ESP-IDF driver API

* Adds softAp(String) to make it compatible with ESP8266 (#7801)

* Fix commentary (#7800)

Minor fix based on observation done in https://github.com/espressif/arduino-esp32/issues/7795#issuecomment-1416868611

* add adafruit new board feather esp32s2 reserve tft (#7794)

* bugfix: add <stdint.h> for uint8_t to avoid compilation failure (GCC 11.2.0) (#7744)

* Adding 3rd party boards for VALTRACK-V4-VTS-ESP32-C3 & VALTRACK-V4-MFW-ESP32-C3 (#7735)

* Added VALTRACK-V4-VTS-ESP32-C3 board definition

Created pins_arduino.h & made changes to boards.txt with necessary changes

* Modified the URL

* Renamed json

* renamed all auRL

* Adding VALTRACK-V4 series board definitions

Added VALTRACK-V4-VTS-ESP32C3 & VALTRACK-V4-MFW-ESP32-C3 board variants

* Adding VALTRACK-V4 series board definitions

Added VALTRACK-V4-VTS-ESP32C3 & VALTRACK-V4-MFW-ESP32-C3 board variants

* Reverted package_esp32_index.template.json

restored package_esp32_index.template.json from edits

* Reverted package_esp32_index.template.json

Added new line to package_esp32_index.template.json

* Update Platformio CI (#7725)

* WiFiClient example fix (#7711)

* Modified WiFiClient example to use thingspeak instead of non-functionig sparkfun

* Moved instructions to README

* Fixed spelling

* Added link to S3 datasheet

---------

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

* Mirror update from Heltec repository (#7709)

Heltec updated the I2C pins in b10f4bf85d

* Fixes BLE data printing (#7699)

* Fixes BLE data printing

BLE data has no '\0' terminator, therefore it can't be printed as a regular C string.
This fix just prints the BLE data based on its length.

* Simplify printing to a single call

* split menu options + lora_32_V3 fix (#7697)

* Change header gaurd name (#7696)

* Fix Name (#7691)

Wrong name in definitions.

* Fix error in WiFiClient.cpp where the connect function fails for timeouts below 1 second (#7686)

* Update WiFiClient.cpp

This change will allow specifying connect timeouts below 1 second. Without this change, if connect timeouts under 1 second are given, the connect defaults to 0ms and fails. 
This will also allow timeouts in fractions of seconds, e.g. 1500ms. Without this change, connect timeouts are truncated to full second increments.

* Make parameter timeout_ms clear

* Change connection timeout_ms name for clarity

---------

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>

* fixed the function header (#7674)

* fixed the function header

* fixed function name and paramaters

---------

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

* Ticker fix solving #6155 (#7664)

* Wrapped Ticker functions with #pragma disabling -Wcast-function-type

* Revert "Wrapped Ticker functions with #pragma disabling -Wcast-function-type"

This reverts commit 160be7e67a.

* Fixed Ticker example

* Modified Ticker example

* Fixed LED_BUILTIN err for ESP32

---------

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

* setPins fix ESP32 "specified pins are not supported by this chip." (#7646)

[ESP32: SDMMCFS::begin hardcodes the usage of slot 1, only check if the pins match slot 1 pins.]

setPins() was testing pins D1, D2 and D3 all against D1 ... fine in 1 pin mode when all are -1 not so much if you're trying to get 4 pin mode working.
I now see this function doesn't really do anything on the ESP32...accept now correctly checks that you are trying to use the slot 1 pins.

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

* Allow passing IP as connect method parameter in WiFiClientSecure and skip unnecessary host-ip conversions (#7643)

* Add LED_BUILTIN* definitions and initialization for LEDs to stop them floating. (#7636)

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>

* Expand path to tinuf2 image when checking existence in platformio-build.py (#7631)

* Expand path to tinuf2 image when checking existence

* More isFiles fixed

* Remove (useless) trailing semicolon from Print.cpp (#7622)

* ADD: New variant Edgebox-ESP-100 (#7771)

* ADD: New variant Edgebox-ESP-100

* FIX: Edgebox-ESP-100 Board.txt usb mode option change back to default value as ESP32S3

* Add Crabik Slot ESP32-S3 board (#7790)

* Added Crabik Slot ESP32-S3

* Adding CPU frequency settings and removing excess from partition scheme settings

* new variant LilyGO T-Display-S3 (#7763)

* new variant LilyGO T-Display-S3

https://github.com/Xinyuan-LilyGO/T-Display-S3

* Add boards.txt definition

---------

Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>

* Update get.py to support Apple ARM64

* Update package_esp32_index.template.json

* WString Return bool (#7774)

* Add Roboheart Hercules development board to the esp32-core (#7672)

* added Roboheart Hercules pin definitions and board.txt entries

* added package_roboheat.json for prototyping

* Roboheart Hercules pins

* Updated the pins

* Delete package_roboheart.json

* Requested changes

---------

Co-authored-by: renebohne <rene.bohne@gmail.com>

* Reword "ESP-IDF as Component" (#7812)

I think "Arduino as an ESP-IDF component" or just "As ESP-IDF component" instead of  "ESP-IDF as Component" is more correct way to name the link.

1. "ESP-IDF as Component" would imply that ESP-IDF is some sort of library for Arduino, which is (IMO) misleading, because it's true the other way around.
2. It's written as "Arduino as an ESP-IDF component" on the webpage it points to as well.

- Also I removed the capitalization from "Component" as I have not found a reason why is it capitalized.

* add new board Adafruit Feather ESP32-S3 Reverse TFT (#7811)

* Multi threading examples (tasks, queues, semaphores, mutexes) (#7660)

* Moved and renamed example ESP32/FreeRTOS to MultiThreading/BasicMultiThreading

* Added dummy files

* Modified original example

* Fixed BasicMultiThreading.ino

* Added Example demonstrating use of queues

* Extended info in BasicMultiThreading

* Renamed Queues to singular Queue

* Added Mutex example

* Added Semaphore example

* Moved info from example to README

* Moved doc from Mutex to README

* Added Queue README

* Removed unecesary text

* Fixed grammar

* Increased stack size for Sempahore example

* Added headers into .ino files

* Added word Example at the end of title in README

* removed unused line

* Added forgotten README

* Modified BasicMultiThreading example

* Added missing S3 entry in README

* moved location

* Update ESP-IDF libs

* Update CMakeLists.txt

* Update esptool to v4.4

* Add function timerAttachInterruptFlag (#7809)

* Update esptool to v4.5

* ADC refactoring (#7827)

* Adc refactored + periman implementation

Peripheral manager still needs to be checked if the implementation is right.

* switched to working solution for milivolts read

* Periman detachbus fix

* coding style

* fix CI warnings

* fix FreeRTOS example

* Update ETH.cpp

* Update FunctionalInterruptStruct.ino

* Update package_esp32_index.template.json

* Update package_esp32_index.template.json

* Fixes for the latest IDF v5.1

* update esp-idf libs and toolchain

* Turn OFF auto crystal frequency for ESP32 (needed by TWAI)

* Update examples

* Switch build to mostly use flags from files

Includes can not be done this way

* Reorganize flag files

* Optimize chip build flags further

* Revert defines from file. MBEDTLS_CONFIG_FILE does not properly expand

* Add support for includes and defines from file

* Replace old sdk path references in platform.txt

* use gcc-ar (#8013)

* Makes F_CPU generic for all SoC (#8007)

Based on CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ that is correctly defined in the sdkconfig file for each SoC.

* TIMER refactoring (#7904)

* refactor using GPtimer

* Updated timer HW test

* fix examples

* Add v2.0.7 in issue template (#7871)

* refactor using GPtimer

* Updated timer HW test

* fix examples

* Revert "Add v2.0.7 in issue template (#7871)"

This reverts commit fcc3b17d62.

* Update upload-artifact to v3 in HW CI

* Revert "Update upload-artifact to v3 in HW CI"

This reverts commit 1ba2280717.

* replace resolution with frequency

* remove count_down option

* countup removed from examples + header

* Refactored timer object

* code cleanup + examples and tests fixes

* TimerAlarm fix

---------

Co-authored-by: Vojtěch Bartoška <76958047+VojtechBartoska@users.noreply.github.com>

* [Docs] ADC and Timer API Update (+some docs fixes) (#7906)

* updated docs

* remove hall sensor docs

Removed Hall sensor documentation as its no longer supported in IDF-5

* Fixed ESPNow examples location in docs

* Last timer refactored API + gpio small fix

* AlarmWrite fix

* Fixes APLL/PLL with RTC Frequency (#8025)

log_d() was displaying APLL for any SoC, but S3 and C3 has not such option, causing compilation errors.

* Update IDF libs and fix OPI PSRAM on S3

* 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>

* Add support for esp-elf-gdb

* WFG Crashfix (#8044)

* Update component libs

* IDF release/v5.1 (#8061)

* IDF release/v5.1 bb9200acec

* Update Esp.cpp

* IDF release/v5.1 420ebd208a

* Update esp32-hal-psram.c

* Switch SDK to be an external package

* fix path (#8096)

* Makes UART work at any APB Frequency (#8097)

Fixes HardwareSerial to work with IDF 5.1 on any CPU/APB Frequency (240MHz to 10MHZ), including user created low power modes.

* Add required callbacks for TinyUSB DFU

* Update version to 3.0.0

* Add ESP.getCoreVersion() and update ESP.getChipModel()

* Update timer hal for the latest 5.1

* Use separate RX and TX buffer sizes in HTTP client

optimizes download by allowing up to 4K packets to be received

* Rename clock tree enum name in latest 5.1

* ESP32-H4 support was removed in ESP-IDF v5.1

* IDF release/v5.1 2004bf4e11 (#8165)

* Deinit previous bus first (#8180)

* TIMER - add timer_started flag, fix timerEnd() + timer HW test (#8135)

* Add timer_started flag and stop before disable

* Fix timer HW test

* TOUCH - Peripheral manager implementation (#8129)

* Touch periman implemented

* Deinit previous bus first

* LEDC Refactoring - Peripheral manager implemented (#8126)

* LEDC periman implementation

* Fix examples

* Rework tone

* Update ledc docs

* fix missing bracket

* Update analog funtions esp32-hal.h

* Update CameraWebServer example

* Fix HiFreq_ADC example

* minor fixes - typos

* Avoid calling tone/notone when tone already runs on dif. pin

* Remove unused channels_resolution

* GPIO - Peripheral manager implementation (#8179)

* periman-implementation

* fix RGB_BUILTIN and remove space

* Enforces more consistency into Peripheral Manager (#8188)

* Avoid log_i() message the first time a bus is assigned

* Prevent operation with ESP32_BUS_TYPE_INIT

* keeps coding style

* do not print messages on INIT bus type

* [Arduino Core 3.0.0] RMT IDF5.1 Refactoring (#7994)

* RMT IDF5.1 refactoring

* Fixes initial value setting

* removed rmtRead() with user callback

* simplify/remove Read data structure

* Deep API simplification

* fixes the examples

* fix rmt.h

* adds support to APB different frequencies

* fixes CI and not defined RGB_BUILTIN

* new RMT API and examples

* fixing commentaties

* Update esp32-hal-rgb-led.c

* changes Filter API

* Fixes example with Filter API

* Update PlatformIO scripts for the upcoming 3.0 core (#8183)

* Update PlatformIO scripts for the upcoming 3.0 core

* Dynamically select proper framework-arduinoespressif32-libs package

With this change the dev-platform will be dynamically configured to
pull the latest .zip package with precompiled libraries from extracted from
package_esp32_index.template.json

* free memory on detach (#8264)

* SPI - Peripheral manager implementation  (#8255)

* spi periman implementation

* fix header file

* remove unused struct

* fix missing braces

* Update esp32-hal-rmt.c (#8216)

Optimizing Peripheral Manager Test

* I2C - Peripheral manager implementation (#8220)

* i2c-master periman initial commit

* i2c-master make detachbus static + comment remove

* i2c-slave periman implementation

* SetPinBus to INIT on i2cDeinits

* Fix slave pins deinit

* remove dbg logs

* set ret to ESP_FAIL instead of returning

* Fix warnings in hal-spi caused by pariman transition

* Update esptool.py to version 4.6

* Add platform support for ESP_SR

* Add USB Type and valid pin check to periman

* replace bus with spi->num+1 (#8279)

* Remove default pins from SPI HAL

* Add commented out handlers for esptool.js in TinyUSB CDC

For future use

* Add build defines for host os and fqbn (for debug purposes)

* Provide proper memory caps total size

* Update Esp.cpp

* SDMMC - Peripheral manager implementation (#8289)

* sdmmc periman implemented

* save pins when SOC_SDMMC_USE_IOMUX

* IDF release/v5.1 4bc762621d (#8292)

* Adds missing pinMode (#8312)

* Adds missing pinMode

The example code lacks a pinMode() to initialize the GPIO 0 (button). In Arduino Core 3.0.0, it prints an error message when trying to read a not initialized GPIO.

* Update KeyboardLogout.ino

Adds <buttonPin> to keep code standard

* Update KeyboardReprogram.ino

Adds <buttonPin> to keep code standard

* LEDC Fade implementation (#8338)

* fade API + pointer fixes

* Add fade api

* Add fade example

* update ledc docs

* remove unused variables

* fix path to example

* Adds USB to Peripheral Manager - Arduino Core 3.0.0 (#8335)

* ETHERNET - Peripheral manager implementation (#8297)

* Peripheral manager implemented

* remove unused variable

* Add all RMII pins

* fix typo

* Adds HardwareSerial to Peripheral Manager Arduino 3.0.0 (#8328)

* Do not limit ETHERNET in periman to only ESP32. SPI is also an option

* Initial support for ESP32-C6 (#8337)

* Add checks for SOC defines (#8351)

* Add checks for SOC defines

* Add SoC checks to BLE library

* fix i2c compilation error

* fix wrong placement of include

* add check to SPI library

* add check to USB library

* add checks to Wire library

* Feature/esp32h2 support (#8373)

* Initial support for ESP32H2

* Additional changes for ESP32H2

* Update libs for ESP32H2

* Fix flashing on ESP32-H2

* Fix GPIO Configs for ESP32-C6 and ESP32-H2

* Update Timer test sketch

* Fix upload flash parameters

* Use ets_write_char_uart instead of ets_printf in log_printfv

* Print full chip report when log level is sufficient (#8282)

* ESP32-C3 does not have ets_write_char_uart

* Fix BLE gap event name

* HW Testing - Pytest update (#8389)

* update tests requirements

* remove already handled components

* Update version of pytest

* Add missing ESP32-H2 to hil.yml

* Updated FreeRTOS names (#8418)

* HW Testing -  ESP32-C6 + ESP32-H2 fixes (#8404)

* add C6/H2 to tests cfg.json

* remove ,

* workflow runs-on runner by matrix

* Add need for arduino tag to select runner

* Add cryptography to requirements.txt

* Removed duplicate TX1 define for H2 (#8402)

* Fix broken examples

* Fixes RMT filter & idle timing and setup (#8359)

* Fixes Filter and Idle parameter to uint32

* Fixes Filter and Idle setup

* Fixes it to 5.1Libs branch

* fix RMT CLK source and Filter API

* fixes missing ;

* fixes missing ;

* fixes RMT example

* IDF release/v5.1 a7b62bbcaf (#8438)

* Add workflow to build executables from python scripts (#8290)

* Add workflow to build executables from python scripts

* Push binary to tools

* Enable executable signing on Windows

* Update get.py

* Push binary to tools

* Try with multiple files

* Try more actions

* Try powershell

* Restore tools so they do not get rebuilt

* Finalize scripts

* Push binary to tools

* App rollback should be after PSRAM is initialized

* Correcting RX1 to GPIO4 and TX1 to GPIO5 to be consistent with documentation. Previous pin use works but is inconsistent with C6 docs.

* Fixes Memory Leak (#8486)

* fixes preprocessor test (#8485)

* fixes preprocessor test

When using `#define USE_SOFT_AP` 
Change
`&& not USE_SOFT_AP` ==> `&& !defined(USE_SOFT_AP)`

* Adds any BLE capable device in WiFiProv.ino

Removing ESP32 restriction for BLE Provisioning.

* fix flash mode read out for C6

* Add option for custom partitions without restrictions

* SD_MMC update (#8298)

* Updated SD_MMC lib and examples

* Removed getter implementation and commented usage in examples

* squashed updates

* IDF release/v5.1 f0437b945f (#8599)

* Update package_esp32_index.template.json

* Fix printf format build error in BTAdvertisedDeviceSet.cpp

---------

Co-authored-by: Pedro Minatel <pedro.minatel@espressif.com>
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
Co-authored-by: Ha Thach <thach@tinyusb.org>
Co-authored-by: Martin Turski <quiret@vfemail.net>
Co-authored-by: raviypujar <raviypujar@gmail.com>
Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
Co-authored-by: Tomáš Pilný <34927466+PilnyTomas@users.noreply.github.com>
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: Daniel Berlin <dberlin@dberlin.org>
Co-authored-by: Nima Askari (نیما عسکری) <nimaltd@yahoo.com>
Co-authored-by: rtpmsys <106180646+rtpmsys@users.noreply.github.com>
Co-authored-by: bytiful <55647551+bytiful@users.noreply.github.com>
Co-authored-by: tmfarrington <tmfarrington@users.noreply.github.com>
Co-authored-by: Krzysiek S <chris.streh@gmail.com>
Co-authored-by: surt <carl.olsson@gmail.com>
Co-authored-by: Max Scheffler <max.scheffler@pm.me>
Co-authored-by: Clemens Kirchgatterer <clemens@1541.org>
Co-authored-by: Peter Pan's Techland <twinkle-pirate@hotmail.com>
Co-authored-by: Roman <programmeofficemilkyway@gmail.com>
Co-authored-by: Eistee <Eistee82@users.noreply.github.com>
Co-authored-by: David McCurley <44048235+mrengineer7777@users.noreply.github.com>
Co-authored-by: Gaya3N25 <30388176+Gaya3N25@users.noreply.github.com>
Co-authored-by: renebohne <rene.bohne@gmail.com>
Co-authored-by: Olivér Remény <25034625+remenyo@users.noreply.github.com>
Co-authored-by: davidk88 <david.kotar@gmail.com>
Co-authored-by: Vojtěch Bartoška <76958047+VojtechBartoska@users.noreply.github.com>
Co-authored-by: James Armstrong <jamesarmstrong3@me.com>
Co-authored-by: Valerii Koval <valeros@users.noreply.github.com>
Co-authored-by: Peter G. Jensen <root@petergjoel.dk>
2023-10-05 14:54:25 +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
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
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
Pascal Brunot
e079e22848
Rename pins_arduino.h.txt to pins_arduino.h (#8608) 2023-09-13 12:28:34 +03:00
RFidanci
dafff71e21
Added support for the Aventen S3 Sync (#8587)
* Added support for the Aventen S3 Sync

* Update pins_arduino.h
2023-08-31 13:35:48 +03:00
Kavinda Kotuwegedara
8bfe3c441d
Adding New Lion:Bit STEM Board (#8569)
* Added New LionBit Board Details

Added New LionBit Board Details

* Updated

* Updated

As you suggested

* Updated

Pin

* removed the unwanted lines
2023-08-30 16:24:34 +03:00
a sapuppo
057eac6647
new industrial boards namino rosso / namino arancio (#8582)
* new industrial boards namino rosso / namino arancio

* added missing definitions
2023-08-30 14:23:00 +03:00
bsergei
c814a23458
Fixed SPI default pins for M5Stack Stamp S3 board (#8187)
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2023-08-30 10:56:43 +03:00
Ha Thach
dbc060b181
add Adafruit metro S3 16MB Flash, 8MB PSRam (#8478)
* add Adafruit metro S3 16MB Flash, 8MB PSRam

also reorder to have feather boards next to each others

* correct SS pin to 21, also add NEOPIXEL_PIN

* change metro s3 psram type to opi, default SD_CS (SS) to input pull up

* remove psram qspi option
2023-08-29 13:56:23 +03:00