Commit graph

342 commits

Author SHA1 Message Date
hathach
e8acb8402c
add upload_port vid/pid for adafruit boards 2024-06-05 10:28:12 +07:00
SooDragon
640523827b
fix: Changed Board name (#9773)
fix: Changed Board name
2024-06-04 21:14:44 +03:00
Me No Dev
04427c9934
feat(partition): Add 4MB No File System partition scheme (#9769)
Adds partition scheme with two apps, 2MB each.
2024-06-04 07:58:39 +03:00
Me No Dev
e33022f3f0
fix(boards): Add missing parameter to esp32_family for IDE1 (#9759) 2024-06-03 13:02:33 +03:00
Jan Procházka
a62ad55c31
feat(boards): Add Zigbee menu for C6/H2 boards (#9754) 2024-06-03 10:42:02 +03:00
Unexpected Maker
c16a325439
Updated UM boards for IDE2 & CLI (#9726)
* Updated UM boards for IDE2 & CLI

* Removed unwanted UM_RMP folder.
2024-05-30 14:19:03 +03:00
Me No Dev
f772fcadfd
fix(boards): Remove duplicate VID/PID from boards.txt and add default CDC/JTAG board (#9717)
* fix(boards): boards must define unique VID/PID

Also adds a hidden board with the default VID/PID of USB CDC/JTAG in order to always show that in IDE when ESP32 CDC/JTAG device is connected

* fix(boards): Skip test for the generic board

* Trigger board test

* fix(boards): Make discovery work on IDE2
2024-05-29 13:00:07 +03:00
Brent Picasso
10a48f52e8
Addition (3rd_party_board): Add board support for Autosport Labs ESP32-CAN-X2 development board (#9683)
* add board support for Autosport Labs ESP32-CAN-X2 development board

* change(board-support): Add board support for Autosport Labs ESP32-CAN-X2 development board

* change(board-support) - remove entries that are already globally defined

* change(board-support) rename board name

* change(board-support) switch ASL-CAN-X2 to ASL_CAN_X2

* change(board-support) fix formatting, correct USB VID/PID to match our own product

* Update variants/aslcanx2/pins_arduino.h

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>

* Update variants/aslcanx2/pins_arduino.h

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>

---------

Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
2024-05-29 07:42:45 +03:00
Tarosa
8091b7a77c
feat(3rd_party_board):Add GPIO pin mappings for M5Stack CamS3 Unit and select OPI PSRAM by default (#9688)
* feat(camera): Add GPIO pin numbers for M5Stack CamS3 Unit

* docs(troubleshooting): Update guide for M5UnitCamS3 PSRAM configuration

* fix(): Remove QSPI option from M5Stack CamS3

* ci(pre-commit): Apply automatic fixes

* fix(): Make OPI PSRAM option as default

* fix(): Revert troubleshooting addition

---------

Co-authored-by: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-05-27 16:34:24 +03:00
Luca Burelli
d164df89de
fix: remove "programmer.default" from Nano ESP32 (#9666)
Setting programmer.default has unfortunately multiple effects:
- sets the tick by default in the Tool menu in the IDE (which was the
  expected behavior),
- forces the CLI to use the specified programmer every time an upload is
  attempted (which is confusing users).

For this reason, it is better to remove the "programmer.default" setting
from the board definition and let the user choose the programmer in the
IDE menus, as it was before.
2024-05-22 13:59:07 +03:00
ZY
82c36a2fcc
feat: add support for WeAct Studio ESP32C3 (#9653) 2024-05-21 16:45:26 +03:00
Alex
196e4409c7
updated ESPDuino with extra options (#9642) 2024-05-21 16:45:11 +03:00
Jan Procházka
50ef6f4369
Zigbee examples update (#9627) 2024-05-15 18:13:41 +02:00
Lucas Saavedra Vaz
da5c6ab9ae
Refactor repository with pre-commit hooks (#9515)
* Add Config

* Add Cache and remove pre-commit action

* [pre-commit.ci lite] apply automatic fixes

* Remove freeze

* Fix

* Update action

* Use latest stable Python 3 version

* Improve caching

* Improve cache tag

* Improve bot message

* fix(typos): Fix typos

* fix(typos): Fix more typos

* refactor(udp_server): Convert script from Python 2 to 3

* Fix whitespace

* Clang-format fixes

* Prettier fixes

* Black formatting

* Manual fixes

* Line endings

* Fix flake and make Vale manual

* Fix flake and reformat

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
2024-04-15 19:40:56 +03:00
Stanimir-Petev
6c6666adc2
ESP32-DevKit-LiPo PSRAM (#9451)
Added PSRAM menu (WROOM/WROVER option)
2024-04-03 10:34:13 +03:00
Ludovic BOUÉ
0523b94e1a
Add board definition for Wemos C3 Pico V1.0.0 - Lolin (#9442)
* Add board definition for Wemos C3 Pico V1.0.0 - Lolin

Add board definition for Wemos C3 Pico V1.0.0 - Lolin
https://www.wemos.cc/en/latest/c3/c3_pico.html

* Add board definition for Wemos C3 Pico V1.0.0 - Lolin (9442)

* feat(esp32): Add board definition for Wemos C3 Pico to boards.txt

* Wemos C3 Pico V1.0.0 - Lolin: Add SS pin to fix CI build

Wemos C3 Pico V1.0.0 - Lolin: Add SS pin to fix CI build

* Update boards.txt
2024-04-02 16:03:16 +03:00
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
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
DarkDuck
f27971ecb6
feat: add board support for Seeed XIAO ESP32C6 (#9330) 2024-03-05 10:54:59 +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
Jan Procházka
a5b3119e4e
fix(board): Change default upload speed (#9277) 2024-02-22 11:37:33 +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
698b78a538
feat: Rename Firebeetle ESP32 board definition (#9250) 2024-02-15 12:06:23 +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
Luca Burelli
7a22d64be2
Implement official Arduino IDE debugger API (#9116)
* refactor(on-release): improve platform.txt path replacements

Use regexs to replace all occurrences of `{runtime.platform.path}` with
the correct `{runtime.tools.*.path}`, regardless of directory separator,
and remove dependency on specific text around each path.

Note that the order has been changed to ensure that the longest paths
are replaced first, to avoid replacing parts of other paths.

* fix(platform): Windows backslash cleanups

Ensure Windows paths properly use a backslash as folder separator.

* feat(platform)!: use new Arduino Debug API

Implement sketch debugging according to the official Arduino
Platform Debug Specification [1].

The biggest improvement is that now `launch.json` can be fully
customized by the core (including the type of each entry),
so there is no need to copy files in the sketch folder.
In particular, `debug_custom.json` is not used anymore.

[1] https://arduino.github.io/arduino-cli/latest/platform-specification/#sketch-debugging-configuration

BREAKING CHANGE: This commit requires Arduino IDE 2.3.0 or later to use
the debugging features. Older versions will no longer be able to start
a debug session successfully.

* feat(debug): pass objdump path to resolve globals

Cortex-debug requires objdump to be in the same folder as gdb, or needs
the full path to the executable in the `launch.json` file. This is now
possible with the new debugging API.

* feat(debug): conditionally enable debug button on Nano ESP32

If the `debug.executable` variable is null or unset, the Debug button
appears grayed out. The new IDE also takes current parameters into
account, allowing to conditionally enable the Debug button only when
some conditions are met.

* on_release: allow single board packages

---------

Co-authored-by: Martino Facchin <m.facchin@arduino.cc>
2024-02-09 12:53:18 +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
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
Jan Procházka
609a9477c1
Fix Heltec boards build.board to be uppercase (#8958)
* uppercase heltec board names

* debug commit - will be reverted

* debug commit - will be reverted

* debug commit - will be reverted

* debug commit - will be reverted

* revert debug commits
2023-12-05 11:26:45 +02:00
Jan Procházka
158bcf692d
Add 120Mhz cpu frequency option to setCpuFrequencyMhz() (#8956)
* Allow setting 120MHz cpu freq

* add 120MHz to C6 frequency menu
2023-12-05 10:59:12 +02:00
Me No Dev
e4b701b516
Set M5Stack Core2 Flash Mode to QIO (#8937) 2023-11-29 15:49:27 +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
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
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
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
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