Commit Graph

438 Commits

Author SHA1 Message Date
Jiang Jiang Jian
d026b92c75 Merge branch 'bugfix/fix_c6_wrong_pwdet_register_v5.1' into 'release/v5.1'
pwdet: fix pwdet wrong base address on c6 h2 (v5.1)

See merge request espressif/esp-idf!25025
2023-07-31 10:22:57 +08:00
Island
6fb014d535 Merge branch 'feature/add_ble_multi_conn_example_with_vs_hci_5.1' into 'release/v5.1'
feat(ble): Added ble examples for multiple connections

See merge request espressif/esp-idf!24814
2023-07-28 15:35:54 +08:00
Armando
fcb3ae32cb fix(pwdet): fix pwdet wrong base address on c6 h2 2023-07-27 12:30:44 +08:00
wuzhenghui
5f6f20ea30 fix(esp_pm): fix bad apb_max_freq for 26mhz esp32c2 2023-07-25 13:54:24 +08:00
wuzhenghui
e0e4642ff8 Revert "fix(esp_pm): Constrains the minimum frequency of APB_MAX when the modem is working"
This reverts commit 9158cba846.
2023-07-25 13:51:37 +08:00
wuzhenghui
9158cba846 fix(esp_pm): Constrains the minimum frequency of APB_MAX when the modem is working 2023-07-15 01:56:55 +08:00
Shen Weilong
2d1544b863 feat(ble): Added ble examples for multiple connections 2023-07-14 19:01:11 +08:00
Jiang Jiang Jian
d7604b580a Merge branch 'bugfix/fix_some_wifi_bugs_230713_v5.1' into 'release/v5.1'
Wifi: Backport some wifi bugs 230713 to v5.1(Backport v5.1)

See merge request espressif/esp-idf!24753
2023-07-14 03:33:03 +08:00
muhaidong
2f56bd8aac external coex: rename coex gpio struct field names 2023-07-13 10:37:53 +08:00
Armando
6acc155516 fix(regi2c): wrong ADC_CALI_PD_WORKAROUND on c6, h2 2023-07-12 17:28:01 +08:00
Jiang Jiang Jian
9fb1b59054 Merge branch 'bringup/esp32h2_light_sleep_for_rebase_backport_v5.1' into 'release/v5.1'
esp32h2: support light_sleep(backport v5.1)

See merge request espressif/esp-idf!24697
2023-07-12 13:39:49 +08:00
morris
a0e8f5aa03 Merge branch 'contrib/github_pr_10811_5.1' into 'release/v5.1'
i2c: introduce chip specific cmd register number(backport v5.1)

See merge request espressif/esp-idf!24694
2023-07-12 11:15:03 +08:00
Hanno
c2b8a1d95c i2c: introduce chip specific cmd register number
Merges https://github.com/espressif/esp-idf/pull/10811
2023-07-11 14:55:46 +08:00
Lou Tianhao
2c9a2a76f7 example: bringup light sleep example for esp32h2 2023-07-11 13:58:08 +08:00
Lou Tianhao
3b40ce4d9b Power Management: fix REGDMA clock issue when wake up form light sleep 2023-07-11 12:03:59 +08:00
Lou Tianhao
e5e0a0918a Power Management: support MODEM domain powered down in light sleep for esp32h2 2023-07-11 12:03:46 +08:00
Lou Tianhao
113366820b Power Management: support TOP domain powered down in light sleep for esp32h2 2023-07-11 12:03:25 +08:00
Lou Tianhao
24486dd069 Power Management: support PAU REGDMA feature for esp32h2 2023-07-11 12:03:13 +08:00
Lou Tianhao
c12d7f5463 Power Management: support CPU powered down in light sleep for esp32h2 2023-07-11 12:03:02 +08:00
Lou Tianhao
356fa3ab4b Power Management: support DFS and PMU feature for esp32h2 2023-07-11 12:02:39 +08:00
Jiang Jiang Jian
aa434942c1 Merge branch 'backport/fix_multipan_api_error_and_coex_delay_reg' into 'release/v5.1'
ieee802154: fix multipan api error and update coex_arb_delay reg(Backport v5.1)

See merge request espressif/esp-idf!24399
2023-07-05 19:30:07 +08:00
Mahavir Jain
0bf93134f4 Merge branch 'feature/anti_dpa_configuration_c6_h2_v5.1' into 'release/v5.1'
esp32c6/esp32h2: crypto: add support for DPA protection configuration (v5.1)

See merge request espressif/esp-idf!24128
2023-06-30 23:50:44 +08:00
xiaqilin
fc49f10bb4 ieee802154: fix multipan api error and update coex_arb_delay reg 2023-06-26 10:57:17 +08:00
harshal.patil
2fb7d32cd3 esp32h2: xts-aes register prefix discrepency 2023-06-15 13:53:35 +05:30
Mahavir Jain
1764a0bd28
crypto: add support for DPA protection configuration in C6/H2
- Technical details covered in section "15.3.2 Anti-DPA Attack Security
Control" chapter of the ESP32-C6 TRM
- Default configuration sets the security level low for the DPA
protection
- This change applies to all the crypto peripherals where the clock
frequency is dynamically adjusted to create randomness in the power
consumption trajectory
- This configuration helps to make the SCA attacks difficult on the
crypto peripherals
2023-06-08 20:37:03 +05:30
Jiang Jiang Jian
5cd24826bb Merge branch 'bugfix/fix_rc_fast_calibration_v5.1' into 'release/v5.1'
rtc_clk: fix esp32c6/esp32h2 eco chip `RC_FAST` bad calibration value (backport v5.1)

See merge request espressif/esp-idf!23940
2023-05-31 17:40:28 +08:00
wuzhenghui
8c714acfb5 bugfix: fix rc_fast bad calibration value 2023-05-26 13:59:25 +08:00
Jakob Hasse
b0e2f33082
esp_hw_support/bootloader: made ESP32-C6 and ESP32-H2 RNG available 2023-05-24 09:43:21 +05:30
zlq
79a2cc224c H2:fix temp sensor issue @low temp 2023-05-12 17:00:58 +08:00
zhangwenxu
3178718a3d ieee802154: support driver opensrc 2023-04-27 11:27:57 +08:00
Michael (XIAO Xufeng)
80315b77a0 bootloader: fix analog reset on C6 and H2 2023-04-24 11:32:23 +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
Jiang Jiang Jian
1e7f9c8f72 Merge branch 'support/fix_coex_esp32h2_unused_macro' into 'master'
coex: fix unused macro on esp32h2

Closes TZ-86

See merge request espressif/esp-idf!22849
2023-03-31 19:03:49 +08:00
Wu Zheng Hui
ee05082e35 Merge branch 'feature/support_esp32h2_modem_clock' into 'master'
esp32h2: support modem clock driver

Closes IDF-7088

See merge request espressif/esp-idf!22880
2023-03-29 16:49:26 +08:00
wuzhenghui
ade6d3e5bc esp_hw_support: support esp32h2 modem_clock driver 2023-03-29 13:23:32 +08:00
wuzhenghui
485f2882d1 modem_clock: rename modem_clock_lp_timer to ble_rtc_timer 2023-03-29 13:23:32 +08:00
Mahavir Jain
f22daec784 Merge branch 'feature/secure_set_efuses_to_prevent_brick_chip' into 'master'
security: write-protect DIS_ICAHE and DIS_DCACHE

Closes IDF-5177

See merge request espressif/esp-idf!22640
2023-03-29 11:51:09 +08:00
KonstantinKondrashov
723b2e86e5 security: write-protect DIS_ICAHE and DIS_DCACHE
Closes IDF-5177
2023-03-29 00:02:24 +08:00
Rahul Tank
f1084c26cd Merge branch 'feature/add_power_control_soc_cap' into 'master'
Add Power control specific soc capability

See merge request espressif/esp-idf!22871
2023-03-24 17:43:37 +08:00
Rahul Tank
9179456c48 Add Power control specific soc capability 2023-03-24 10:56:03 +05:30
Sachin Parekh
d345c684ba esp32h2: Add support for ECDSA peripheral 2023-03-24 10:43:40 +05:30
Jiang Jiang Jian
b6fda9723e Merge branch 'bugfix/fix_att_rsp_timeout' into 'master'
Fixed bluedroid host ATT Ignore wrong response error

Closes BLEQABR23-30 and BT-3224

See merge request espressif/esp-idf!22688
2023-03-23 17:10:54 +08:00
wuzhenghui
a76dee171e esp32h2: update esp32h2 modem_clock soc_caps 2023-03-22 21:54:32 +08:00
wuzhenghui
14475f0925 soc: regenerate modem header with regtool 2023-03-22 21:53:26 +08:00
Song Ruo Jing
9f972efac0 soc: Fix struct volatile rule in h2 pmu_struct.h 2023-03-22 19:41:40 +08:00
zhangwenxu
2f952f308f coex: fix unused macro on esp32h2 2023-03-21 11:51:06 +08:00
zhiweijian
7ad9e885e4 If it is not 32 chips, hide the configuration item:BT_BLE_RPA_SUPPORTED 2023-03-20 15:54:32 +08:00
Kevin (Lao Kaiyao)
2d14ba2b91 Merge branch 'feature/analog_comparator_h2' into 'master'
Introduce the Analog Comparator driver

Closes IDF-6817

See merge request espressif/esp-idf!22355
2023-03-18 00:42:20 +08:00
laokaiyao
53584bb5a7 ana_cmpr: add programming guide 2023-03-17 14:35:55 +08:00
laokaiyao
c634144ac8 ana_cmpr: designed driver layer 2023-03-17 11:38:32 +08:00
morris
eb7ccbd174 hal: added analog comparator's LL driver 2023-03-17 11:38:32 +08:00
Mahavir Jain
891df4eff9
Cleanup soc_memprot_types.h for C6/H2
This header is not required as there is no PMS peripheral in C6/H2

Closes IDF-6332
2023-03-15 13:16:27 +05:30
Mahavir Jain
b29ed0ba0b
test_apps: enable memprot tests for ESP32-H2 target 2023-03-15 13:16:26 +05:30
Mahavir Jain
fb1ef7c6d6
esp32h2: enable memory protection scheme using PMA and PMP
Closes IDF-6452
2023-03-15 13:16:18 +05:30
Sachin Parekh
a485b1cb67 esp32h2: Add support for ECC hardware accelerator 2023-03-13 16:39:46 +05:30
Jiang Jiang Jian
abc43d8e94 Merge branch 'bugfix/some_small_fix_for_sleep' into 'master'
esp_hw_support/sleep: update soc caps for chips that support power down modem

Closes WIFI-4424

See merge request espressif/esp-idf!20198
2023-03-13 10:47:26 +08:00
Song Ruo Jing
3ec287eaa5 Merge branch 'feature/ledc_gamma_curve_support' into 'master'
ledc: Support gamma curve fade feature

Closes IDF-5811 and IDF-6236

See merge request espressif/esp-idf!22486
2023-03-12 07:54:08 +08:00
C.S.M
b0b99a9a1b Merge branch 'feature/flash_support_h2' into 'master'
spi_flash: Allow clock frequency up to 64M on ESP32H2

See merge request espressif/esp-idf!22476
2023-03-10 19:13:03 +08:00
jingli
cb0f517fe3 soc/soc_caps: update soc caps for chips that support power-down of modem hardware
Closes WIFI-4424
2023-03-10 14:15:27 +08:00
Song Ruo Jing
79f34fe524 ledc: Support gamma curve fade feature on esp32c6 and esp32h2 2023-03-10 12:42:46 +08:00
Rahul Tank
8fc0343e5a Merge branch 'bugfix/modify_configuration_for_ble_5' into 'master'
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips

See merge request espressif/esp-idf!22409
2023-03-10 12:35:39 +08:00
Cao Sen Miao
bc655a6890 spi_flash: Allow clock frequency up to 64M, and make it default on ESP32H2 2023-03-10 11:39:53 +08:00
Marius Vikhammer
284dabf17f ulp: added basic support for building and running a binary in the lp core 2023-03-09 10:12:23 +08:00
Rahul Tank
d89736babf Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips 2023-03-08 11:59:43 +05:30
Mahavir Jain
56dc272514 Merge branch 'feature/esp32h2_secure_boot' into 'master'
esp32h2: add secure boot feature support

Closes IDF-6281 and IDF-6681

See merge request espressif/esp-idf!22625
2023-03-07 15:27:04 +08:00
Island
3ab20c1d26 Merge branch 'feature/support_ble_on_esp32h2' into 'master'
Feature/support ble on esp32h2

Closes IDF-6416 and IDF-6337

See merge request espressif/esp-idf!22221
2023-03-07 11:43:57 +08:00
Mahavir Jain
d61f974a3d
esp32h2: enable secure boot feature related capabilities 2023-03-06 16:36:17 +05:30
Shen Weilong
f39648040e BLE: Add ble support for esp32h2 2023-03-06 10:43:17 +08:00
laokaiyao
fd5bfb2cd4 sdm: fixed wrong sdm struct sequence on esp32h2 2023-03-05 14:10:12 +00:00
Li Shuai
f95854dc8f soc_caps: add SOC_PM_MODEM_RETENTION_BY_REGDMA caps
soc_caps: add SOC_PM_SUPPORT_BEACON_WAKEUP caps
soc_caps: add SOC_PM_SUPPORT_PMU_MODEM_STATE caps
soc_caps: add SOC_WIFI_SUPPORT_VARIABLE_BEACON_WINDOW caps
soc_caps: add SOC_PM_SUPPORT_MAC_BB_PD caps
2023-03-04 00:17:40 +08:00
Wu Zheng Hui
2066977b48 Merge branch 'feature/bringup_esp32c6_deepsleep_support_master' into 'master'
esp32c6: bringup deepsleep examples

Closes IDF-6051, IDF-6052, IDF-5349, IDF-5924, and WIFI-5352

See merge request espressif/esp-idf!22300
2023-03-03 23:53:10 +08:00
C.S.M
679dae70cd Merge branch 'feature/temperature_intr' into 'master'
temperature sensor: Add high/low value threshold interrupt support

Closes IDF-5786

See merge request espressif/esp-idf!22331
2023-03-03 15:31:23 +08:00
Cao Sen Miao
840ff4f865 temperature_sensor: Implement temperature monitor interrupt feature on ESP32H2/ESP32C6 2023-03-03 10:38:40 +08:00
Song Ruo Jing
51777a6862 gpio: Fix io hold functionality on esp32c6 and esp32h2 2023-03-02 18:10:10 +08:00
Mahavir Jain
e364e1c102 Merge branch 'feature/esp32h2_enable_rsa_support' into 'master'
mbedtls: enable RSA support for esp32h2

Closes IDF-6284 and IDF-6415

See merge request espressif/esp-idf!22498
2023-03-02 15:06:24 +08:00
wuzhenghui
4e80c7544a esp32c6: soc caps adjustment 2023-03-02 15:06:05 +08:00
Xia Qi Lin
63d04942e5 Merge branch 'feature/esp32h2_support_ieee802154' into 'master'
ieee802154: add support esp32h2

Closes TZ-59

See merge request espressif/esp-idf!22379
2023-03-01 18:30:55 +08:00
harshal.patil
04cc562180 mbedtls: enable RSA support for esp32h2 2023-03-01 14:18:57 +05:30
morris
f534247a00 driver: add parallel IO TX driver 2023-03-01 00:43:14 +00:00
Armando
fda9746bb8 esp_mm: cache_msync API 2023-02-28 10:42:22 +08:00
Song Ruo Jing
8486a2c3ad Merge branch 'bugfix/revert_rtc_clock_bbpll_power_on_with_usb' into 'master'
usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep

Closes IDFGH-6887

See merge request espressif/esp-idf!20973
2023-02-27 23:18:54 +08:00
Mahavir Jain
ad19981af8 Merge branch 'feature/esp32h2_enable_flash_encryption' into 'master'
Feature/esp32h2 enable flash encryption

Closes IDF-6282 and IDF-6680

See merge request espressif/esp-idf!22502
2023-02-27 16:55:32 +08:00
zhangwenxu
2816ff14e4 ieee802154: add support for esp32h2 2023-02-27 15:32:32 +08:00
Song Ruo Jing
1a66459b44 usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep
1. Remove RTC_CLOCK_BBPLL_POWER_ON_WITH_USB Kconfig option
   During sleep, BBPLL clock always gets disabled
   esp_restart does not disable BBPLL clock, so that first stage bootloader log can be printed
2. Add a new Kconfig option PM_NO_AUTO_LS_ON_USJ_CONNECTED
   When this option is selected, IDF will constantly monitor USB CDC port connection status.
   As long as it gets connected to a HOST, automatic light-sleep will not happen.

Closes https://github.com/espressif/esp-idf/issues/8507
2023-02-27 12:10:49 +08:00
Aditya Patwardhan
aaf5d0670e [bootloader_support/esp32h2] Enable flash encryption for esp32h2 target 2023-02-24 15:21:51 +05:30
Armando
4997689de5 cache: support h2 and c6 cache error 2023-02-24 16:16:46 +08:00
Armando (Dou Yiwen)
4452a3cf3e Merge branch 'feature/support_h2_adc' into 'master'
adc: support adc h2

Closes IDF-6124, IDF-6214, IDF-6543, IDF-6215, IDF-6664, and IDF-6695

See merge request espressif/esp-idf!22205
2023-02-24 14:28:33 +08:00
Jing Li
a529771d88 Merge branch 'refactor/pm_use_unified_esp_pm_config_t' into 'master'
pm: refactor pm codes to use unified esp_pm_config_t

See merge request espressif/esp-idf!22472
2023-02-24 14:06:19 +08:00
Marius Vikhammer
c2f9392be5 Merge branch 'feature/h2_wdt' into 'master'
wdt: add support for H2

Closes IDF-6643 and IDF-6678

See merge request espressif/esp-idf!22422
2023-02-24 13:48:20 +08:00
Armando (Dou Yiwen)
aeaf119338 Merge branch 'refactor/resolve_mmu_soc_dependency_to_sdkconfig_h' into 'master'
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue

Closes IDF-5219

See merge request espressif/esp-idf!22447
2023-02-23 12:05:13 +08:00
Armando
5653018cd1 esp_adc: support selecting clock source for oneshot driver 2023-02-23 11:48:31 +08:00
Armando
d0e4d36fb6 esp_adc: support h2 oneshot mode and continuous mode 2023-02-23 11:48:31 +08:00
jingli
4c3d1e24d7 codeclean: remove unused sleep related functions 2023-02-23 11:36:13 +08:00
Marius Vikhammer
5d26a0de9a wdt: add support for H2 2023-02-23 11:22:51 +08:00
morris
1c9b96ab37 Merge branch 'feature/support_efuse_for_esp32h2' into 'master'
efuse: Add support for esp32h2

Closes IDF-6252, IDF-4337, and IDF-6897

See merge request espressif/esp-idf!22393
2023-02-22 13:41:40 +08:00
Armando
c56eb8646b g0: resolve MMU_PAGE_SIZE not defined in g0 build issue 2023-02-22 12:37:40 +08:00
Wan Lei
66cda021d0 Merge branch 'feature/h2_gpio_hysteresis_support' into 'master'
gpio: h2 support input hysteresis filter

Closes IDF-6653

See merge request espressif/esp-idf!22263
2023-02-21 17:27:56 +08:00
KonstantinKondrashov
f3394c488a efuse: Add support for esp32h2 2023-02-21 08:18:14 +00:00
Song Ruo Jing
987fd3208a Merge branch 'feature/esp32h2_clock_basic_support' into 'master'
clk: Add basic clock support for esp32h2

Closes IDF-6265 and IDF-5973

See merge request espressif/esp-idf!21943
2023-02-21 16:16:05 +08:00
wanlei
c9bcec9212 gpio: h2 support input hysteresis filter 2023-02-20 19:34:48 +08:00