nilesh.kale
873fd18c5a
fix: add check to ensure OTA buffer size for 16-byte aligned
...
This commit added guide to, round off OTA written size to allowed
aignmnet when flash ecnryption enabled.
2025-10-07 11:19:35 +05:30
Peter Dragun
800f141f94
Merge branch 'feat/esptool_v5' into 'master'
...
Update esptool to v5: replace deprecated commands, documentation updates and cleanup
Closes IDF-12564
See merge request espressif/esp-idf!41176
2025-10-01 14:36:26 +08:00
Peter Dragun
e3198fff3c
feat: Update esptool to v5
2025-09-30 15:28:55 +02:00
Chen Chen
a4710cc206
refactor(driver): remove redundant driver dependencies
...
now the driver component only contains legacy code for i2c, twai and
touch sensor
2025-09-30 15:47:45 +08:00
Konstantin Kondrashov
dcf486359e
feat(log): Optimize log tag init for bin logging
2025-09-15 15:59:52 +03:00
Mahavir Jain
ce4ef7a2bf
cleanup: remove ota app descriptor source
...
Leftover from earlier cleanup commit 42914e01ee
2025-09-03 09:09:04 +05:30
Mahavir Jain
42914e01ee
feat: remove some deprecated APIs from 6.0 release
2025-08-20 14:20:37 +05:30
Marek Fiala
9d35d63651
feat(cmake): Update minimum cmake version to 3.22 (whole repository)
2025-08-19 14:44:32 +02:00
Darian Leung
5454499877
refactor: Use enum values for gpio pull up/down fields
...
Ensure that enum values are used When assigning `pull_up_en` and `pull_down_en`
fields of `gpio_config_t`. Helps avoid `invalid conversion` errors when
building those code snippets in C++.
2025-08-07 11:45:11 +08:00
Marius Vikhammer
bf84ab652a
change(test_utils): moved test_utils component to tools/test_apps/components/
2025-07-21 14:05:50 +08:00
Sudeep Mohanty
ef4d6462e2
refactor(esptool_py): Move flash target creation to project level and add utility functions
...
This commit refactors the esptool_py component to provide utility
functions for flash target management instead of creating the targets
directly. Flash target creation is now moved to the project level in
build.cmake file when idf_build_executable() runs.
The following changes were done in this commit:
- Added __esptool_py_setup_tools(), __esptool_py_setup_estool_py_args()
and __ensure_esptool_py_setup() functions to centralize esptool_py
setup.
- Added __esptool_py_setup_main_flash_target() which is called by
idf_build_executable() to create the flash targets.
- Updated esptool_py_flash_target(), esptool_py_custom_target() to
accept an optional FILENAME_PREFIX argument to enable creation of
build artifacts based on custom names.
- Create placeholder flash targets early in the build process when
idf_build_process() is called for components to add dependencies on
these targets.
- Moved app-flash target creation from esptool_py/CMakeLists.txt to
build.cmake.
- Added function description to esptool_py functions.
2025-07-10 11:26:28 +02:00
Konstantin Kondrashov
3a7c1a2e74
feat(bootloader): Bootloader OTA update with recovery bootloader feat
2025-06-12 18:47:33 +08:00
Nilesh Kale
996a9ca25f
fix(app_update): Do not change ota_seq when partition is the same
...
Revised logic to always update non-running otadata at the time of setting ota boot partition
Closes https://github.com/espressif/esp-idf/issues/14688
2025-05-21 11:33:03 +05:30
Xiao Xufeng
477af3b4a8
ci(mmap): enable mmap and XIP related cases for c5
2025-04-11 11:02:11 +08:00
Chen Jichang
6c4271d4bb
feat(esp32h4): disable unsupported build
2025-03-28 14:41:29 +08:00
igor.udot
daf2d31008
test: format all test scripts
2025-03-05 12:08:48 +08:00
gaoxu
5ef4f20778
feat(esp32h21): disable unsupported build test
2025-02-06 15:47:51 +08:00
nilesh.kale
5c5df89950
feat(esp_https_ota): added ota resumption feature
...
This commit enabled configurable OTA resumption feature in advanced ota example.
This resumes downloading OTA image from where it left off in case of
an error or reboot.
Closes https://github.com/espressif/esp-idf/issues/13127
2025-01-23 17:13:15 +05:30
Nebojsa Cvetkovic
ef1ee48773
feat(app_update): esp_ota_mark_app_invalid_rollback() without reboot
2025-01-09 15:04:01 +05:30
Konstantin Kondrashov
15870abd87
feat(app_update): Adds test for invalidating OTA data slot of last boot app
2024-12-21 13:08:00 +02:00
Konstantin Kondrashov
c9ea30e6c0
fix(app_update): Invalidate ota data slot of last boot app in esp_ota_begin
...
Closes https://github.com/espressif/esp-idf/issues/14808
2024-12-20 14:55:48 +02:00
gaoxu
64bbb53b8f
feat(esp32h21): introduce target esp32h21(stage 1)
2024-11-12 15:42:27 +08:00
Konstantin Kondrashov
97d150d69a
feat(app_update): OTA update bootloader, partition_table and other partitions
...
Passive app partition can be used as the staging partition where a new image is loaded.
Then copy it to the final partition.
Closes: https://github.com/espressif/esp-idf/issues/14195
Closes: https://github.com/espressif/esp-idf/issues/13824
2024-11-07 13:48:51 +02:00
Konstantin Kondrashov
02d61c1c5a
feat(esp_partition): Adds new esp_partition APIs
2024-09-26 08:42:12 +03:00
Sonika Rathi
82b1d5ed0d
Merge branch 'refactor/remove_spi_flash_include' into 'master'
...
refactor: remove dependency on spi_flash include for sector size
See merge request espressif/esp-idf!31392
2024-09-26 13:01:24 +08:00
Sonika Rathi
d5da858cd9
refactor: remove dependency on spi_flash include for sector size
2024-09-26 13:01:24 +08:00
Konstantin Kondrashov
d11b958209
refactor(examples): Refactoring and clean up OTA tests
2024-09-25 09:45:08 +03:00
Jiang Jiang Jian
945af68d74
Merge branch 'feature/esp32c61_light_sleep_support_stage_3' into 'master'
...
feat(esp_hw_support): esp32c61 sleep support (Stage 3: support system peripheral sleep retention)
Closes IDF-10384, IDF-10382, and IDF-11004
See merge request espressif/esp-idf!33298
2024-09-21 16:09:36 +08:00
Lou Tianhao
bc0404ae03
fix(ci): some actions taken to pass CI
2024-09-20 14:10:45 +08:00
Lou Tianhao
d9c15bb772
fix(ci): some actions taken to pass CI
2024-09-20 10:53:05 +08:00
Xiao Xufeng
436bcd6c06
ci(app_update): move test_apps to subfolder with a name
2024-09-14 10:19:30 +08:00
Xiao Xufeng
cdb9f2b098
ci(spi_flash): add tests for cache2phys with XIP
2024-09-14 10:19:30 +08:00
Alexey Lapshin
4c87af6359
fix(build): fix calloc warnings
2024-09-08 13:53:52 +07:00
wanckl
4e095f4b9f
ci(esp32c61): enable c61 generic target test
2024-09-02 19:26:12 +08:00
Lou Tianhao
4393343ac9
fix(ci): some actions taken to pass ci
2024-08-29 14:15:41 +08:00
igor.udot
8691672f03
ci: replace pytest function
2024-07-23 14:07:31 +08:00
wanlei
3cf069c7d8
feat(esp32c61): disable unsupported build test
2024-07-16 16:06:19 +08:00
laokaiyao
cb22b8aaf7
ci(esp32c5): enable c5 target test
2024-07-02 16:45:49 +08:00
harshal.patil
3eb6487bb5
fix(bootloader_support): Make esp_flash_encrypt.h independent of spi_flash_mmap.h header
2024-05-13 16:54:45 +05:30
Lucian Popescu
37d9a3c183
docs(ota): Document additional errs returned by esp_ota_write
...
Squashed commit of the following:
commit f47a894231168298f9763642e7d421ebd5e7dc46
Author: Lucian Popescu <lucian.popescu187@gmail.com >
Date: Fri May 10 10:44:17 2024 +0300
Update correct codes for esp_ota_write
Co-authored-by: Harshit Malpani <65167938+hmalpani@users.noreply.github.com >
commit ea407fb82ec75a2e666713607e8892f0ffa91556
Author: Lucian Popescu <lucian.popescu187@gmail.com >
Date: Wed May 8 14:06:37 2024 +0300
docs(ota): Document additional errs returned by esp_ota_write
2024-05-12 18:51:08 +08:00
Harshit Malpani
3048ca3222
feat: Enable test app for app_update component
...
Enable all the test cases in test app of app_update component.
Earlier, due to some config not enabled, not all the test cases ran.
2024-04-29 14:07:14 +05:30
Harshit Malpani
12c92bf822
feat: Enable app_update test app for ESP32P4
2024-04-17 11:21:34 +05:30
laokaiyao
65b1fd33d3
ci(esp32c5mp): disable the unsupported tests
2024-04-07 12:13:29 +08:00
Marius Vikhammer
1f7c666701
ci(test_apps): limit dependencies for misc test_apps
...
Only pull in direct dependencies for the test apps, reducing build time
as well making it possible for CI to determine if the test should run or not
when dependencies are changed.
2024-02-18 16:01:58 +08:00
Armando
3c5a4f9e8a
ci(p4): added todo jira for disabled tests on p4
2024-01-04 09:36:38 +08:00
Armando
1ab742b3c3
ci(p4): enable esp32p4 target test
2024-01-04 09:34:55 +08:00
schottj
7b10d02201
fix(app_update): fixed undeclared variable 'ret' in esp_ota_ops.c
2023-12-20 14:58:06 +05:30
harshal.patil
fe293dfd83
feat(bootloader_support): Make esp_secure_boot_verify_sbv2_signature_block() function public
...
Closes https://github.com/espressif/esp-idf/issues/12717
2023-12-11 18:50:55 +05:30
kohait00
fc295ec021
fix(app_update): avoid erasing an extra sector than the actual required size
...
OTA update used to fail if `firmware_size == partition_size`, because the code was trying to
erase one additional sector beyond the space reserved for the firmware partition.
This commit fixes the problem and OTA update can work if the firmware
size exactly matches the allocated partition size.
Closes https://github.com/espressif/esp-idf/pull/12460
2023-11-03 09:30:55 +05:30
Zim Kalinowski
fa1a3ce0b5
Merge branch 'refactor/components_linux_compatible' into 'master'
...
Exclude all currently incompatible components from Linux build
Closes IDF-8318 and IDF-5996
See merge request espressif/esp-idf!25598
2023-10-18 20:17:49 +08:00