Konstantin Kondrashov
c571ad1954
Merge branch 'feature/use_pri_macro_in_all_logs' into 'master'
...
feat(all): Use PRIx macro in all logs
Closes IDF-9088
See merge request espressif/esp-idf!29276
2024-03-12 20:26:16 +08:00
Konstantin Kondrashov
3f89072af1
feat(all): Use PRIx macro in all logs
2024-03-12 11:15:53 +02:00
Konstantin Kondrashov
43c604f145
Merge branch 'feature/move_efuse_related_inits_into_component' into 'master'
...
feat(efuse): Move efuse-related init steps into the component
Closes IDF-8759 and IDF-8761
See merge request espressif/esp-idf!28422
2024-03-04 17:34:44 +08:00
KonstantinKondrashov
f9800e0726
feat(efuse): Move efuse-related init steps into the component
2024-03-01 21:07:03 +02:00
Konstantin Kondrashov
9a5d6c844c
Merge branch 'feature/efuse_destroy_block' into 'master'
...
feat(efuse): Adds destroy_block API
Closes IDF-8354
See merge request espressif/esp-idf!29200
2024-03-01 15:51:20 +08:00
Konstantin Kondrashov
b123f62b78
feat(efuse): Adds destroy_block API
2024-02-28 14:27:08 +02:00
Konstantin Kondrashov
11d44e82eb
Merge branch 'feature/efuse_esp32p4_add_new' into 'master'
...
feat(efuse): Adds new efuses for esp32p4
See merge request espressif/esp-idf!29085
2024-02-27 15:37:39 +08:00
Konstantin Kondrashov
0d90a91e12
Merge branch 'bugfix/esp_intr_free' into 'master'
...
fix(esp_hw_support): Fix esp_intr_free when task has no core affinity
See merge request espressif/esp-idf!27328
2024-02-22 18:58:10 +08:00
Konstantin Kondrashov
b8e2342bf8
Merge branch 'bugfix/bootloader_flash_update_size' into 'master'
...
fix(bootloader_support): Adds bootloader_flash_update_size() for the rest chips
Closes IDFGH-12123
See merge request espressif/esp-idf!29049
2024-02-22 15:49:22 +08:00
Konstantin Kondrashov
281031e24d
feat(efuse): Adds new efuses for esp32p4
2024-02-21 12:45:31 +02:00
KonstantinKondrashov
eeeebdf1cd
fix(esp_hw_support): Fix esp_intr_free when taks has no core affinity
...
Closes https://github.com/espressif/esp-idf/issues/12608
2024-02-21 14:54:32 +08:00
Konstantin Kondrashov
1253ab6e27
Merge branch 'feature/move_esp_timer_related_inits_into_component' into 'master'
...
feat(esp_timer): Move esp_timer-related init steps into the component
Closes IDF-8755
See merge request espressif/esp-idf!28664
2024-02-20 16:49:31 +08:00
Konstantin Kondrashov
d348258f2c
fix(test_apps): Fix coredump_uart_bin_crc.test_hw_stack_guard_cpu0 test
2024-02-19 19:21:40 +08:00
Konstantin Kondrashov
49ba674fb5
feat(esp_timer): Move esp_timer-related init steps into the component
2024-02-19 19:21:40 +08:00
Konstantin Kondrashov
9ffafd53b2
fix(bootloader_support): Adds bootloader_flash_update_size() for the rest chips
...
Closes https://github.com/espressif/esp-idf/issues/13179
2024-02-14 17:41:20 +02:00
Konstantin Kondrashov
07980dba2f
Merge branch 'feature/secure_boot_dev_approach' into 'master'
...
feat(bootloader_support): Support SB-on app can do OTA on SB-off chip
Closes IDFGH-12079
See merge request espressif/esp-idf!29027
2024-02-14 15:11:52 +08:00
Konstantin Kondrashov
9b0eefee73
feat(bootloader_support): Support SB-on app can do OTA on SB-off chip
...
Closes: https://github.com/espressif/esp-idf/issues/13139
2024-02-12 17:27:50 +02:00
Konstantin Kondrashov
8d558a0ea7
Merge branch 'feature/update_config_wdt_desc' into 'master'
...
feat(bootloader): Update WDT Kconfig description
Closes IDFGH-11913 and IDFGH-7850
See merge request espressif/esp-idf!28568
2024-01-31 18:27:49 +08:00
Konstantin Kondrashov
c69466b0b3
Merge branch 'feature/esp_timer_reenable_test_on_p4' into 'master'
...
feat(esp_timer): Re-enable tests on ESP32P4
Closes IDF-8979
See merge request espressif/esp-idf!28365
2024-01-31 15:49:22 +08:00
KonstantinKondrashov
c40afaf4ad
feat(doc): Update the WDT article
...
Closes https://github.com/espressif/esp-idf/issues/12995
2024-01-31 15:19:17 +08:00
Konstantin Kondrashov
2b909f99d5
feat(esp_timer): Re-enable tests on ESP32P4
...
esp_timer example test requires Light Sleep support.
2024-01-30 13:39:23 +02:00
Konstantin Kondrashov
4daaa94593
Merge branch 'feature/cleanup_rom_efuse_header' into 'master'
...
change(all): Clearing unused efuse rom headers
See merge request espressif/esp-idf!27109
2024-01-26 20:30:44 +08:00
Konstantin Kondrashov
51e9cd4884
Merge branch 'bugfix/efuse_test_apps_for_p4' into 'master'
...
fix(efuse): Fix test_apps for esp32p4
Closes IDFCI-1972
See merge request espressif/esp-idf!28675
2024-01-24 21:44:20 +08:00
Konstantin Kondrashov
5bede51ec8
fix(efuse): Fix test_apps for esp32p4
2024-01-24 11:25:08 +02:00
KonstantinKondrashov
b471d9d22c
change(all): Clearing unused efuse rom headers
2024-01-22 18:02:55 +02:00
Konstantin Kondrashov
261651fc19
Merge branch 'feature/efuse_update' into 'master'
...
feat(efuse): Adds new efuses for H2 and C6 chips
See merge request espressif/esp-idf!27672
2024-01-20 03:10:44 +08:00
Konstantin Kondrashov
fdae1c6a28
Merge branch 'feature/efuse_reenable_test_on_p4' into 'master'
...
feat(efuse): Re-enable test on ESP32P4
See merge request espressif/esp-idf!28361
2024-01-17 16:49:49 +08:00
KonstantinKondrashov
452a78de4a
feat(efuse): Re-enable test on ESP32P4
2024-01-17 00:56:00 +08:00
KonstantinKondrashov
ba0842a552
feat(efuse): Adds new efuses for esp32c6
2024-01-16 17:46:50 +08:00
KonstantinKondrashov
8802e4d77d
feat(efuse): Adds new efuse for esp32h2
2024-01-16 17:46:50 +08:00
Konstantin Kondrashov
e2b537550d
Merge branch 'feature/improve_cmake_msg' into 'master'
...
feat(tools): Improves a cmake message for updating git submodules
See merge request espressif/esp-idf!27859
2023-12-13 16:50:21 +08:00
KonstantinKondrashov
8001fabfbe
feat(tools): Improves a cmake message for updating git submodules
...
Closes https://github.com/espressif/esp-idf/issues/12776
2023-12-12 16:00:04 +08:00
KonstantinKondrashov
b366dad79b
fix(hal): Fix incorrect behavior of hal_memcpy
...
Closes https://github.com/espressif/esp-idf/issues/12489
2023-11-03 23:36:37 +08:00
Konstantin Kondrashov
c13e41ae18
Merge branch 'feature/memalign_internal_external_as_malloc' into 'master'
...
fix(heap): memalign respect malloc_alwaysinternal_limit (PR)
Closes IDFGH-11209
See merge request espressif/esp-idf!26409
2023-11-02 13:59:32 +08:00
Konstantin Kondrashov
a304cc230e
Merge branch 'feature/esp32h2_adds_adc_calib_efuses' into 'master'
...
feat(efuse): Adds efuse ADC calibration data for ESP32H2
See merge request espressif/esp-idf!26305
2023-10-25 15:58:24 +08:00
Konstantin Kondrashov
e19504a9c1
Merge branch 'feature/enable_multicore_unicore_tests_for_esp32p4' into 'master'
...
feat(tools): Enables unicore_bootloader test for ESP32P4
Closes IDF-7692
See merge request espressif/esp-idf!26035
2023-10-12 17:35:26 +08:00
Konstantin Kondrashov
c15a2d23c5
Merge branch 'ci/enable_ipc_isr_tests' into 'master'
...
fix(examples): Enable ipc_isr tests on CI
Closes IDF-8273
See merge request espressif/esp-idf!26298
2023-10-10 19:19:23 +08:00
KonstantinKondrashov
a2802ef121
feat(tools): Enables unicore_bootloader test for ESP32P4
2023-10-10 11:11:32 +00:00
KonstantinKondrashov
cd64b228b1
fix(esp_hw_support): Return deep sleep APIs to the original behavior
...
Closes https://github.com/espressif/esp-idf/issues/12359
2023-10-09 22:19:22 +08:00
Konstantin Kondrashov
3166056078
Merge branch 'bugfix/log_mixing_at_startup' into 'master'
...
fix(esp_system): Fixes mixing logs when two cores use esp_rom_printf
Closes IDF-7891
See merge request espressif/esp-idf!25996
2023-10-05 21:06:14 +08:00
KonstantinKondrashov
071d1cf865
feat(efuse): Adds efuse ADC calibration data for ESP32H2
2023-10-04 16:00:01 +08:00
KonstantinKondrashov
ccb90e3d4a
fix(examples): Enable ipc_isr tests on CI
2023-10-03 23:06:17 +08:00
KonstantinKondrashov
28b8a5d9b4
fix(esp_system): Fix mixing logs, remove early info logs for 2nd CPU
...
Fixes mixing logs when two cores use esp_rom_printf
2023-10-02 12:50:40 +00:00
Konstantin Kondrashov
ecf4968e1c
Merge branch 'feature/esp32p4_support_ipc' into 'master'
...
feat(esp_system): Support IPC_ISR for ESP32P4
Closes IDF-7769
See merge request espressif/esp-idf!25812
2023-09-19 13:26:52 +08:00
KonstantinKondrashov
7a878bdc50
feat(esp_system): Support IPC_ISR for ESP32P4
2023-09-15 23:38:12 +08:00
Konstantin Kondrashov
82cb4d5836
Merge branch 'feature/esp32p4_efuse' into 'master'
...
feat(efuse): Support eFuses for ESP32P4
Closes IDF-7512 and IDF-7759
See merge request espressif/esp-idf!25923
2023-09-13 19:43:49 +08:00
Konstantin Kondrashov
054d4943c5
Merge branch 'feature/esp32p4_update_systimer' into 'master'
...
feat(esp_timer): Support systimer for ESP32P4
Closes IDF-7486 and IDF-7487
See merge request espressif/esp-idf!25688
2023-09-13 19:13:39 +08:00
Konstantin Kondrashov
cbdb799b6f
feat(esp_timer): Support systimer for ESP32P4
2023-09-13 19:13:38 +08:00
KonstantinKondrashov
b29f6d5a40
feat(efuse): Support eFuses and doc for ESP32P4
2023-09-12 17:58:17 +08:00
Konstantin Kondrashov
2557513fb5
Merge branch 'bugfix/esp32p4_usage_clic_int_thresh_reg' into 'master'
...
fix(freertos): Use INTERRUPT_CURRENT_CORE_INT_THRESH_REG for esp32p4
See merge request espressif/esp-idf!25840
2023-09-08 22:43:22 +08:00
KonstantinKondrashov
25c7a59e31
fix(freertos): Use INTERRUPT_CURRENT_CORE_INT_THRESH_REG for esp32p4
2023-09-07 15:25:35 +08:00
KonstantinKondrashov
3b440adfab
fix(doc): Fix incorrect description for xts_key_length_256 efuse
2023-08-31 04:06:47 +08:00
KonstantinKondrashov
c09d823b6a
change(efuse): Update eFuses for esp32p4 chip
2023-08-09 19:33:35 +08:00
Konstantin Kondrashov
a12c06367f
Merge branch 'ci/test_verify_image' into 'master'
...
fix(bootloader_support): Fix memory leak for unit tests
Closes IDFCI-1754 and IDFCI-1755
See merge request espressif/esp-idf!24870
2023-08-09 13:44:22 +08:00
KonstantinKondrashov
f07fcbed8d
fix(examples): Fix example build errors caused by the deep_sleep funcs are returnable
2023-07-21 13:58:20 +08:00
KonstantinKondrashov
28aec9594a
fix(app_update): Fix CI test_switch_ota by increasing deepsleep
...
It increases the deepsleep time from 2000 to 20000.
2000 is too small for esp32-s3 chip.
2023-07-21 13:58:20 +08:00
KonstantinKondrashov
95626b9401
fix(bootloader_support): Fix memory leak for unit tests
2023-07-19 21:25:31 +08:00
Konstantin Kondrashov
92d84b468a
Merge branch 'bugfix/esp_timer_prevents_delay_for_isr_dispatch_callbacks' into 'master'
...
fix(esp_timer): Fix delay in ISR dispatch callbacks
Closes IDFGH-10379 and IDFGH-10380
See merge request espressif/esp-idf!24599
2023-07-17 15:20:19 +08:00
KonstantinKondrashov
5693e0188b
refactor(esp_timer): Remove duplicate code and move it to a common file
2023-07-13 15:51:55 +08:00
Konstantin Kondrashov
dd08ec095b
Merge branch 'feature/add_new_pkg_and_flash_efuses_esp32c3' into 'master'
...
feat(efuse): Add flash efuses for esp32c3
Closes IDF-7609
See merge request espressif/esp-idf!24685
2023-07-13 00:57:58 +08:00
Konstantin Kondrashov
9708952fa8
Merge branch 'feature/add_new_pkg_and_flash_psram_efuses' into 'master'
...
feat(efuse): Add flash&psram efuses for S3
Closes IDF-7439
See merge request espressif/esp-idf!24624
2023-07-13 00:57:14 +08:00
KonstantinKondrashov
b95dfc67fa
feat(efuse): Add flash efuses for esp32c3
2023-07-11 19:49:17 +08:00
KonstantinKondrashov
cf46ef954f
feat(efuse): Add flash&psram efuses for S3
2023-07-11 19:41:40 +08:00
Konstantin Kondrashov
f29cff3243
Merge branch 'bugfix/systick_loop' into 'master'
...
freertos: Fix Systick stuck when systimer was not reset
Closes WIFI-6052
See merge request espressif/esp-idf!24306
2023-06-21 15:28:16 +08:00
KonstantinKondrashov
42fa005bf7
freertos: Fix Systick stuck when systimer was not reset
...
Relates to OTA update for C3 chips from IDF version 4.3 to v5.0 and above
2023-06-19 21:57:02 +08:00
Konstantin Kondrashov
c350c3c504
Merge branch 'feature/cleanup_wrong_log_use' into 'master'
...
all: Removes unnecessary newline character in logs
Closes IDFGH-10197
See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
Konstantin Kondrashov
ac188ad074
Merge branch 'bugfix/mac_ext_order_for_c6_h2' into 'master'
...
esp_hw_support: Change the byte order of MAC for IEEE802154 (C6 and H2 chips)
Closes IDF-6809
See merge request espressif/esp-idf!23988
2023-06-13 16:08:13 +08:00
KonstantinKondrashov
e72061695e
all: Removes unnecessary newline character in logs
...
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
Konstantin Kondrashov
f875978fb3
Merge branch 'bugfix/incorrect_time_after_ota' into 'master'
...
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around
Closes IDFGH-7930
See merge request espressif/esp-idf!23030
2023-06-09 00:30:52 +08:00
KonstantinKondrashov
f7dfd1f48e
mac_addr(C6 and H2): Fix byte order of MAC_EXT and change format of IEEE802154 MAC
...
The changes only related to C6 and H2 chips where CONFIG_SOC_IEEE802154_SUPPORTED=y.
For this case these APIs return 8 bytes
esp_efuse_mac_get_default() -> 8 bytes
esp_efuse_mac_get_custom() -> 8 bytes
esp_read_mac(..., ESP_MAC_IEEE802154) -> 8 bytes
The rest cases len is 6 bytes
2023-06-08 23:11:32 +08:00
KonstantinKondrashov
cb6e2133f0
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around
...
The commit fixes the case:
If variables in RTC RAM have been moved around by the linker,
they will be filled with garbage data. Any reset other than OTA would work fine
because the variables would still be initialized from the initial bootup.
So now system time will be valid even after OTA.
Closes https://github.com/espressif/esp-idf/issues/9448
2023-06-08 21:59:21 +08:00
KonstantinKondrashov
56b966829d
docs: update CN trans for flash-encryption
2023-05-26 16:06:49 +08:00
KonstantinKondrashov
3550a2d185
efuse(c6): Adds adc calib efuses
2023-05-23 20:34:29 +08:00
Konstantin Kondrashov
1cf46bd0f0
Merge branch 'doc/update_efuse_info' into 'master'
...
doc: Update all efuse info files
Closes IDF-5919
See merge request espressif/esp-idf!23824
2023-05-23 14:47:52 +08:00
KonstantinKondrashov
aef81cceee
efuse(H2): Adds RF Calibration Information
2023-05-22 08:40:26 +00:00
KonstantinKondrashov
8817760628
doc: Update efuse info files
2023-05-19 15:13:21 +08:00
Konstantin Kondrashov
1d25057a24
Merge branch 'feature/iram_optimization_app_elf_sha256_2' into 'master'
...
esp_app_format: IRAM space optimization
Closes IDF-7131
See merge request espressif/esp-idf!23572
2023-05-18 15:29:31 +08:00
KonstantinKondrashov
ce602a36f9
ci: Relax a check in pytest_gptimer_example
2023-05-17 23:40:59 +08:00
KonstantinKondrashov
b605404b06
esp_app_format: IRAM space optimization
2023-05-17 23:40:59 +08:00
Konstantin Kondrashov
d5619aefc8
Merge branch 'feature/update_doc_for_bootloader_pin_levels' into 'master'
...
docs: Adds a note that a GPIO level of test app boot is configurable
Closes DOC-5019
See merge request espressif/esp-idf!23702
2023-05-16 13:59:19 +08:00
Konstantin Kondrashov
adf3142880
docs: Adds a note that a GPIO level of test app boot is configurable
2023-05-16 13:59:19 +08:00
KonstantinKondrashov
69838403f9
esp_bootloader_format: Adds bootloader description structure to read bootloader version from app
...
Closes https://github.com/espressif/esp-idf/issues/8800
Closes https://github.com/espressif/esp-idf/issues/9132
2023-05-10 21:39:52 +08:00
KonstantinKondrashov
e48130246a
hal: Explicit setting of efuse time settings
...
EFUSE_PWR_ON_NUM in C3 has default value = 0x2880, now = 0x3000
2023-05-10 00:41:35 +08:00
Konstantin Kondrashov
6132abe970
Merge branch 'feature/add_missed_settings_for_bootloader_reserve_rtc_mem_for_c6_h2' into 'master'
...
esp_system (C6 & H2): Enables BOOTLOADER_RESERVE_RTC_MEM feature for bootloader
See merge request espressif/esp-idf!23347
2023-04-24 14:50:47 +08:00
KonstantinKondrashov
a622ac43eb
esp_system (C6 & H2): Enables BOOTLOADER_RESERVE_RTC_MEM feature for bootloader
...
This option reserves an area in RTC FAST memory for the following features:
- "Skip image validation when exiting deep sleep"
- "Reserve RTC FAST memory for custom purposes"
- "GPIO triggers factory reset"
2023-04-21 21:09:10 +08:00
KonstantinKondrashov
91fcced0fb
esp_timer: Adds IRAM_ATTR for esp_timer_restart and esp_timer_is_active
...
Closes https://github.com/espressif/esp-idf/issues/10522
Closes https://github.com/espressif/esp-idf/issues/10859
2023-04-19 17:42:38 +08:00
KonstantinKondrashov
5b00d1f396
efuse: Update efuses for esp32 esp32c2 esp32c3 esp32s2 esp32s3
2023-04-04 22:32:32 +08:00
KonstantinKondrashov
3d695b9768
efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
...
eFuse module has a hardware bug.
It is related to ESP32-C3, C6, S3, H2 chips:
- BLOCK9 (BLOCK_KEY5) can not be used by XTS_AES keys.
For H2 chips, the BLOCK9 (BLOCK_KEY5) can not be used by ECDSA keys.
S2 does not have such a hardware bug.
2023-04-04 18:45:48 +08:00
Konstantin Kondrashov
6c5a7da77c
Merge branch 'feature/unicore_bootloader_can_run_multicore_app' into 'master'
...
esp_system: Fix case when multicore app can not be run if bootloader is unicore
Closes IDFGH-9336
See merge request espressif/esp-idf!22664
2023-03-29 21:56:26 +08:00
KonstantinKondrashov
444c27e4e6
test_apps: Test multicore app can be run by unicore bootloader
2023-03-29 03:47:55 +08:00
KonstantinKondrashov
a3232e4a5b
bootloader: Adds an option to leave DIS_CACHE writeable
2023-03-29 00:02:25 +08:00
KonstantinKondrashov
199e5abbf3
efuse: Adds WR_DIS.DIS_CACHE for esp32 and WR_DIS.DIS_ICACHE for rest chips
...
C2 chip does not have such fields
2023-03-29 00:02:24 +08:00
KonstantinKondrashov
b950f5de8d
efuse: Fix handling aliases in efuse_table_gen
2023-03-29 00:02:24 +08:00
KonstantinKondrashov
723b2e86e5
security: write-protect DIS_ICAHE and DIS_DCACHE
...
Closes IDF-5177
2023-03-29 00:02:24 +08:00
KonstantinKondrashov
975c138fad
esp_system: Do not rely on bootloader cache settings, do cache settings unconditionally at startup app
...
It makes multicore app runnable by unicore bootloader
Closes https://github.com/espressif/esp-idf/issues/10714
2023-03-28 23:17:16 +08:00
Konstantin Kondrashov
a6a1a54922
Merge branch 'feature/efuse_tests_for_h2_ecdsa' into 'master'
...
efuse: Enable and adjust some efuse tests for H2 chip
See merge request espressif/esp-idf!22836
2023-03-25 04:47:49 +08:00
KonstantinKondrashov
3a31a4c885
efuse: Enable and adjust some efuse tests for H2 chip
2023-03-24 17:21:32 +00:00
KonstantinKondrashov
88ef0d8aeb
efuse: Fix load_efuses_from_flash when FE is on
...
esp_efuse_utility_load_efuses_from_flash() read emul_efuse
as an encrypted partition, but that is not correct,
this partition was never encrypted.
Need to read it as not encrypted partition.
Fxed the case: If FE is already on then EFUSE VIRT mode can work with it.
Closes https://github.com/espressif/esp-idf/issues/10929
2023-03-23 16:20:43 +08:00
KonstantinKondrashov
efbafb873b
bootloader_support: Adds API to detect Factory reset has happened
...
Closes https://github.com/espressif/esp-idf/issues/10753
2023-03-22 02:21:54 +08:00
KonstantinKondrashov
017f55862d
examples: Remove a duplicate Kconfig option
2023-03-22 02:15:22 +08:00