valeros
e2f552f87a
Better handling of IDF source files when preparing build env
2024-03-27 16:00:53 +02:00
valeros
62697f2848
Add functionality to skip installation of IDF's Python deps
2024-03-21 15:52:17 +02:00
valeros
62f67a613c
Update ESP-IDF to v5.2.1
...
Resolve #1326
2024-03-21 15:51:44 +02:00
Alastair D'Silva
271f4175f7
Use GCC wrapped ar & ranlib to enable LTO ( #1329 )
...
LTO shifts compilation to the final link, allowing for more aggressive optimisations.
AR & RANLIB need to use their gcc equivalents to enable this, and will otherwise behave identically if LTO data is not in the objects.
Signed-off-by: Alastair D'Silva <alastair@d-silva.org >
2024-03-20 14:59:09 +02:00
Jason2866
159f06dc87
Add new option f_boot ( #1331 )
2024-03-18 14:03:31 +02:00
Nicklas Börjesson
0f5033b2fc
Bump idf-component-manager to 1.5.2 ( #1321 )
2024-03-06 16:31:13 +02:00
valeros
f3953f8a6d
Properly handle ULP sources in incremental builds
...
Resolves #1320
2024-03-04 16:45:34 +02:00
valeros
1b8305584b
Remove generic compiler flags from global ASM scope
...
This way assembly sources that don't require preprocessing (.s)
will be run without generic compiler flags.
Issue #1314
2024-02-22 14:03:26 +02:00
Ivan Kravets
a7e7d01f3a
Drop support for abandoned Briki boards
2024-02-16 18:02:36 +02:00
Jason2866
8fe5e12b1f
Implement get_board_f_image ( #1308 )
2024-02-15 15:00:27 +02:00
Valerii Koval
ecb0953333
Print explicit path to missing partition table
...
Resolve #1304
2024-02-12 14:36:28 +02:00
valeros
bd7dd2cd60
IDF: Get rid of deprecated "pkg_resources" dependency
...
Resolves #1277
2024-01-17 14:26:11 +02:00
valeros
275f1170dd
Add a warning if there is a flash size mismatch with IDF config
2023-12-08 12:52:08 +02:00
valeros
89d7ed2085
Add optional MMU page size flag to elf2bin if it's configurable
2023-12-08 12:50:47 +02:00
valeros
ff6ec884d6
Properly handle precompiled static archives located outside IDF project root
...
Resolves #1230
2023-11-13 13:58:24 +02:00
valeros
4af2332a15
Add a warning if an IDF component doesn't register any source files
...
Issue #1180
2023-09-05 12:33:22 +03:00
valeros
36b7a18405
Add a warning about the latest GDB package integration
2023-08-31 16:36:07 +03:00
valeros
ceafaa7c17
Update dynamic partition offset calculation process
...
Resolves #1178
2023-08-30 17:32:34 +03:00
valeros
f8518b861b
Switch IDF projects to a standalone GDB packages
...
Note: This change requires PlatformIO Core >=6.1.11a2
2023-08-28 16:10:48 +03:00
valeros
bf5a65ba6b
Install chardet as fallback package for charset_normalizer on Darwin ARM64
2023-08-28 16:08:37 +03:00
valeros
682da88fe2
Delete obsolete comment
2023-08-28 16:08:37 +03:00
valeros
f1fdbc5838
Allow specifying custom application partition name // Issue #1166
...
This way developers can select an arbitrary partition which will be used
for dynamic memory checks.
2023-08-07 14:54:11 +03:00
Stijn Tintel
95e0a731cc
Initial support for ESP32-C6-DevKitC-1 ( #1054 )
...
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be >
2023-08-03 15:50:34 +03:00
valeros
bd031b8c99
IDF: Reduce time between consecutive builds by enabling implicit build cache
2023-08-03 13:56:50 +03:00
valeros
fc336a9b99
Update IDF to v5.1.0
2023-08-03 13:56:33 +03:00
valeros
07820cf6f4
Update dynamic memory calculation process
...
The order of partitions should also be taken into account as the factory partition may be
allocated for a bootloader (e.g. Adafruit's custom partition file with a UF2 bootloader) and
appear after ota_0 used for app
2023-08-02 13:00:27 +03:00
valeros
95125e2627
Update Arduino core to v2.0.11
...
- Added several new boards (including Nano ESP32) // Resolves #1162
- Added DFU upload method via dfu-util for the new Arduino Nano ESP32
- Updated IDF version to v4.4.5 for mixed Arduino/IDF projects
2023-08-01 19:38:55 +03:00
Valerii Koval
f1fce6c1a8
Improve dynamic memory size calculation // Resolves #1159
...
For better results a partition with either `factory` or `ota_0` subtype should be used instead of selecting the biggest partition size with the type `app`.
If both partitions are set, then the partition with the `factory` subtype is used by default.
2023-07-27 14:46:25 +03:00
valeros
26aa55aa95
Process "build_src_flags" option in IDF build script
...
Resolves #1146
2023-07-21 15:56:22 +03:00
valeros
ea405523d8
Remove unnecessary ULP binary dependency
2023-07-13 14:21:58 +03:00
valeros
28656548e2
Override default behavior of memory analysis feature
2023-07-13 14:20:47 +03:00
Valerii Koval
b4211e98af
Fix code indentation
2023-06-19 22:00:47 +03:00
Valerii Koval
e49e312162
Improve the process of installing Python deps for IDF
2023-06-19 21:30:18 +03:00
Valerii Koval
99362a481a
Lock precise versions of Python dependencies for IDF 5
...
Using loose constraints proved to be unsafe (e.g. latest pyparsing update v3.1.0)
2023-06-19 21:25:38 +03:00
Valerii Koval
131170f6c2
Lock "urllib3<2" because urllib3 v2.0 only supports OpenSSL 1.1.1+
...
Resolves platformio/platformio-core#4639
2023-05-25 21:01:33 +03:00
Valerii Koval
2988da9268
Better handling of macros exported from IDF
...
Issue #1080
2023-05-08 13:06:18 +03:00
Valerii Koval
da133384b5
Process internal Arduino libraries in mixed Arduino/IDF projects
...
Resolves #1080
2023-05-03 17:15:55 +03:00
Mahavir Jain
18d0ec2fe1
Add local cacert file containing "DST Root CA X3" to certificate bundle ( #1066 )
...
ESP-IDF reference change:
https://github.com/espressif/esp-idf/commit/5f646b1d43e5df2436e1c22bf4418dbf5c016485
Relevant:
https://github.com/espressif/esp-idf/issues/11077
2023-04-06 19:15:25 +03:00
Valerii Koval
48c4226e52
IDF: Propagate build flags for ASM files
...
Resolves #1048
2023-03-03 14:13:44 +02:00
Fredrik Kling
aa5beb4f1a
Expand OS vars in build.esp-idf.sdkconfig_path ( #995 )
2023-02-27 12:37:17 +02:00
Valerii Koval
8507dd8e7f
Better handling of ESP IDF Python dependencies
...
#1006 , #1007 , resolves #1013
Now IDF Python deps are installed in a pre-сreated virtual environment.
The name of the IDF venv contains the IDF version to avoid possible conflicts and
unnecessary reinstallation of Python dependencies in cases when Arduino
as an IDF component requires a different version of the IDF package and
hence a different set of Python deps or their versions
2023-01-31 21:51:01 +02:00
Valerii Koval
51ff51e9ef
Typo fix
2023-01-16 19:21:21 +02:00
Valerii Koval
783e8a9ad7
Better handling of Python deps for IDF
2023-01-16 14:22:17 +02:00
Jason2866
0158a727b9
Fix ULP RISCV toolchain file selection ( #993 )
2023-01-09 12:06:18 +02:00
Nedko Boshkilov
168fa22561
Sort ULP sources to prevent relocation errors ( #950 )
2023-01-09 11:46:35 +02:00
Valerii Koval
d0835e994c
Take into account board flash mode when converting elf to bin
2023-01-06 14:29:58 +02:00
Valerii Koval
ecc617e341
Add support for IDF v5.0
...
Resolves #979
2023-01-06 14:29:24 +02:00
Valerii Koval
26b5112bdc
Fix ULP package paths
2022-12-26 19:09:29 +02:00
Valerii Koval
2f2ddc728e
Normalize path in the "IDF_PATH" variable // Resolve #960
2022-12-01 13:43:11 +02:00
Valerii Koval
03d59c608b
Use the "adapter speed" option for OpenOCD
...
Issue #917
2022-09-27 12:30:15 +03:00