Commit Graph

304 Commits

Author SHA1 Message Date
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 b76ec06175 Add an explicit dependency on checkprogsize target for the final binary 2021-03-15 12:50:29 +02:00
valeros 71e52b50bc Properly declare buildfs target so it can be used for pre/post actions 2021-03-15 12:50:14 +02:00
valeros a147b3c858 Add missing argument to OTA tool when uploading SPIFFS image
Resolve #416
2021-02-03 16:10:34 +02:00
valeros 948e8810f2 Revert "Skip generated files when compiling project sources"
This reverts commit 01034c8ef7.
2021-01-28 17:04:43 +02:00
valeros 8d1b13f274 Allow overriding debug adapter speed using "debug_speed" option
Resolve #459, #463
2021-01-28 16:43:39 +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 649b3816a9 Merge branch 'feature/ESP-IDF-4.2' into develop 2021-01-25 17:39:41 +02:00
valeros 7e5f3f56fa Initial updates for ESP-IDF v4.2 2021-01-25 17:36:44 +02:00
valeros a57403c5bf Print error message when there is no SPIFFS section in partition file
Resolve #452
2021-01-21 13:46:21 +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
Ivan Kravets 7b932d161e Use "program_esp" command for new openOCD 2020-10-26 22:19:01 +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 0914eddbcc Don't cache data folder // Resolve #398 2020-09-07 12:56:44 +03:00
valeros 19cb8eb6d4 Update emitter for embedding files 2020-09-02 18:16:14 +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 ebadad145c Switch to new AddPlatformTarget API
Preparation for upcoming PIO Core 4.4
2020-06-10 17:16:17 +03:00
Valerii Koval 6887486310 Fix unwanted build step for nobuild target // Resolve #355, resolve #356 2020-06-01 17:29:48 +03:00
Valerii Koval 9f9987729e Improve searching for ESP-IDF service files 2020-05-23 22:15:56 +03:00
Valerii Koval 32d50ab593 Add preliminary support for ESP32-S2 2020-05-11 21:17:48 +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 856885e219 Allow overriding SPIFFS image name // Resolve #332 2020-04-27 17:19:21 +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 d3bbd633f7 Get rid of hardcoded upload speed value for mbctool 2020-03-18 15:06:42 +02:00
AlbertoPimpo 98df86243e Add initial support for briki core (#294) 2020-03-17 12:51:38 +02:00
valeros 4a1871dd26 Add sha256 hash only to application elf // Issue #272, #290
Bootloader uses the same ElfToBin builder, so a special emitter is used to add extra flag only for application image
2020-03-16 16:32:41 +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
Rohan Singh 2ee164a3cc Add ELF file hash to images generated by elf2image (#290) // Fixes #272. 2020-03-04 14:25:25 +02:00