Commit Graph

99 Commits

Author SHA1 Message Date
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
valeros 637992878c Updated sdkconfig files should trigger CMake to regenerate project
Resolve #588
2021-07-22 17:50:41 +03:00
valeros 6c30a4a4b5 Disable global IDF_TOOLS_PATH variable when invoking IDF build system
Resolve #555
2021-06-23 18:33:52 +03:00
valeros 46b0e6126a Add env-specific suffix to distinguish "sdkconfig" files
Resolve #539
2021-06-23 18:33:52 +03:00
valeros b073ed8440 Initial support for ESP32C3
Resolve #568, resolve #497
2021-06-23 18:33:52 +03:00
valeros 5384f152f1 Initial support for ESP-IDF v4.3
Resolve #566, resolve #471, resolve #561
2021-06-23 18:33:32 +03:00
valeros 4cb06337d6 Expose original version of ESP-IDF for IDF_VER variable // Resolve #558 2021-06-07 14:33:03 +03:00
valeros 5806b6eee4 Add warning about default variant when Arduino used as a IDF component 2021-05-27 11:36:14 +03:00
valeros 948e8810f2 Revert "Skip generated files when compiling project sources"
This reverts commit 01034c8ef7.
2021-01-28 17:04:43 +02:00
valeros 01034c8ef7 Skip generated files when compiling project sources
These files are handled separately in embed_files.py
2021-01-28 16:40:18 +02:00
valeros 14e3f31d2c Build tinyusb lib only when it's explicitly enabled
Resolve #474
2021-01-25 22:56:29 +02:00
valeros 7e5f3f56fa Initial updates for ESP-IDF v4.2 2021-01-25 17:36:44 +02:00
valeros a58a358fdc Exit with error message when partition table is missing for ESP-IDF 2020-12-15 18:37:30 +02:00
valeros 115f98151e Dynamically configure partition offsets for ESP-IDF 2020-12-02 13:10:37 +02:00
valeros cd0af53d4b Force ESP-IDF build system to use proper Python // Issue #11 2020-11-27 15:26:55 +02:00
valeros 3688b7b79d Allow custom offsets for bootloader and partitions in ESP-IDF
Issue #11
2020-09-15 13:12:59 +03:00
valeros 95b9ddc8fb Install windows-curses for menuconfig 2020-09-02 16:01:42 +03:00
valeros bfca46a29b Delete unsupported platform target 2020-09-02 15:27:37 +03:00
valeros ff997d3677 Update support for ESP-IDF v4.1 2020-09-01 21:26:55 +03:00
Valerii Koval 6d85d3b29b Set default value for flash_size field // Resolve #364 2020-06-12 15:51:21 +03:00
Valerii Koval fa2083e542 Update menuconfig target according to the latest API 2020-06-12 15:40:22 +03:00
Valerii Koval 9f9987729e Improve searching for ESP-IDF service files 2020-05-23 22:15:56 +03:00
Valerii Koval d53f95bf54 Add basic support for external CMake arguments // Issue #339
Might be useful when a user wants to modify project configuration
settings: set cache entries or enable developer warnings specific
to CMake
2020-04-30 18:15:40 +03:00
Valerii Koval bd2d34c6b3 Fail if default main component is not specified in platformio.ini 2020-04-27 19:05:18 +03:00
Valerii Koval 960b4deef3 Properly detect modification of CMakeLists.txt files 2020-04-27 17:37:01 +03:00
Valerii Koval 9d5cc62409 Dynamically detect the main component name // Resolve #330
CMake uses the folder name as component target
2020-04-27 17:35:32 +03:00
Valerii Koval ddc18c01b4 Pass source files to ESP-IDF build system via GLOB
This method is much more convenient for users as they won't
need to edit CMakeLists.txt if a new file added to their project
2020-04-27 17:25:45 +03:00
Valerii Koval 86fbfad669 Fix possible name for CMake target with project sources 2020-04-17 00:03:15 +03:00
Valerii Koval 5e0f9e47b0 Add missing includes from project library for ESP-IDF // Resolve #316 2020-04-16 22:03:13 +03:00
Valerii Koval 537ced1c24 Improve handling project source files for ESP-IDF
Use AddBuildMiddleware helper instead of overriding SRC_FILTER
2020-04-16 22:01:56 +03:00
Valerii Koval 844b75687f Improve processing of default flags for ESP-IDF build environment
Add a dummy component with different file extensions so
CMake will generate comprehensive code model
2020-04-16 21:57:06 +03:00
Valerii Koval 707ae55074 Fix possible issue with Arduino component for ESP-IDF // Resolve #319
CMake fails to generate code model if this path contains @ symbol
2020-04-16 21:43:27 +03:00
Valerii Koval 2d50d7b841 Add support for PSRAM memory with ESP-IDF // Resolve #254 2020-04-16 16:25:52 +03:00
valeros f923797a30 Move modified ElfToBin builder to ESP-IDF build script 2020-03-19 12:07:58 +02:00
valeros 8a380ea69a Improvements for ESP-IDF build script
Skip header files when collecting sources for default CMakeLists.txt
Add warning about obsolete project structure
Use ElfToBin builder from bootloader env
2020-03-16 16:05:27 +02:00
valeros 55929f2d65 Handle possible windows path slashes in CMakeLists.txt file 2020-03-06 16:10:46 +02:00
valeros b0adc088ad Update autogenerated CMakeLists.txt template for ESP-IDF projects 2020-03-06 15:41:26 +02:00
valeros 80663faa6e Add default include dirs to global scope for ESP-IDF 2020-03-05 23:58:46 +02:00
Valerii Koval 0f7d2de7e2 Initial support for ESP-IDF v4.0 (#297) 2020-03-05 11:18:07 +02:00
valeros 4c2b33894f Refactor ldscript files processing 2020-01-29 15:38:58 +02:00