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
KonstantinKondrashov
77a8b1afef
efuse: Fix some tests, some CI chips may already have blocks written
2023-03-16 18:19:08 +08:00
KonstantinKondrashov
776a0e8a20
efuse(esp32c6): Replace PKG_VERSION BLK_VERSION_MINOR BLK_VERSION_MAJOR
2023-03-15 23:15:32 +08:00
KonstantinKondrashov
f80e74c983
efuse: Do not check key number
2023-03-14 21:08:52 +08:00
Konstantin Kondrashov
ed97d230c8
Merge branch 'ci/fix_ipc_tests' into 'master'
...
ipc: Mitigates and speeds up some ipc tests
Closes IDFCI-1638
See merge request espressif/esp-idf!22657
2023-03-10 21:48:00 +08:00
KonstantinKondrashov
ced3c50cd6
ipc: Mitigates and speeds up some ipc tests
...
Test ipc_isr two tasks use IPC function calls
Test multiple ipc_calls
Closes IDFCI-1638
2023-03-09 17:08:45 +08:00
KonstantinKondrashov
11815b324f
examples: Enables eFuse example tests for C6/H2/S3
...
Closes IDF-7011
2023-03-07 17:04:42 +08:00
Konstantin Kondrashov
cf68a4c136
Merge branch 'feature/esp_timer_uses_shared_isr' into 'master'
...
esp_timer: Adds TASK and ISR AFFINITY to core options
Closes IDFGH-9053
See merge request espressif/esp-idf!21923
2023-03-07 13:38:23 +08:00
KonstantinKondrashov
449e4bcae7
esp_timer: Adds AFFINITY options for task and ISR
...
These new settings allow you to balance the load on cores.
Closes: https://github.com/espressif/esp-idf/issues/10457
2023-03-02 20:08:02 +08:00
KonstantinKondrashov
a0408f7324
efuse: Updates efuse table for esp32c6
2023-02-28 17:13:21 +08:00
Konstantin Kondrashov
bfd2f6ed7c
Merge branch 'feature/adds_more_efuse_logs' into 'master'
...
efuse: Add more logging for virtual efuses
Closes IDFGH-9137
See merge request espressif/esp-idf!22399
2023-02-22 19:25:58 +08:00
KonstantinKondrashov
f3394c488a
efuse: Add support for esp32h2
2023-02-21 08:18:14 +00:00
KonstantinKondrashov
cabfc75c3c
efuse: FPGA testing must be run only manually
2023-02-21 08:18:14 +00:00
KonstantinKondrashov
9eed575764
efuse: Adds feature for efuse table, it can accept aliases in comments
...
DIS_TWAI, EFUSE_BLK0, 46, 1, [DIS_CAN DIS_CAN_123] Represents whether TWAI function ...
2023-02-21 08:18:14 +00:00
KonstantinKondrashov
c191e95300
ci: Run test_examples_efuse_with_virt_secure_boot_v2 only on ESP32 ECO3
2023-02-14 18:16:51 +08:00
KonstantinKondrashov
74f26b1e19
examples(efuse): Tests can be run on generic runners
2023-01-24 22:10:01 +08:00
KonstantinKondrashov
73d756d073
bootloader_support(esp32c2): Fix esp_secure_boot_cfg_verify_release_mode API
...
When FE and SB keys are set then:
- 128 low bits are read protected
- 128 hi bits are readable
2023-01-24 18:16:19 +08:00
KonstantinKondrashov
086766d83b
examples(efuse): Set CONFIG_SECURE_ENABLE_SECURE_ROM_DL_MODE
...
For efuse example test, we set CONFIG_SECURE_ENABLE_SECURE_ROM_DL_MODE=y
by default because in the python test we expect secure boot is in RELEASE mode
2023-01-24 17:09:15 +08:00
Konstantin Kondrashov
1d2469fbd1
Merge branch 'feature/ipc_uses_tasknotify' into 'master'
...
esp_ipc: ipc_task uses TaskNotify instead of Semaphore
Closes IDFGH-8795
See merge request espressif/esp-idf!21347
2023-01-11 15:56:29 +08:00
KonstantinKondrashov
df662c30e4
bootloader_support(esp32c2): Fix WR_DIS_RD_DIS burn for secure boot key
...
SB key is left readable, the corresponding bit in RD_DIS is unset.
We set write-protection for RD_DIS to ensure that the SB key is always readable.
2023-01-10 23:35:13 +08:00
KonstantinKondrashov
b7c28e92f1
doc: Update hmac article
2023-01-10 23:35:13 +08:00
KonstantinKondrashov
696f7495a0
security: Adds new APIs to check that all eFuse security features are enabled correctly
2023-01-10 23:35:13 +08:00
Konstantin Kondrashov
ffea490cc7
Merge branch 'feature/mac_crc' into 'master'
...
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then INVALID_CRC instead of abort
Closes IDFGH-8989
See merge request espressif/esp-idf!21789
2023-01-06 14:50:40 +08:00
Konstantin Kondrashov
708a9047e8
Merge branch 'feature/adds_funcs_to_read_efuses_from_cmake' into 'master'
...
esptool_py: Adds funcs to read eFuses from Cmake during a build stage
Closes IDFGH-8890
See merge request espressif/esp-idf!21585
2023-01-04 17:17:47 +08:00
KonstantinKondrashov
fd721c5b09
esptool_py: Adds funcs to read eFuses from Cmake during a build stage
...
Closes https://github.com/espressif/esp-idf/issues/10311
2023-01-04 00:30:38 +08:00
KonstantinKondrashov
185262c283
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then esp_efuse_mac_get_default returns INVALID_CRC instead of abort
...
Closes https://github.com/espressif/esp-idf/issues/10401
2022-12-29 05:23:18 +08:00