wuzhenghui
49013a0560
feat(modem_clock): separate management of modem_adc_common_fe clock and modem_private_fe
2023-09-28 16:24:39 +00:00
Jiang Jiang Jian
1adcaf7f99
Merge branch 'feature/support_7.6.1_soc/pvt_auto_dbias_v5.1' into 'release/v5.1'
...
rtc: auto adjust HP LDO voltage using pvt function(backport 5.1)
See merge request espressif/esp-idf!25995
2023-09-28 13:35:00 +08:00
alanmaxwell
9337525cdc
fix(phy): Fix PHY enabled enter WiFi RX state default
2023-09-27 14:55:25 +08:00
zlq
7bbe19d92f
feat(volt): chip auto adjust volt for esp32c6 & esp32h2
2023-09-27 06:39:59 +00:00
cjin
179e3293be
change: remove has clock bug macro for esp32h2
2023-09-25 13:40:26 +08:00
hongshuqing
bb33a2bf6b
fix cpu switches freq bug s2s3 to v5.1
2023-09-19 11:27:08 +08:00
Marius Vikhammer
41a291fee0
fix(wdt): changed WDT clock source to XTAL for C6/H2
...
Previously it used PLL, but PLL could potentially be powered down by power-management
when CPU frequency changed.
2023-09-13 10:45:51 +08:00
Marius Vikhammer
c192ea478e
fix(wdt): changed ESP32-C3 WDT to use XTAL as clock
...
This clock is unchanged even when CPU/APB frequency changes (e.g. due to esp_pm),
which means timeout period is correct even after such a change.
2023-09-13 10:45:49 +08:00
Jiang Jiang Jian
9eceef649b
Merge branch 'bugfix/esp32h2_update_desc_ecdsa_workmode_v5.1' into 'release/v5.1'
...
fix(soc/esp32h2): Update the description of the ECDSA_WORK_MODE (backport v5.1)
See merge request espressif/esp-idf!25818
2023-09-08 16:09:42 +08:00
Jiang Guang Ming
9ed6944c0d
fix(soc/esp32h2): Update the description of the ECDSA_WORK_MODE
2023-09-07 10:34:36 +08:00
wuzhenghui
d3bfaf8f5f
feat(esp_hw_support): manage modem_etm clock in modem_clock for bt/154 indepently
2023-09-06 15:48:37 +08:00
Jiang Jiang Jian
b58706c1d2
Merge branch 'feature/support_hp_regi2c_for_esp32c6_v5.1' into 'release/v5.1'
...
feat(esp_rom): support hp regi2c for esp32c6(backport v5.1)
See merge request espressif/esp-idf!25644
2023-08-31 10:49:58 +08:00
wuzhenghui
05cd295a28
fix(esp_rom): fix esp32c6, esp32h2 hp_regi2c ops data conflict with phy ops
2023-08-30 14:28:55 +08:00
Lou Tianhao
d2730608d2
feature(esp_rom): support_hp_regi2c_for_esp32c6
2023-08-30 14:28:37 +08:00
Chen Jichang
c240a1f46b
feat(MCPWM): Add mcpwm carrier clk source
...
The MCPWM carrier is part of the operator and can work independently
without the MCPWM timer being enabled. This commit add the MCPWM
carrier clk source.
2023-08-25 17:34:58 +08:00
Rahul Tank
2de3e90c21
Merge branch 'feature/periodic_adv_enhancement_v5.1' into 'release/v5.1'
...
NimBLE : Added periodic Adv Feature Updates in BLE 5.3 (v5.1)
See merge request espressif/esp-idf!25489
2023-08-24 17:14:43 +08:00
morris
a66f61e33f
Merge branch 'feature/usb_host_restrict_ahb_errata_workaround_to_esp32s2_eco0_v5.1' into 'release/v5.1'
...
USB Host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips (v5.1)
See merge request espressif/esp-idf!25054
2023-08-24 10:12:48 +08:00
Roshan Bangar
d57466da3c
feat(nimble): Added periodic Adv Feature Updates in BLE 5.3
2023-08-23 18:53:51 +05:30
Jiang Jiang Jian
b638cb3335
Merge branch 'bringup/esp32h2_deep_sleep_for_rebase_v5.1' into 'release/v5.1'
...
esp32h2: support deep_sleep(backport v5.1)
See merge request espressif/esp-idf!24962
2023-08-23 20:12:01 +08:00
Darian Leung
96b312ddde
soc: Move revision MAX/MIN static assert to esp_hw_support
...
Previously, "soc/chip_revision.h" contained a static assert to check that the
CONFIG_ESP_REV_MIN_FULL <= CONFIG_ESP_REV_MAX_FULL. There are two issues with
this assert:
- Contained in a header file, so it is only compiled if the "chip_revision.h"
is included somewhere
- CONFIG_ESP_REV_MIN_FULL and CONFIG_ESP_REV_MAX_FULL are defined in
"esp_hw_support", which is a G0 component. This creates a reverse dependency
of G0 on G1.
This commit moves the static assert "revision.c" in "esp_hw_support".
2023-08-17 15:26:23 +08:00
wuzhenghui
aaf04f514f
fix(esp_hw_support): manage i2c_ana_mst clock witch modem clock driver
2023-08-04 12:04:40 +08:00
Lou Tianhao
b27e57db7b
feat(pm/deepsleep): Support EXT1 wakeup for esp32h2 deep_sleep
2023-08-03 16:46:55 +08:00
Song Ruo Jing
6768f098dc
change(driver/rtcio): Describe RTCIO CAPS with more accurate note
2023-08-03 16:46:55 +08:00
Lou Tianhao
4bc5e24f82
feat(pm/deepsleep): Support deep_sleep example and deep_sleep_wake_stub example for esp32h2
2023-08-03 16:46:54 +08:00
wanlei
45eb0b6271
cache: fix cache suspended/resumed twice on S3
2023-07-31 14:52:03 +08:00
Jiang Jiang Jian
d83fe16c93
Merge branch 'bugfix/revert_26mhz_esp32c2_bad_apb_clock_fix' into 'release/v5.1'
...
Revert "fix(soc): fix wrong freq definition for 26Mhz version esp32c2 soc" (v5.1)
See merge request espressif/esp-idf!24983
2023-07-31 10:26:58 +08:00
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
c64231564a
Revert "fix(soc): fix wrong freq definition for 26Mhz version esp32c2 soc"
...
This reverts commit d2fb32ed70
.
2023-07-25 13:51:32 +08:00
wuzhenghui
d2fb32ed70
fix(soc): fix wrong freq definition for 26Mhz version esp32c2 soc
2023-07-15 01:57:07 +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
harshal.patil
8692da51a0
fix(mbedtls): Fix the port for the mbedtls_internal_shaX_process API
...
- Also added the fix to update intermediate SHA state in the mbedtls_shaX_update API
2023-07-14 14:20:20 +05:30
cjin
6c62d13550
ble: support eco1 BLE light sleep
2023-07-14 11:07:49 +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
Nachiket Kukade
dc46fe5343
fix(esp_wifi): Enable FTM for ESP32C2, fix other FTM issues
...
Enable FTM for ESP32C2 and update wifi libs with below fixes -
1. Bugfixes in Initiator and Responder mode
2. Fix wrong RTT value in first FTM procedure without connection
3. Update FTM calibration values for ESP32S2, S3, C3 and C2
4. Update distance estimation logic
5. Add some useful command parameters in FTM example
6. Fix bug when number of FTM measurement frames received is more
than (number_of_brusts * FTMs per brust).
Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com>
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
Alexey Gerenkov
3eacf08267
fix(app_trace): Fix apptrace data corruption on ESP32-S3
...
Close https://github.com/espressif/esp-idf/issues/10604
diff --git a/components/soc/esp32s3/include/soc/tracemem_config.h b/components/soc/esp32s3/include/soc/tracemem_config.h
index 55c9b907dd..75fd87419b 100644
--- a/components/soc/esp32s3/include/soc/tracemem_config.h
+++ b/components/soc/esp32s3/include/soc/tracemem_config.h
@@ -10,7 +10,7 @@ extern "C" {
#endif
#define TRACEMEM_MUX_BLK0_NUM 22
-#define TRACEMEM_MUX_BLK1_NUM 23
+#define TRACEMEM_MUX_BLK1_NUM 26
#if (TRACEMEM_MUX_BLK0_NUM < 6) || (TRACEMEM_MUX_BLK0_NUM > 29)
#error Invalid TRAX block 0 num!
2023-07-10 13:06:02 +03:00
Michael (XIAO Xufeng)
5c11366e01
Merge branch 'feature/support_adc_calibration_on_c6_v5.1' into 'release/v5.1'
...
adc_cali: supported adc calibration on esp32c6 (v5.1)
See merge request espressif/esp-idf!23936
2023-07-07 18:29:11 +08:00
chenjianxing
bb3bd09b93
esp_phy: update esp32c2 phy lib to fix some issues
...
1. improve Wi-Fi rx 11b pkts for AC-DC power supply modules.
2. fix Wi-Fi disconnect in low temperature.
3. fix RTC_SW_CPU_RST occur in Wi-Fi start and stop process.
2023-07-06 17:09:09 +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
laokaiyao
e90a2d50c4
adc_cali: supported channel compensation of adc calibration on esp32c6
2023-07-05 12:48:11 +08:00
KonstantinKondrashov
0b7485db02
efuse(c6): Adds adc calib efuses
2023-07-05 12:48:11 +08:00
Jiang Jiang Jian
207e589917
Merge branch 'bugfix/support_esp32c6_sleep_retention_extra_link_v5.1' into 'release/v5.1'
...
backport v5.1: support extra linked list retention for BLE and 15.4
See merge request espressif/esp-idf!24220
2023-07-04 12:11:04 +08:00
morris
0e4c071519
Merge branch 'bugfix/fix_i2s_ll_cpp_compilation_failure_v5.1' into 'release/v5.1'
...
i2s: fixed i2s_ll compiling failure under C++ environment (v5.1)
See merge request espressif/esp-idf!24401
2023-07-04 11:03:35 +08:00
morris
cacb45d450
Merge branch 'bugfix/coverity_scan_fix_driver_v5.1' into 'release/v5.1'
...
ADC: Fixed potential multiply overflow in the calibration code (v5.1)
See merge request espressif/esp-idf!24091
2023-07-03 13:40:22 +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
laokaiyao
13e74d5573
i2s: fixed i2s_ll compiling failure under C++ evironment
...
Closes: https://github.com/espressif/esp-idf/issues/11625
2023-06-26 15:42:36 +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
96767058df
esp32c6: xts-aes register preefix discrepency
2023-06-15 13:53:35 +05:30
harshal.patil
2fb7d32cd3
esp32h2: xts-aes register prefix discrepency
2023-06-15 13:53:35 +05:30
Li Shuai
ccd4ff2945
sleep retention: implement the extra linked list retention for modules with retention clock bugs
2023-06-13 21:05:36 +08:00
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
morris
f9cf8db97e
drivers: fix issue reported by coverity
2023-06-07 11:42:11 +08:00
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
Jiang Jiang Jian
125d00c0f7
Merge branch 'feature/c6_bootloader_rng_v5.1' into 'release/v5.1'
...
Feature/c6 bootloader rng (v5.1)
See merge request espressif/esp-idf!23896
2023-05-26 15:36:45 +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
Jiang Jiang Jian
6ad6fb9755
Merge branch 'feature/update_ble_doc_for_esp32c6_esp32h2_v5.1' into 'release/v5.1'
...
ble docs: Update ble doc for esp32c6 and esp32h2
See merge request espressif/esp-idf!23801
2023-05-23 15:33:51 +08:00
Sudeep Mohanty
267c5e37a2
lp-i2c: Added support for LP I2C peripheral to LP core
...
This commit adds support for the LP I2C peripheral driver to be used by
the LP core. An example is also added to demonstrate the usage of the LP
I2C peripheral from the LP core.
2023-05-19 07:33:01 +02:00
Shen Weilong
0d12613ab9
ble docs: Update the ble docs for esp32c6 and esp32h2
2023-05-19 11:03:11 +08:00
zlq
79a2cc224c
H2:fix temp sensor issue @low temp
2023-05-12 17:00:58 +08:00
Mahavir Jain
c49dce48eb
Merge branch 'fix/esp32s3_ununsed_dcache_as_dram_v5.1' into 'release/v5.1'
...
esp_hw_support: Update the memory ptr location/property checks to include the unused DCACHE added to DRAM (v5.1)
See merge request espressif/esp-idf!23303
2023-04-27 22:09:55 +08:00
Michael (XIAO Xufeng)
1a03cb02c2
Merge branch 'feature/support_fosc_calibration_c6_eco1_to_v5.1' into 'release/v5.1'
...
ESP32C6: Fix fosc calibration fail bug for ECO1 & Above (v5.1)
See merge request espressif/esp-idf!23467
2023-04-27 20:38:31 +08:00
Marius Vikhammer
c35f7cad45
Merge branch 'feature/c6_ulp_sleep_v5.1' into 'release/v5.1'
...
ulp: added sleep support for lp core (v5.1)
See merge request espressif/esp-idf!23484
2023-04-27 17:07:24 +08:00
zhangwenxu
3178718a3d
ieee802154: support driver opensrc
2023-04-27 11:27:57 +08:00
Marius Vikhammer
0bac174058
ulp: added sleep support for lp core
...
Added support for running LP core while hp core sleeps, as well
as waking up the hp core.
2023-04-27 09:51:41 +08:00
Shu Chen
856cfa4ae2
Merge branch 'refactor/remove_esp32h4_target_v5.1' into 'release/v5.1'
...
esp32h4: remove esp32h4 target (v5.1)
See merge request espressif/esp-idf!23422
2023-04-27 09:37:51 +08:00
morris
aedcec9be5
Merge branch 'feature/emmc_example_v5.1' into 'release/v5.1'
...
SDMMC Host: added an example to communicate with an eMMC chip and also a bugfix for Host timing (v5.1)
See merge request espressif/esp-idf!23283
2023-04-26 22:41:15 +08:00
laokaiyao
804a9ea1f6
esp32h4: remove esp32h4 target from peripherals
2023-04-26 18:53:10 +08:00
hongshuqing
1564884cc1
support c6 eco1 fosc calibration for v5.1
2023-04-26 16:32:28 +08:00
morris
1b6461b9f8
Merge branch 'bugfix/bod_glitch_reset_c6_v5.1' into 'release/v5.1'
...
bootloader: fix BOD and glitch reset on C6 and H2 (v5.1)
See merge request espressif/esp-idf!23380
2023-04-26 13:09:32 +08:00
Laukik Hase
16f3317496
soc/esp32s3: Fix the SOC_MEM_INTERNAL_HIGH
value
...
- As per the memory block diagram for ESP32-S3, the
internal memory address ranges as follows:
DRAM: 0x3FC88000 (== SOC_MEM_INTERNAL_LOW) <-> 0x3FCF0000
IRAM: 0x40378000 <-> 0x403E0000 (== SOC_MEM_INTERNAL_HIGH)
2023-04-26 04:01:38 +00:00
Michael (XIAO Xufeng)
cfcb57333b
Merge branch 'bugfix/fix_chip_broken_bug_in_monitor_mode_S2_v5.1' into 'release/v5.1'
...
ESP32S2/C3/C2: fixed S2 dangerous power parameters in sleep modes and support S2/C3/C2 different sleep mode (v5.1)
See merge request espressif/esp-idf!23378
2023-04-26 11:41:09 +08:00
Ivan Grokhotkov
5b18007d92
sdmmc: I/O phase adjustments
...
1. Fix incorrect meaning of SDMMC.clock bits, synchronize the names
with the TRM.
2. Choose input and output phases to satisfy typical timing
requirements.
3. Move use_hold_reg setting into the host driver, since it is related
to timing.
Closes https://github.com/espressif/esp-idf/issues/8521
Related to https://github.com/espressif/esp-idf/issues/8257
2023-04-24 03:45:29 +00:00
Xiao Xufeng
5c88e0d801
bootloader: enable super WDT and BOD reset on C2
2023-04-24 11:32:23 +08:00
Xiao Xufeng
ca3d871a21
bootloader: fixed super watchdog not enabled issue on C3, S3, H4
2023-04-24 11:32:23 +08:00
Michael (XIAO Xufeng)
80315b77a0
bootloader: fix analog reset on C6 and H2
2023-04-24 11:32:23 +08:00
cje
93eeb4265c
fix chip broken bug when run in monitor mode of S2 and modify voltage param to fit all sleep mode of S2/C2/C3
2023-04-24 10:37:57 +08:00
Marius Vikhammer
34fea0d38f
system: add kconfig option for using parts of SRAM1 for IRAM
...
Using parts of SRAM1 for IRAM allows apps with more statically allocated IRAM
Closes https://github.com/espressif/esp-idf/issues/9824
2023-04-24 09:54:47 +08:00
Jiang Jiang Jian
badf267022
Merge branch 'bugfix/block9_can_not_be_used_for_fe' into 'master'
...
efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
Closes IDF-7175
See merge request espressif/esp-idf!23052
2023-04-06 10:17:07 +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
Zim Kalinowski
6e67c54a92
Merge branch 'feature/replace_some_efuses_for_c6' into 'master'
...
efuse(esp32c6): Replace PKG_VERSION BLK_VERSION_MINOR BLK_VERSION_MAJOR
Closes IDF-7174
See merge request espressif/esp-idf!22775
2023-04-04 16:34:29 +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