Commit Graph
100 Commits
Author SHA1 Message Date
Konstantin Kondrashov d4ad53aaef fix(docs): Update bootloader anti-rollback documentation 2026-07-16 13:44:55 +03:00
Konstantin Kondrashov 5344f4fb85 fix(bootloader_hooks): Fix log_v2 support in bootloader hooks
Closes https://github.com/espressif/esp-idf/issues/18482
2026-05-14 14:08:58 +03:00
Konstantin Kondrashov 352ec04926 fix(console): Avoid REPL task busy loop when linenoise returns NULL
When the REPL input backend is unavailable, linenoise() may return NULL
immediately. esp_console_repl_task() currently retries without yielding,
which can make the console_repl task spin continuously.

For USB Serial/JTAG console this can happen when the REPL is started
without an attached USB host. Since the REPL task has priority 2, this
can starve lower-priority tasks, prevent app_main from continuing after
esp_console_start_repl(), and trigger the task watchdog due to IDLE not
running.

Add a small delay before retrying when linenoise() returns NULL.

Closes https://github.com/espressif/esp-idf/issues/18485
2026-05-14 11:01:39 +03:00
Konstantin Kondrashov 7d5df005d2 fix(test_apps): Increase CONFIG_PARTITION_TABLE_OFFSET to 0x9000
Fix some test apps that have a partition table offset of 0x8000,
which left no room for the bootloader for some chips.
2026-05-13 10:29:04 +03:00
Konstantin Kondrashov ce467787a9 feat(bootloader): Support recovery bootloader for ESP32P4/C61 2026-05-13 10:28:58 +03:00
Konstantin Kondrashov 7a45d611e4 feat(efuse): Adds efuse calibration field for esp32c5 2026-05-07 16:00:29 +03:00
Konstantin Kondrashov ae11eba923 fix(freertos): fix riscv pxEndOfStack offset alignment
Closes https://github.com/espressif/esp-idf/issues/18256
2026-05-01 15:50:29 +03:00
Konstantin Kondrashov 7d560140d4 fix(xtensa): use LBEG/LCOUNT names in zol macros 2026-05-01 12:46:26 +03:00
Konstantin Kondrashov 5ea2823c7c fix(esp32): Fix access to MALLOC_CAP_IRAM_8BIT byte array in loop
The Xtensa load/store handler did not properly handle 8/16-bit
memory access to IRAM regions configured with MALLOC_CAP_IRAM_8BIT
(and CONFIG_ESP32_IRAM_AS_8BIT_ACCESSIBLE_MEMORY=y) from a loop
(LBEG/LEND/LCOUNT) context. This caused the loop to exit after
the first access, instead of continuing to iterate as intended.

Closes https://github.com/espressif/esp-idf/issues/14127
2026-05-01 12:46:26 +03:00
Konstantin Kondrashov 1c94a566cb feat(hal): Adds half-word read/write checks for efuse 2026-05-01 12:21:23 +03:00
Konstantin Kondrashov 13d9b43701 feat(efuse): Adds efuse flash fields for esp32c2 2026-05-01 12:21:15 +03:00
Konstantin Kondrashov 5561482b37 feat(efuse): Adds efuse for ESP32-H2 revision 1.2 2026-05-01 12:17:57 +03:00
Konstantin Kondrashov 325ebb8021 feat(ulp): Improved ULP delay API accuracy and removed floating point operations
Closes https://github.com/espressif/esp-idf/issues/17494
Closes https://github.com/espressif/esp-idf/issues/16891
2026-04-30 15:17:34 +03:00
Konstantin Kondrashov 152febebab fix(esp32): Fix IRAM_AS_8BIT_ACCESSIBLE_MEMORY accessible from ISR1 2026-04-07 14:47:43 +08:00
Konstantin Kondrashov ceae7792bf fix(efuse): erase virtual blocks before burn in damaged-reading test
Some chip may have BLOCK3 in use so we need to erase it before test.
2026-03-09 13:30:53 +02:00
Konstantin Kondrashov 9d766de03e fix(app_update): Fix tests for app_update on ESP32C5 2026-01-28 17:00:02 +02:00
Konstantin Kondrashov 3f5377a9b1 fix(efuse): Fix test where size of field was obtained incorrectly
When the eFuse field consists of single descriptor, its size can be
taken from struct member 'bit_count'. However, when the field consists of
multiple descriptors, the size should be obtained via esp_efuse_get_field_size()
2025-11-27 11:20:43 +05:30
Konstantin Kondrashov 997c8f50b5 fix(efuse): Adds missing SOC defines for ESP32-P4 v3 2025-11-27 11:20:43 +05:30
Konstantin Kondrashov dde1b3d791 fix(examples): Fix IPC ISR RISC-V test for ESP32-P4 rev3
Remove checks for MSTATUS and MCAUSE values that
may vary in different chip revisions.
2025-11-26 11:40:01 +05:30
Konstantin Kondrashov 0f22c814b9 feat(efuse): Adds calibration efuses for ESP32-P4 ECO5 2025-11-05 11:58:00 +02:00
Konstantin Kondrashov 37ebf6793e feat(ipc): Allow IPC recursion calls in esp_ipc_call 2025-10-20 14:25:24 +08:00
Konstantin Kondrashov 3ba0451b59 feat(efuse): Support efuses for ESP32-P4 ECO5 2025-10-16 14:09:01 +03:00
Konstantin Kondrashov a317db1622 fix(efuse): Fix enabling ROM secure download mode 2025-10-16 09:24:09 +03:00
Konstantin Kondrashov 4ae8b7d993 feat(efuse): Allow custom key purposes 2025-09-18 23:32:24 +08:00
Konstantin Kondrashov e9cae6c805 fix(ulp_riscv): Fix a delay function to handle small delays correctly
Fixed ulp_riscv_delay_cycles function

Closes https://github.com/espressif/esp-idf/issues/16891
2025-09-16 10:43:21 +03:00
Konstantin Kondrashov e73cbacd10 feat(esp_ringbuf): Fixes full no-split buffer frees item incorrectly
Closes https://github.com/espressif/esp-idf/issues/17466#issuecomment-3209730773
2025-09-16 10:19:33 +03:00
Konstantin Kondrashov c092365299 feat(docs): Update ESP32-C61 efuse documentation 2025-09-03 14:21:56 +03:00
Konstantin Kondrashov 5d946e6ec0 feat(efuse): Adds 3-bit field for wafer major version in ESP32-P4 2025-07-24 00:35:28 +08:00
Konstantin Kondrashov e72ea712e7 feat(esp_system): Adds Kconfigs to place code in IRAM 2025-07-24 00:34:58 +08:00
Konstantin Kondrashov 6f82f332fd fix(log): Fix bin log config available only for log version 2 2025-05-16 09:33:36 +03:00
Konstantin Kondrashov 0f7b621d47 refactor(partition_table): Refactoring of code style 2025-05-15 13:21:02 +03:00
Konstantin Kondrashov 72ae023a42 fix(partition_table): Ignore UTF-8 BOM bytes in csv file 2025-05-15 13:21:02 +03:00
Konstantin Kondrashov 3a6e5dba88 fix(efuse): Fix ESP32-C5 eFuse test for ECO2 2025-05-13 09:16:57 +03:00
Konstantin Kondrashov 3a72305e50 feat(efuse): Support efuses for ESP32-C5 ECO2 2025-05-09 09:29:31 +03:00
Konstantin Kondrashov 81c08911f0 feat(unity): Adds unit test ordering by file path and line number
Closes https://github.com/espressif/esp-idf/issues/15529
2025-04-24 13:16:05 +03:00
Konstantin Kondrashov 204046e799 feat(log): Add binary logging support 2025-04-23 15:46:34 +08:00
Konstantin Kondrashov 33633a5024 fix(esp_common): Fix DRAM_DMA_ALIGNED_ATTR for P4 2025-04-22 18:02:16 +03:00
Konstantin Kondrashov 82276fc918 feat(docs): Adds ULP main documentation page 2025-04-21 13:20:54 +03:00
Konstantin Kondrashov 44983e6496 fix(ulp): Fix accumulation of wakeup cause bits in ULP
Closes https://github.com/espressif/esp-idf/issues/15794
2025-04-18 12:14:07 +03:00
Konstantin Kondrashov d889031504 feat(soc): Adds core_num definition for Linux target
Closes https://github.com/espressif/esp-idf/issues/15758
2025-04-15 18:54:33 +03:00
Konstantin Kondrashov 917adbb171 fix(efuse): Adds missing efuses fields for ESP32-H4 2025-03-12 17:19:50 +08:00
Konstantin Kondrashov 5417edbe24 fix(efuse): Fix Coverity warning for destroy_block func 2025-03-07 16:44:22 +08:00
Konstantin Kondrashov 038d99f3c5 feat(efuse): Generate efuse source files for ESP32-H4 2025-02-26 09:50:11 +02:00
Konstantin Kondrashov 8155e60edf feat(esp_ringbuf): Update ring buffer doc
Closes https://github.com/espressif/esp-idf/issues/15298
2025-02-06 17:44:14 +02:00
Konstantin Kondrashov dbfb2489b4 fix(docs): Fixes log doc after review 2025-01-08 14:46:53 +08:00
Konstantin Kondrashov b37218ce1a feat(docs): Updates the log doc adding log v2 2025-01-08 14:46:53 +08:00
Konstantin Kondrashov b994f33f51 feat(log): Updates timestamp APIs 2025-01-08 14:46:53 +08:00
Konstantin Kondrashov bc46512ad5 feat(log): Make the buffer log API available to bootloader 2025-01-08 14:46:53 +08:00
Konstantin Kondrashov a5bc08fb55 feat(log): Use esp_log func in all LOG macros 2025-01-08 14:46:53 +08:00
Konstantin Kondrashov 820a73f4cc feat(espefuse): Adds efuses for esp32h2 eco5
- Support efuses that are not present in the main efuse table
2024-12-30 15:56:48 +02:00
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
Konstantin Kondrashov ad38ba16dd fix(bootloader_support): Fix overflowed constant in process_segment 2024-12-05 15:10:27 +08:00
Konstantin Kondrashov 5a245a389b fix(bootloader_support): Fix overflowed constant in bootloader_sha256_flash_contents 2024-12-05 15:10:27 +08:00
Konstantin Kondrashov 9d41a098d7 fix(esp_system): Fix structurally dead code in esp_ipc.c ipc_task 2024-12-05 15:10:27 +08:00
Konstantin Kondrashov d9265a3f88 feat(log): Update esp_log_buffer 2024-12-03 18:03:06 +08:00
Konstantin Kondrashov 9f2b892512 feat(log): Move LOG_FORMAT macros out of esp_log.h 2024-12-03 18:03:06 +08:00
Konstantin Kondrashov fa3b26bbc3 feat(log): Use ESP_LOG_LEVEL_LEN in cache tag_log_level 2024-12-03 18:03:06 +08:00
Konstantin Kondrashov 21f7309a52 feat(esp_rom): Adds esp_rom_cvt func for logging and rom_vprintf 2024-12-03 18:03:06 +08:00
Konstantin Kondrashov b445e38bf5 feat(log): Move esp_log_write APIs out of esp_log.h 2024-12-03 18:03:06 +08:00
Konstantin Kondrashov 864d9ed46c fix(spi_flash): Fix Test esp_flash_write 2024-11-25 17:12:25 +02:00
Konstantin Kondrashov 724ed52209 fix(examples): Fix closing port in pytest_otatool 2024-11-22 07:32:25 +02:00
Konstantin Kondrashov 3318e0accd feat(pthread): Adds set/get sched param funcs
Closes https://github.com/espressif/esp-idf/issues/14821
Closes https://github.com/espressif/esp-idf/issues/8594
2024-11-12 17:23:03 +08:00
Konstantin Kondrashov 52f14f344d feat(partition_table): Support recovery bootloader subtype 2024-11-12 17:22:53 +08:00
Konstantin Kondrashov 816a0da0fd feat(bootloader): Adds bootloader anti rollback configs 2024-11-08 13:53:24 +02:00
Konstantin Kondrashov bb329c4e53 feat(bootloader): Move rollback configs into a separate menu 2024-11-07 19:25:58 +02: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 70b652052e feat(efuse): Adds 3 bit for PSRAM_CAP efuse field 2024-11-04 17:27:53 +02:00
Konstantin Kondrashov 37b600124f feat(efuse): Adds efuse ADC calib data for ESP32-C61 2024-11-01 23:08:53 +08:00
Konstantin Kondrashov 7397c159cb feat(efuse): Adds efuse ADC calib data for ESP32-C5 2024-11-01 23:08:53 +08:00
Konstantin Kondrashov 5b1891c2fa feat(efuse): Adds efuse ADC calib data for ESP32-P4 2024-11-01 23:08:53 +08:00
Konstantin Kondrashov 8c4f576f99 feat(partition_table): Support primary subtypes partitions 2024-10-31 13:16:01 +02:00
Konstantin Kondrashov 949fc7f2c9 fix(examples): Fix pytest_otatool for C2
Test for C2 has to be run with flash_4mb
2024-10-29 11:59:52 +02:00
Konstantin Kondrashov d4c35b3db3 Merge branch 'ci/fix_flash_enc_wifi_test' into 'master'
fix(examples): Fix flash_enc_wifi test in pytest_simple_ota

See merge request espressif/esp-idf!34047
2024-10-11 00:42:29 +08:00
Konstantin Kondrashov 0592bb6888 fix(examples): Fix flash_enc_wifi test in pytest_simple_ota 2024-10-09 12:39:43 +03:00
Konstantin Kondrashov 6cad62594a Merge branch 'feature/adds_new_part_types_subtypes' into 'master'
feat(partitions): Adds new partition types and subtypes for bootloader and partition_table

See merge request espressif/esp-idf!33792
2024-10-09 15:32:34 +08:00
Konstantin Kondrashov d5f37b526d feat(partitions): Adds new partition types and subtypes for bootloader and partition_table 2024-10-01 14:22:22 +03:00
Konstantin Kondrashov 0db772efff Merge branch 'feature/new_esp_partition_api' into 'master'
feat(esp_partition): Adds new esp_partition APIs

See merge request espressif/esp-idf!33497
2024-10-01 16:25:00 +08:00
Konstantin Kondrashov 0d4787fb3a feat(spi_flash): Adds esp_flash_set_dangerous_write_protection 2024-09-26 08:42:19 +03:00
Konstantin Kondrashov 02d61c1c5a feat(esp_partition): Adds new esp_partition APIs 2024-09-26 08:42:12 +03:00
Konstantin Kondrashov 8f090be4cc Merge branch 'feature/refactoring_tests' into 'master'
refactor(examples): Refactoring and cleaning up OTA tests

See merge request espressif/esp-idf!33793
2024-09-25 19:49:11 +08:00
Konstantin Kondrashov d11b958209 refactor(examples): Refactoring and clean up OTA tests 2024-09-25 09:45:08 +03:00
Konstantin Kondrashov efc143bf10 Merge branch 'bugfix/fix_efuse_example_c2' into 'master'
fix(efuse): Fix efuse test examples

Closes IDF-11263

See merge request espressif/esp-idf!32575
2024-09-23 15:23:04 +08:00
Konstantin Kondrashov cb6e8209e5 feat(examples): Get offsets for efuses from espefuse.py 2024-09-20 16:28:25 +03:00
Konstantin Kondrashov fdac9bb814 fix(examples): Fix SB and FE tests for C5 and C61 2024-09-20 13:31:31 +03:00
Konstantin Kondrashov 637ee54a7f feat(examples): Increases partition table offset for P4 and C5 2024-09-19 21:31:40 +03:00
Konstantin Kondrashov dcd433e62c Merge branch 'bugfix/werror_hint' into 'master'
fix(tools): Fix a regular expression in hints.yml for Werror=

See merge request espressif/esp-idf!33625
2024-09-19 01:30:27 +08:00
Konstantin Kondrashov d1a00f5808 fix(tools): Fix a regular expression in hints.yml for Werror= 2024-09-18 16:33:47 +03:00
Konstantin Kondrashov efdc853b45 Merge branch 'feature/esp32c61_esp_timer_systimer' into 'master'
feat(esp_timer): Updates systimer and esp_timer for ESP32-C61

Closes IDF-9284, IDF-10955, IDF-9307, and IDF-9308

See merge request espressif/esp-idf!33439
2024-09-14 16:08:40 +08:00
Konstantin Kondrashov 1489514ee5 Merge branch 'contrib/github_pr_14469' into 'master'
fix(spinlock): comparison of integer expressions of different signedness (GitHub PR)

Closes IDFGH-13581

See merge request espressif/esp-idf!33272
2024-09-14 15:34:41 +08:00
Konstantin Kondrashov 48b1cd53d9 Merge branch 'bugfix/check_bootloader_size_with_sign' into 'master'
fix(esptool_py): Check the size of the bootloader + signature block

Closes IDFCI-1686

See merge request espressif/esp-idf!33417
2024-09-14 14:35:21 +08:00
Konstantin Kondrashov 7b0b80f46f fix(examples): Increases partition table offset for SBV2+FE test 2024-09-12 15:38:18 +08:00
Konstantin Kondrashov d2123cf531 fix(esptool_py): Check the size of the bootloader + signature block 2024-09-12 15:38:18 +08:00
Konstantin Kondrashov 3081a4ea49 feat(esp_timer): Updates systimer and esp_timer 2024-09-12 14:26:37 +08:00
Konstantin Kondrashov 00991f1bf5 Merge branch 'feature/esp32c61_re_enable_base_mac_address_test' into 'master'
feat(system): Re-enables the pytest_base_mac_address test for ESP32-C61

Closes IDF-10956

See merge request espressif/esp-idf!33441
2024-09-12 13:24:07 +08:00
Konstantin Kondrashov e8dab4c257 Merge branch 'feature/esp32c61_update_efuses' into 'master'
feat(efuse): Updates efuse table for esp32c61

Closes IDF-11057 and IDF-9282

See merge request espressif/esp-idf!33436
2024-09-12 01:20:20 +08:00
Konstantin Kondrashov 2af66dac25 Merge branch 'feature/ipc_isr_riscv_test_enable' into 'master'
feat(system): Enables test_ipc_isr_riscv for ESP32-P4

Closes IDF-8353

See merge request espressif/esp-idf!33440
2024-09-11 12:56:30 +08:00
Konstantin Kondrashov 75c917eef8 feat(system): Re-enables the pytest_base_mac_address test for ESP32-C61 2024-09-10 15:09:32 +03:00
Konstantin Kondrashov f555812975 feat(system): Enables test_ipc_isr_riscv for ESP32-P4 2024-09-10 15:02:42 +03:00
Konstantin Kondrashov 8539760e79 feat(efuse): Updates efuse table for esp32c61 2024-09-10 14:16:29 +03:00