Commit Graph

306 Commits

Author SHA1 Message Date
gaoxu ee04b19643 feat(adc): support ADC calibration on ESP32P4 2026-02-03 16:52:04 +08:00
Konstantin Kondrashov 3dfbea0203 fix(efuse): Fix enabling ROM secure download mode 2025-10-16 09:28:32 +03:00
harshal.patil 42ae31d5bb fix(bootloader_support): Reorder write disabling ECDSA_CURVE_MODE 2025-09-30 15:00:11 +05:30
Jiang Jiang Jian 8c78bb1de1 Merge branch 'feature/p4_add_3bit_for_wafer_major_v5.3' into 'release/v5.3'
feat(efuse): Adds 3-bit field for wafer major version in ESP32-P4 (v5.3)

See merge request espressif/esp-idf!40515
2025-09-28 17:47:06 +08:00
Konstantin Kondrashov 67c9e8dd9f feat(efuse): Allow custom key purposes 2025-09-18 23:36:40 +08:00
Konstantin Kondrashov 645f0be984 feat(efuse): Adds 3-bit field for wafer major version in ESP32-P4 2025-09-18 23:32:59 +08:00
nilesh.kale 19fcf0e073 feat: enabled ECDSA-P192 support for ESP32H2 2025-06-24 15:03:59 +05:30
Jiang Jiang Jian 5f18a9711b Merge branch 'feature/esp32h2_eco5_ecc_v5.3' into 'release/v5.3'
feat(ecc): enable ECC constant time mode for ESP32-H2 ECO5 (v5.3)

See merge request espressif/esp-idf!36585
2025-02-28 10:50:18 +08:00
C.S.M 77e69fa036 feat(temperature_sensor): Add temperature sensor calibration support 2025-02-26 17:54:36 +08:00
Mahavir Jain e97c51ea24 feat(ecc): enable ECC constant time mode for ESP32-H2 ECO5 2025-02-19 19:15:17 +05:30
Konstantin Kondrashov ae7857416e feat(espefuse): Adds efuses for esp32h2 eco5
- Support efuses that are not present in the main efuse table
2025-01-23 13:29:36 +08:00
Marek Fiala 2b0407eb2a feat(tools): Enforce utf-8 encoding with open() function 2025-01-02 16:48:43 +01:00
morris e3a628e1db Merge branch 'feature/efuse_s3_adds_psram_cap_bit_v5.3' into 'release/v5.3'
feat(efuse): Adds 3 bit for PSRAM_CAP efuse field (v5.3)

See merge request espressif/esp-idf!35121
2024-12-09 10:20:57 +08:00
Konstantin Kondrashov 524dbd1fee feat(efuse): Adds 3 bit for PSRAM_CAP efuse field 2024-11-28 17:04:53 +02:00
Konstantin Kondrashov a593f41b25 feat(efuse): Adds efuse ADC calib data for ESP32-C61 2024-11-25 17:05:48 +02:00
Konstantin Kondrashov 427e8e5fe4 feat(efuse): Adds efuse ADC calib data for ESP32-C5 2024-11-22 08:10:15 +02:00
Konstantin Kondrashov b4ebb04184 feat(efuse): Adds efuse ADC calib data for ESP32-P4 2024-11-22 08:10:15 +02:00
Chen Jichang 84f024478c fix(ci): rerun pre-commit to fix readme files 2024-09-27 11:12:55 +08:00
Konstantin Kondrashov b7cbf82c14 feat(efuse): Updates efuse table for esp32c5 2024-09-11 23:12:46 +08:00
Konstantin Kondrashov ce822125e7 feat(efuse): Updates efuse table for esp32p4 2024-09-11 23:12:46 +08:00
Konstantin Kondrashov 0b72099bb9 feat(efuse): Updates esp_efuse_get_pkg_ver 2024-08-19 11:32:32 +03:00
laokaiyao 951bdd70a2 fix(ci): fix the readme check of c5 mp 2024-07-30 15:40:19 +08:00
Konstantin Kondrashov 14d93dea75 feat(soc): Update efuse related soc_caps for c61 and c5 (MP/beta3) 2024-06-20 12:23:05 +08:00
wanlei 535afdd7f4 feat(esp32c61): ci enable header check, fix c61 build 2024-03-27 19:39:59 +08:00
Konstantin Kondrashov 25bc10e143 feat(efuse): Update efuses for C5 and C61 2024-03-21 18:37:46 +02:00
wanlei c50cbfe2ed feat(esp32c61): new chip add rom and efuse support 2024-03-15 15:16:14 +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 281031e24d feat(efuse): Adds new efuses for esp32p4 2024-02-21 12:45:31 +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 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
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
laokaiyao d0a8f3e5c4 feat(esp32c5): support esptool on esp32c5 beta3 2024-01-09 13:11:11 +08:00
laokaiyao 11e19f40b9 feat(esp32c5): support to build hello world on esp32c5 beta3 2024-01-09 13:11:11 +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
laokaiyao a48f4760d2 feat(esp32c5): add system related supports 2024-01-02 11:17:11 +08:00
Mahavir Jain 7bb29086df docs: add ECDSA peripheral chapter for H2/P4
- Add ECDSA peripheral chapter and instructions to program efuse key block
- Update security guide for ECDSA peripheral mention for device identity
- Link with ESP-TLS guide about using ECDSA peripheral in TLS connection
2023-11-15 09:42:26 +05:30
Mahavir Jain 94bf4710fa fix(esp32h2): program use_hardware_k efuse bit for ECDSA key purpose
In ESP32-H2, the ECDSA peripheral by default uses the TRNG (hardware)
generated k value but it can be overridden to software supplied k.
This can happen through by overriding the `ECDSA_SOFTWARE_SET_K` bit
in the configuration register. Even though the HAL API is not exposed
for this but still it could be achieved by direct register
programming. And for this scenario, if sufficiently random k is not
supplied by the software then it could posses a security risk.

In this change, we are unconditionally programming the efuse
`ESP_EFUSE_ECDSA_FORCE_USE_HARDWARE_K` bit during startup security
checks itself. Additionally, same is ensured in the `esp_efuse_write_key`
API as well. This always enforces the hardware k mode in the ECDSA
peripheral and ensures strongest possible security.
2023-11-15 09:42:26 +05:30
Armando d3be2541de fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
By design, it's 12 dB. There're errors among chips, so the actual
attenuation will be 11dB more or less
2023-11-06 18:55:49 +08:00
gaoxu 843e07b2d5 docs(adc): added adc calibration doc on h2 2023-11-02 11:33:06 +08:00
gaoxu 0ea0b39725 feat(adc_cali): Add ADC calibration support for ESP32H2 2023-10-31 11:29:30 +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