wuzhenghui
54a15b81f9
feat: support cache safe assertion check in sleep process
...
- Add support for cache safe assertion check to ensure that code expected to be in RAM is in IRAM
2024-02-26 17:24:04 +08:00
wuzhenghui
40a869935b
feat(esp_hw_support): support gdma register context sleep retention
...
Closes https://github.com/espressif/esp-idf/issues/12528
2024-02-23 18:30:17 +08:00
hongshuqing
80378b809e
feat(pmu): set fix voltage to different mode for esp32c6
2024-02-22 15:01:14 +08:00
Jakob Hasse
a66234b6de
fix(esp_hw_support): Removed unused include directories from cmake
...
* Closes https://github.com/espressif/esp-idf/issues/12700
2024-02-21 11:41:11 +08:00
hongshuqing
9f5cd217a0
feat(pmu): set fix voltage to different mode for esp32h2
...
h2 remove include
2024-01-26 11:39:16 +08:00
Mahavir Jain
614ad494f6
fix(soc): change debug addr range to CPU subsystem range
...
For C6/H2/P4/C5, there is no SoC specific debug range. Instead the same
address range is part of CPU Subsystem range which contains debug mode
specific code and interrupt config registers (CLINT, PLIC etc.).
For now the PMP entry is provided with RWX permission for both machine
and user mode but we can save this entry and allow the access to only
machine mode for this range.
For P4/C5 case, this PMP entry can have RW permission as the debug mode
specific code is not present in this memory range.
2024-01-24 12:52:27 +05:30
Xu Si Yu
abaa9f2bfe
ci(openthread): Add a test case for openthread sleepy device
2024-01-23 16:11:29 +08:00
wuzhenghui
9a246bcbf1
feat: support dump last time sleep context
2024-01-23 16:11:29 +08:00
nilesh.kale
fa02eeeb97
fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG
...
After ets_hmac_disable(), invalidating JTAG register process is ineffective.
So, added call to enable hmac begore invalidating JTAG REG.
And similarly disabled it after invalidation.
2024-01-23 12:20:06 +05:30
Jiang Jiang Jian
aa2793f3f1
Merge branch 'feature/support_hw_trigger_regdma_when_pu_top_v5.1' into 'release/v5.1'
...
fix(pm): trigger regdma retention by PMU when TOP is not power down on esp32H2 (backport v5.1)
See merge request espressif/esp-idf!28342
2024-01-18 11:06:51 +08:00
Lou Tianhao
2ecbfecedf
feat(pm): support PMU trigger regdma when PU TOP
2024-01-16 14:01:22 +08:00
Xiao Xufeng
a055fcbda4
fix(rtc): fixed bbpll not calibrated from bootloader issue
2024-01-05 10:19:20 +08:00
chaijie@espressif.com
630a8ff709
fix(bbpll): fix bbpll calibration may stop early bug(ESP32C2/S3/C6/H2)
2024-01-05 03:24:20 +08:00
Michael (XIAO Xufeng)
67043f557f
feat(soc): Increase max supported version of C3 to 1.99
2024-01-03 18:02:49 +08:00
wuzhenghui
ecca6fb1c2
change(esp_hw_support/sleep): rename ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY
...
1. Rename ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY to ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY
2. Set ESP_SLEEP_WAIT_FLASH_READY_EXTRA_DELAY visible for all targets
2023-12-27 15:36:20 +08:00
wuzhenghui
c33dd0f4a2
fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6
2023-12-27 15:36:15 +08:00
Jiang Jiang Jian
a8a3adcfb8
Merge branch 'bugfix/put_extra_link_retention_in_iram_5.1' into 'release/v5.1'
...
fix(pm): place extra link opt in iram(Backport v5.1)
See merge request espressif/esp-idf!27898
2023-12-21 11:28:38 +08:00
Lou Tianhao
1419db4b91
change(pm): change macro SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG
2023-12-19 11:44:23 +08:00
Jiang Jiang Jian
e51e8a0948
Merge branch 'bugfix/fix_esp32h2_system_retention_restore_backup_v5.1' into 'release/v5.1'
...
fix(esp_hw_support): fix esp32h2 system link restore override cpu clk configuration(v5.1)
See merge request espressif/esp-idf!27814
2023-12-15 10:38:24 +08:00
cjin
7d2ab4c14d
fix(pm): place extra link opt in iram
2023-12-14 11:17:54 +08:00
wuzhenghui
5dac3d9e03
fix(esp_hw_support/sleep): fix rtc_time_us_to_slowclk div zero in deepsleep process
...
Closes https://github.com/espressif/esp-idf/issues/12695
2023-12-11 09:24:07 +00:00
Jiang Jiang Jian
e91322891c
Merge branch 'fix/esp32c6_sleep_pll_issue_v5.1' into 'release/v5.1'
...
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue (backport v5.1)
See merge request espressif/esp-idf!27339
2023-12-11 15:12:51 +08:00
Jiang Jiang Jian
e0cd5b7aa5
Merge branch 'backport/add_config_to_set_custom_mac_as_base_mac_v5_1' into 'release/v5.1'
...
feat(mac): Add a configuration to set custom MAC as base MAC(Backport V5.1)
See merge request espressif/esp-idf!27737
2023-12-11 15:11:19 +08:00
wuzhenghui
3646b5d0c1
fix(esp_hw_support): fix esp32h2 system link restore override cpu clk configuration
2023-12-11 11:42:56 +08:00
xiaqilin
ef4f420663
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue
...
* switch root clk src to PLL for modem reg opt and added callback
* register power_down/power_up callback in ieee802154 driver for esp32c6
* remove software regdma opt in bt
2023-12-08 08:03:32 +00:00
wuzhenghui
4a7d9dd387
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable
2023-12-08 14:22:36 +08:00
zwx
923ce6a4b2
feat(mac): Add a configuration to set custom MAC as base MAC
2023-12-07 14:15:40 +08:00
Ivan Grokhotkov
a803c846aa
Merge branch 'bugfix/console_examples_reenable_v5.1' into 'release/v5.1'
...
examples: re-enable console examples for C2, C6, H2 (v5.1)
See merge request espressif/esp-idf!24336
2023-11-29 23:57:09 +08:00
Ivan Grokhotkov
6e2dd2924a
fix(esp_hw_support): fix build with CONFIG_ESP_CONSOLE_UART=n on C6
...
Closes https://github.com/espressif/esp-idf/issues/11924
2023-11-28 18:08:11 +01:00
Jiang Guang Ming
03582a8cfe
fix(esp32c3): Update esp32c3 chip revision
2023-11-27 11:32:50 +00:00
Shu Chen
ecbbd3c3d9
Merge branch 'backport/add_ot_radio_stats_enable_config_5_1' into 'release/v5.1'
...
feat(openthread): backport some openthread features(BackportV5.1)
See merge request espressif/esp-idf!26885
2023-11-22 12:23:53 +08:00
Jiang Jiang Jian
e718b603e4
Merge branch 'bugfix/clear_ulp_wake_intr_in_wake_source_enable_v5.1' into 'release/v5.1'
...
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable (backport v5.1)
See merge request espressif/esp-idf!27188
2023-11-21 10:52:54 +08:00
Jiang Jiang Jian
0e1ec38785
Merge branch 'bugfix/fix_lightsleep_current_leakage_on_usj_pad_v5.1' into 'release/v5.1'
...
fix(esp_hw_support): fix lightsleep current leakage on usb pad (backport v5.1)
See merge request espressif/esp-idf!27205
2023-11-21 10:51:11 +08:00
wuzhenghui
6b14ca55d5
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting
2023-11-16 20:40:04 +08:00
wuzhenghui
6ae596c764
fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad
2023-11-16 20:03:30 +08:00
wuzhenghui
61bb3fb67f
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable
2023-11-16 11:49:40 +08:00
Jiang Jiang Jian
cee24a6ce1
Merge branch 'bringup/support_callback_mechanism_in_lightsleep_flow_v5.1' into 'release/v5.1'
...
feat(pm): support callback mechanism in lightsleep flow(backport v5.1)
See merge request espressif/esp-idf!26365
2023-11-14 15:33:19 +08:00
Jiang Jiang Jian
0172c33818
Merge branch 'bugfix/fix_deinit_init_wifi_scan_fail_issue_v5.1' into 'release/v5.1'
...
Bugfix/fix deinit init wifi scan fail issue v5.1(Backport v5.1)
See merge request espressif/esp-idf!27064
2023-11-14 15:25:54 +08:00
Jiang Jiang Jian
1ed40720d6
Merge branch 'bugfix/lp_active_slow_clock_domain_default_power_down_v5.1' into 'release/v5.1'
...
backport v5.1: In the LP ACTIVE state, the slow clock power domain is by default in a powered-off state
See merge request espressif/esp-idf!26601
2023-11-14 15:09:02 +08:00
morris
d0f84285b7
Merge branch 'bugfix/fix_wrong_adc_attenuation_name_v5.1' into 'release/v5.1'
...
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12 (v5.1)
See merge request espressif/esp-idf!26967
2023-11-13 16:50:11 +08:00
muhaidong
abfd0cbebc
change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk
2023-11-10 11:15:49 +08:00
Armando
6de9757a4b
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-07 14:09:21 +08:00
wuzhenghui
263a27b26b
bugfix(esp_hw_support): allow reject for lightsleep
2023-11-07 11:10:14 +08:00
Lou Tianhao
9b3e40c9d1
feat(pm/deepsleep): Support EXT1_WAKEUP_MODE_PER_PIN
2023-11-03 11:02:56 +08:00
Lou Tianhao
42ec7a5e37
change(pm): Change sleep callback implement
2023-11-02 11:05:38 +00:00
Lou Tianhao
925da11115
feat(PowerManagement/lightsleep): Support ESP_SLEEP_EVENT_CALLBACKS
2023-11-02 11:05:38 +00:00
Lou Tianhao
dce3b64411
feat(PowerManagement/lightsleep): Define and export a strong symbol of rv_core_critical_regs_restore
2023-11-02 11:05:38 +00:00
Li Shuai
9d97513147
change(Power Management): the xpd_xtal32k value depends on system slow clock source config option when pmu initialize
2023-10-24 17:15:10 +08:00
KonstantinKondrashov
315d4864bb
fix(esp_hw_support): Return deep sleep APIs to the original behavior
...
Closes https://github.com/espressif/esp-idf/issues/12359
2023-10-18 18:18:49 +08:00
zlq
17c2931309
feat(bootloader): adjust dbias of bootloader, change clock of H2 to 64
...
MHz
2023-10-16 14:35:45 +08:00
Xiao Xufeng
81dcc61008
Revert "feat(volt): chip auto adjust volt for esp32c6 & esp32h2"
...
This reverts commit b221f87e00
.
2023-10-16 14:35:41 +08:00
Michael (XIAO Xufeng)
c1c843f5e2
Merge branch 'bugfix/fix_adc_sar_set_power_mode_no_effect_v5.1' into 'release/v5.1'
...
ADC: Fixed wrong ADC reading issue caused by ADC and WiFi power conflict on ESP32C6(backport v5.1)
See merge request espressif/esp-idf!26235
2023-10-12 15:18:18 +08:00
Michael (XIAO Xufeng)
f618850370
Merge branch 'change/remove_s3_120_sdr_warning_v5.1' into 'release/v5.1'
...
mspi: remove s3 120mhz sdr warning (v5.1)
See merge request espressif/esp-idf!26254
2023-10-12 12:36:42 +08:00
gaoxu
0538a7b138
fix(adc): power settings not taking into effect on H2
2023-09-28 16:24:39 +00:00
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
gaoxu
b183b88463
fix(adc): power settings not taking into effect on C6
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
Zim Kalinowski
1c21f07139
fix(app_update): Reverted: Fix CI test_switch_ota by increasing deepsleep
...
This reverts commit 7ac7d43541
.
2023-09-27 12:26:29 +02:00
morris
584250aa2d
Merge branch 'bugfix/temp_clk_gate_v5.1' into 'release/v5.1'
...
fix(temperature_snesor): Put clock gate enable/disable in to sar_periph_ctrl together(backport v5.1)
See merge request espressif/esp-idf!26171
2023-09-27 15:11:38 +08:00
Armando
deea438c23
change(mspi): remove s3 120mhz sdr warning
2023-09-27 14:57:07 +08:00
zlq
7bbe19d92f
feat(volt): chip auto adjust volt for esp32c6 & esp32h2
2023-09-27 06:39:59 +00:00
Jiang Jiang Jian
cba086c3a8
Merge branch 'bugfix/fix_sleep_risk_vol_param_to_v5.1' into 'release/v5.1'
...
fix(sleep): fix inproper sleep vol param for esp32c6 & esp32h2 (v5.1)
See merge request espressif/esp-idf!26074
2023-09-27 14:36:10 +08:00
Jiang Jiang Jian
67e5366863
Merge branch 'bugfix/fix_pma_bad_backup_v5.1' into 'release/v5.1'
...
fix(sleep): fix pma cfg csr regs bad retention (backport v5.1)
See merge request espressif/esp-idf!26137
2023-09-27 13:47:51 +08:00
morris
10793c3f7e
Merge branch 'bugfix/shared_intr_memory_location_v5.1' into 'release/v5.1'
...
fix(intr): always allocate memory from internal ram (v5.1)
See merge request espressif/esp-idf!26187
2023-09-27 10:01:46 +08:00
Mahavir Jain
98e2f5b391
Merge branch 'feature/locking_layer_for_ecdsa_v5.1' into 'release/v5.1'
...
feat(esp_hw_support): Added locking mechanism for the ECDSA and ECC peripherals (v5.1)
See merge request espressif/esp-idf!26194
2023-09-27 06:58:14 +08:00
wuzhenghui
9e0383cc50
fix(sleep): fix pma cfg csr regs bad retention
2023-09-25 23:52:27 +00:00
wuzhenghui
b17c8aa3d4
fix(sleep): fix modem reject the deepsleep request
2023-09-25 23:52:01 +00:00
harshal.patil
f6b589e275
feat(esp_hw_support): Added locking mechanism for the ECDSA and ECC peripheral
2023-09-25 14:33:04 +05:30
harshal.patil
710b9d228b
feat(esp_hw_support): Add esp_crypto_lock layer for esp32c2
2023-09-25 14:31:18 +05:30
chaijie@espressif.com
80f7e913a0
fix(sleep): fix inproper sleep vol param for esp32c6 & esp32h2
2023-09-25 16:39:46 +08:00
morris
1cbed4e2c1
fix(intr): always allocate memory from internal ram
...
Closes https://github.com/espressif/esp-idf/issues/12271
2023-09-25 15:41:15 +08:00
Cao Sen Miao
73c78c20a6
fix(temperature_snesor): Put clock gate enable/disable in to sar_periph_ctrl together
2023-09-25 10:57:06 +08:00
morris
6ff4bb0994
Merge branch 'refactor/esp_timer_etm_test_v5.1' into 'release/v5.1'
...
test(etm): refactor systimer etm test case (v5.1)
See merge request espressif/esp-idf!26093
2023-09-22 11:09:55 +08:00
Jiang Jiang Jian
aececf745f
Merge branch 'bugfix/some_wifi_fixes_v5.1' into 'release/v5.1'
...
fix(esp_wifi): Some Wi-Fi bug fixes
See merge request espressif/esp-idf!26084
2023-09-21 18:46:02 +08:00
Jiang Jiang Jian
5c3f7ed2fd
Merge branch 'feature/support_pd_hp_aon_domain_in_deepsleep_v5.1' into 'release/v5.1'
...
feat(pm/deepsleep): support pd hp aon domain in deepsleep (backport v5.1)
See merge request espressif/esp-idf!26078
2023-09-21 15:36:19 +08:00
morris
1c15c2aded
refactor(etm): systimer etm test case
...
previously we use the systimer event to toggling a GPIO and assert the GPIO level,
which is not stable in CI.
Now we swicth to clear the GPIO at the systimer event.
2023-09-21 13:03:49 +08:00
Jiang Jiang Jian
08262e1975
Merge branch 'bugfix/fix_cpu_switches_freq_bug_s2s3_to_v5.1' into 'release/v5.1'
...
EspS2/S3: fixed the bug of insufficient voltage when the CPU switches frequency(V5.1)
See merge request espressif/esp-idf!26044
2023-09-21 10:22:48 +08:00
liuning
b439f7568c
sleep_modem: split esp_wifi_internal_mac_sleep_configure, add lock for pm functions
2023-09-20 19:49:54 +08:00
liuning
f66740362e
fix(sleep_modem): fix lightsleep failure if enable lightsleep at phy disabled
2023-09-20 19:49:42 +08:00
Lou Tianhao
3dc3ee0817
feat(pm/deepsleep): support pd hp aon domain in deepsleep
2023-09-20 19:26:35 +08:00
Jiang Jiang Jian
41d8715dfe
Merge branch 'feat/add_internal_pull_up_or_pull_down_option_for_deepsleep_wakeup_prepare_v5.1' into 'release/v5.1'
...
feat(pm): add internal pull-up/downs option for gpio used for deepsleep wakeup (backport v5.1)
See merge request espressif/esp-idf!26040
2023-09-20 19:15:48 +08:00
hongshuqing
bb33a2bf6b
fix cpu switches freq bug s2s3 to v5.1
2023-09-19 11:27:08 +08:00
Lou Tianhao
86e5252d63
feat(pm): add internal pull-up/downs option for gpio used for deepsleep wakeup
2023-09-19 10:59:57 +08:00
Armando
cd193469f2
fix(mspi): fixed bbpll calibration issue
2023-09-15 10:38:44 +08:00
Planck (Lu Zeyu)
25922444a6
fix(test_etm): fix vTaskDelay caused ci failure
2023-09-13 10:04:30 +08:00
Jiang Jiang Jian
5d7bcdcf82
Merge branch 'bugfix/esp32c6_udp_bc_mc_short_time_cause_packet_loss_v5.1' into 'release/v5.1'
...
backport v5.1: optimize the retention step of the APM and TEE modules to set only the critical parts to level 2 priority
See merge request espressif/esp-idf!25837
2023-09-12 20:50:12 +08:00
Jiang Jiang Jian
8d0858060a
Merge branch 'feature/management_modem_etm_clock_indepently_v5.1' into 'release/v5.1'
...
feat(esp_hw_support): manage modem_etm clock in modem_clock for bt/154 indepently (backport v5.1)
See merge request espressif/esp-idf!25793
2023-09-08 10:16:59 +08:00
Li Shuai
cbb2a3f8fa
fix(esp32c6/power save): optimize the retention step of the APM and TEE modules to set only the critical parts that affect wifi data frame receipt to level 2 priority
2023-09-07 14:31:12 +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
cjin
d94c9d141b
feat: added ble wake up overhead support
2023-09-05 15:10:38 +08:00
Marius Vikhammer
e10e95282d
Merge branch 'fix/bp_wp_in_panic_v5.1' into 'release/v5.1'
...
fix(breakpoint): fix bp/wp logic when debugger is connected (v5.1)
See merge request espressif/esp-idf!25633
2023-08-31 19:50:11 +08:00
Erhan Kurubas
1c27df8189
fix(breakpoint): fix bp/wp logic when debugger is connected
2023-08-29 12:32:06 +02:00
Li Shuai
6e852f86d9
fix(esp32c6/power save): improve TEE and APM module retention priority to 2 to avoid the wifi fail to read the rxbuf link and trigger the rxbuf overflow error
2023-08-29 16:30:02 +08:00
Jiang Jiang Jian
88e436f85a
Merge branch 'feature/add_ci_for_esp_wifi_powersave_example_v5.1' into 'release/v5.1'
...
ci(wifi): add pytest case for wifi powersave example (backport v5.1)
See merge request espressif/esp-idf!25499
2023-08-28 10:28:44 +08:00
Mahavir Jain
5758b66a9f
Merge branch 'ci/fix_test_switch_ota_v5.1' into 'release/v5.1'
...
fix(app_update): Fix CI test_switch_ota by increasing deepsleep (v5.1)
See merge request espressif/esp-idf!25465
2023-08-24 12:16:51 +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
Marius Vikhammer
9838675d3b
Merge branch 'bugfix/intr_flags_to_level_v5.1' into 'release/v5.1'
...
fix(intr_flags_to_level): fix value returned one more than correct value (v5.1)
See merge request espressif/esp-idf!25424
2023-08-24 08:34:37 +08:00
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
wuzhenghui
c517a15dd2
fix(light_sleep): shouldn't backup uart fifo reg in pd_top light sleep
2023-08-23 18:00:48 +08:00
KonstantinKondrashov
7ac7d43541
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-08-22 16:10:49 +08:00