Commit Graph

138 Commits

Author SHA1 Message Date
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
Nicklas Börjesson 0f5033b2fc Bump idf-component-manager to 1.5.2 (#1321) 2024-03-06 16:31:13 +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
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 bf5a65ba6b Install chardet as fallback package for charset_normalizer on Darwin ARM64 2023-08-28 16:08:37 +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 26aa55aa95 Process "build_src_flags" option in IDF build script
Resolves #1146
2023-07-21 15:56:22 +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
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 0abe8d30e1 Update ESP-IDF to v4.4.2
Resolve #906, resolve #889
2022-09-13 15:12:59 +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
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
Valerii Koval bc284f7c6a Update IDF build script according to v4.4.1 2022-06-14 14:53:54 +03:00
Andrew Metcalf d4bfc01d9a Support esp-idf 4.4 (#716)
Resolves #711
2022-06-14 14:45:19 +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 609a87f8b5 Improve support for assembly programming 2022-05-27 18:46:16 +03:00
Valerii Koval 6295224609 Refactor processing of IDF linker fragments
Resolve #760
2022-05-09 23:20:59 +03:00
Valerii Koval 20e866c74f Compile IDF bootloader with optimizations by default
By default the size of bootloader is limited to 0x2000 bytes,
in debug mode the footprint can be easily grow beyond this limit

Issue #793
2022-05-06 12:52:39 +03:00
Valerii Koval 6ef0330d7f Use GetBuildType for detecting debug mode 2022-04-22 18:34:19 +03:00
Valerii Koval cefdfb4793 Properly detect debug mode in IDF build script 2022-04-22 18:28:24 +03:00
Valerii Koval 581c7d0325 Add support for Arduino v2.0
Resolve #619, resolve #652, resolve #591
2022-04-14 14:40:12 +03:00
valeros c00f016f75 Typo fix 2021-11-09 15:13:58 +02:00
valeros 5e6f2bf70b Use legacy toolchain for mixed IDF/Arduino projects 2021-11-09 14:16:39 +02:00
valeros 0e104fd9e1 Update ULP build process according to IDF v4.3.1 2021-11-09 13:48:42 +02:00
valeros 93b71b66e7 Update ESP-IDF to v4.3.1
Resolve #655, resolve #635
2021-11-05 14:54:41 +02:00
valeros 5001ac45c7 Properly handle ESP-IDF package version for custom packages
Resolve #593
2021-08-17 15:59:17 +03:00