arduino-esp32/tools
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
..
ide-debug Add support for the Arduino Nano ESP32 on 3.x branch (#8909) 2023-11-29 12:43:59 +02:00
partitions Add support for the Arduino Nano ESP32 on 3.x branch (#8909) 2023-11-29 12:43:59 +02:00
add_lib.sh Add Arduino lib to arduino as IDF component (#8721) 2023-10-06 15:49:03 +03:00
espota.exe [REDO] Update espota.py (#8797) 2023-10-25 14:59:08 +03:00
espota.py [REDO] Update espota.py (#8797) 2023-10-25 14:59:08 +03:00
gen_crt_bundle.py Add certificate bundle capability to WiFiClientSecure (#6106) 2022-01-19 15:42:36 +02:00
gen_esp32part.exe v2.0.0 Add support for ESP32S2 and update ESP-IDF to 4.4 (#4996) 2021-04-05 14:23:58 +03:00
gen_esp32part.py ESP-IDF v5.1 (#7733) 2023-10-05 14:54:25 +03:00
gen_insights_package.exe Fix gen_insights_package.py missing on release (#7650) 2023-01-06 16:50:43 +02:00
gen_insights_package.py Draft: Esp insights library support (#7566) 2022-12-22 17:42:56 +02:00
get.exe ESP-IDF v5.1 (#7733) 2023-10-05 14:54:25 +03:00
get.py ESP-IDF v5.1 (#7733) 2023-10-05 14:54:25 +03:00
platformio-build.py ESP-IDF v5.1 (#7733) 2023-10-05 14:54:25 +03:00