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