Commit Graph

715 Commits

Author SHA1 Message Date
Valerii Koval 2edc2b2581 Remove obsolete workaround for propagating debug configurations
Resolves #883 and similar issues with build targets that don't run the platform build scripts
2022-08-23 13:51:03 +03:00
Valerii Koval e58a222e44 Move the process of patching bootloader to the Arduino build script 2022-08-23 13:46:12 +03:00
Valerii Koval cdd0867de6 Update bootloader image headers before debugging or uploading via debug tools
This approach is less intrusive than merging the entire application into one binary
implemented in #006d64e8b268e479703a0aac7eed8bef1ebea587

In this implementation we safely copy the required bootloader binary to the
build directory, adjust the headers via esptoolpy and the "merge_bin" command
according to --flash-size and --flash-mode arguments.

Resolves #872
2022-08-15 17:59:36 +03:00
Valerii Koval bb2d073bf3 Don't automatically close issues that require package updates 2022-08-12 12:26:52 +03:00
Valerii Koval 358e84835d Allow overriding reset operation via project file
Resolve #874
2022-08-09 14:52:59 +03:00
Valerii Koval 940038601f Fix the flash mode value for Espressif ESP32-S3-DevKitC-1
Resolve #867
2022-08-02 22:45:14 +03:00
Valerii Koval e9863090c6 Merge tag 'v5.1.0' into develop
Bump version to 5.1.0
2022-07-31 22:16:09 +03:00
Valerii Koval a28daed18b Merge branch 'release/v5.1.0' 2022-07-31 22:16:09 +03:00
Valerii Koval b562f36df8 Bump version to 5.1.0 2022-07-31 22:15:56 +03:00
Valerii Koval 0ed9a8524b Update default flash size value in merging procedure 2022-07-30 22:50:59 +03:00
Valerii Koval 006d64e8b2 Merge firmware before flashing via OpenOCD
Arduino core v2.0.4 contains updated bootloader images that have innacurate default headers. This results in bootloops if firmware is flashed via OpenOCD (e.g. debugging or
uploading via debug tools). For this reason, before uploading or debugging we need to merge all binaries (firmware, bootloader, partitions, etc.) via esptoolpy so that
the image headers will be adjusted according to --flash-size and --flash-mode arguments.

Note that this behavior doesn't occur if uploading is done via esptoolpy, as esptoolpy  overrides the binary image headers before flashing.
2022-07-30 21:09:01 +03:00
Valerii Koval f2a5977c91 Properly propagate additional data to configure debug session
- Add extra data to "projenv" as well so that the extra data it can be overridden after the BuildProgram routine
- Use the new INTEGRATION_EXTRA_DATA env variable instead of IDE_EXTRA_DATA
2022-07-29 17:53:19 +03:00
Valerii Koval e66e12cc57 Add default nameOnDisk value for external CMake projects
Issue #863
2022-07-25 21:54:16 +03:00
Ivan Kravets 60537fbd6b Create stale.yml 2022-07-19 17:25:03 +03:00
Valerii Koval 4d0b78a9cb Add new boards
- Wemos D1 R32
- Seeed Studio XIAO ESP32C3
- DFRobot Firebeetle 2 ESP32-S3
2022-07-19 16:12:34 +03:00
Jiang Sheng cb3583813d Update for DFRobot ESP32 boards (#829)
* fix: correcting hardware config for firebeetle-32
* add: DFRobot Beetle 32C
2022-07-19 16:09:19 +03:00
sublettj 8e6633b43a Fix typo in name field for M5Stack (#853) 2022-07-19 16:00:22 +03:00
Daniel Egnor 768afe6283 add Adafruit Feather ESP32-S3 TFT board (#851) 2022-07-19 15:58:45 +03:00
Marc-Antoine Lalonde b06a0fa225 Add suport for Connaxio's Espoir (#827) 2022-07-19 15:56:06 +03:00
Valerii Koval bba9d55bab Update Arduino core to v2.0.4 2022-07-19 15:20:05 +03:00
Valerii Koval 019ee098c3 Propagate Arduino build flags to global scope for mixed IDF/Arduino projects
Resolve #848
2022-07-14 21:16:39 +03:00
Peter B d92c4783ed Update flash memory size for adafruit_feather_esp32s3 2022-07-04 12:03:46 +03:00
Valerii Koval db03cfd220 Merge branch 'release/v5.0.0' 2022-06-30 17:53:26 +03:00
Valerii Koval a1bb458f6f Merge tag 'v5.0.0' into develop
Bump version to 5.0.0
2022-06-30 17:53:26 +03:00
Valerii Koval 9fca05ed47 Bump version to 5.0.0 2022-06-30 17:53:09 +03:00
Valerii Koval 8e5d6fd1ca Fix flash size for ESP32-S3-DevKitC-1
Issue #837
2022-06-21 11:53:09 +03:00
Mitch Bradley 6b942d9a45 Better fix for esp32_exception_decoder missing space (#831)
Recent versions of ESP-IDF have a bug in which the Backtrace: line is
malformed.

Old/Good: Backtrace: 0xN:0xM 0xN:0xM 0xN:0xM ...
New/Bad:  Backtrace:0xN:0xM0xN:0xM 0xN:0xM ...

I issued https://github.com/espressif/esp-idf/pull/9138 against
ESP-IDF to fix the underlying problem, but it is unclear when or if
that PR will be accepted, especially since the monitor program in
ESP-IDF is immune to the problem.

By using a decoding technique similar to the one in ESP-IDF's monitor,
either backtrace format can be accepted.

Supersedes #687 , which does not quite work, in that it misses one of
the entries.
2022-06-16 11:54:00 +03:00
Valerii Koval 98aef9ba35 Update ESP-IDF USB example 2022-06-14 21:35:47 +03:00
Valerii Koval 7e76f687d7 Update mixed IDF/Arduino project examples 2022-06-14 19:38:12 +03:00
Valerii Koval 22140dda97 Update IDF CoAP example 2022-06-14 15:02:09 +03:00
Valerii Koval f1212d67ee Enable IDF framework for ESP32S3-based boards 2022-06-14 14:55:56 +03:00
Valerii Koval f84dc9a3c8 Add ESP-based debug probes
Resolve #828
2022-06-14 14:55:32 +03:00
Valerii Koval 08d00cf125 Update IDF package to v4.4.1 2022-06-14 14:54:39 +03:00
Valerii Koval bc284f7c6a Update IDF build script according to v4.4.1 2022-06-14 14:53:54 +03:00
Daniel Egnor 1728319ce5 Add hwids for OLIMEX ESP32 boards that use CH340 USB/serial converters (#830) 2022-06-14 14:49:08 +03:00
Andrew Metcalf d4bfc01d9a Support esp-idf 4.4 (#716)
Resolves #711
2022-06-14 14:45:19 +03:00
Valerii Koval f9cf6b9b36 Merge branch 'release/v4.4.0' 2022-05-31 19:38:02 +03:00
Valerii Koval 314a54f34d Merge tag 'v4.4.0' into develop
Bump version to 4.4.0
2022-05-31 19:38:02 +03:00
Valerii Koval aa57613587 Bump version to 4.4.0 2022-05-31 19:37:48 +03:00
Valerii Koval 3bff25083b Explicitly exit from build process when there is default IDF component
Resolve #823
2022-05-31 13:52:59 +03:00
Ivan Kravets b1b44fe902 Add compatibility with PIO Core 6.0 2022-05-27 18:52:15 +03:00
Ivan Kravets 609a87f8b5 Improve support for assembly programming 2022-05-27 18:46:16 +03:00
Ivan Kravets 9f8a221957 Minor fixes 2022-05-27 17:56:49 +03:00
Ivan Kravets 2b15a4eeee Add compatibility with PIO Core 6.0 2022-05-27 17:27:53 +03:00
Ivan Kravets 886f388e4d Improve support for assembly programming 2022-05-27 17:27:28 +03:00
Ivan Kravets de59b730a0 Remove unnecessary files 2022-05-27 16:17:38 +03:00
Valerii Koval 19dfe98323 Merge tag 'v4.3.0' into develop
Bump version to 4.3.0
2022-05-20 20:31:07 +03:00
Valerii Koval 79e8a27d22 Merge branch 'release/v4.3.0' 2022-05-20 20:31:06 +03:00
Valerii Koval ded0c0db06 Bump version to 4.3.0 2022-05-20 20:30:38 +03:00
Valerii Koval cca778e55a Temporarily disable the esp_usb_jtag debug interface 2022-05-20 20:28:25 +03:00