morris
9516e80f61
Merge branch 'bugfix/wakeup_io_hold_unhold_in_sleep_v4.4' into 'release/v4.4'
...
gpio: Fix deep sleep wakeup IOs unable to unhold after wakeup (v4.4)
See merge request espressif/esp-idf!22670
2023-04-21 10:51:05 +08:00
morris
e34f0638c8
Merge branch 'bugfix/fix_deep_sleep_crash_when_psram_high_freq_4.4' into 'release/v4.4'
...
mspi: turn down freq to fix crash when sleep (v4.4)
See merge request espressif/esp-idf!22750
2023-04-20 14:54:46 +08:00
liuning
dce377bcfd
rtc_sleep: workaround systimer stall issue during lightsleep on ESP32C3
2023-04-14 11:59:42 +08:00
Xiao Xufeng
4dca4bdc3e
himem: Fixed incorrect out_ptr when calling esp_himem_map range_offset non-zero
...
Closes: https://github.com/espressif/esp-idf/issues/5639
2023-04-06 02:02:05 +08:00
Song Ruo Jing
81b59071fd
gpio: Fix IO hold function related problems
...
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API
docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3
2023-03-29 17:21:50 +08:00
wanlei
3fda8f942c
mspi: turn down freq to fix crash when sleep
2023-03-15 11:33:07 +08:00
wuzhenghui
e357de5406
deep sleep: close rf to optimize sleep current
2023-03-14 14:05:15 +08:00
wuzhenghui
91b9483987
Revert "optimize deep sleep current in wifi softap mode"
...
This reverts commit 344ec80fad
.
2023-03-13 20:41:16 +08:00
Michael (XIAO Xufeng)
8232f23f65
Merge branch 'feature/apply_new_version_logic_v4.4' into 'release/v4.4'
...
all: Apply new version logic (major * 100 + minor) (v4.4)
See merge request espressif/esp-idf!22481
2023-03-10 14:52:18 +08:00
Zim Kalinowski
1500d703a1
Merge branch 'bugfix/spram_and_virt_efuse_can_work_v4.4' into 'release/v4.4'
...
esp_psram: Use efuse_ll instead of efuse API (v4.4)
See merge request espressif/esp-idf!22642
2023-03-09 22:19:12 +08:00
KonstantinKondrashov
9e0a8e2dca
esp_psram: Use efuse_ll instead of efuse API
...
When the virt efuse mode is on and psram is on as well
then efuse buffer is not filled by efuses (it is filled by 0).
So the psram init func gets wrong pkg_ver = 0.
Closes https://github.com/espressif/esp-idf/issues/10925
Close IDFGH-9576
2023-03-08 01:47:06 +08:00
Armando
cf9cb577ce
esp_psram: return error when fail to detect oct psram
2023-03-07 02:39:44 +00:00
KonstantinKondrashov
df09f8670a
version: Fix missed version checks
2023-03-05 18:25:50 +08:00
KonstantinKondrashov
a86c80e3ec
all: Apply new version logic (major * 100 + minor)
2023-03-03 22:26:39 +00:00
jingli
200dcce535
soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
...
all esp chips support this feature
2023-02-09 17:52:49 +08:00
Zim Kalinowski
a83c40eaf0
Merge branch 'feature/mac_crc_v4.4' into 'release/v4.4'
...
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then INVALID_CRC instead of abort (v4.4)
See merge request espressif/esp-idf!22115
2023-02-08 17:04:30 +08:00
morris
e1e9e10d3b
Merge branch 'bugfix/rtc_8md256_deepsleep_time_esp32_v4.4' into 'release/v4.4'
...
pm: Fixed sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32 (v4.4)
See merge request espressif/esp-idf!21822
2023-02-06 11:13:52 +08:00
morris
46b66530ce
gdma: prevent mutli-channels connect to the same peripheral
...
1. add check in the gdma driver, to prevent multiple channels connecting
to the same peripheral
2. memory copy DMA ID will occupy the peripheral's DMA ID on some ESP
targets (e.g. esp32c3/s3). We should search for a free one when
install async memcpy driver.
Closes https://github.com/espressif/esp-idf/issues/10575
2023-02-01 11:10:26 +08:00
KonstantinKondrashov
c1ea06443a
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
2023-01-23 20:05:53 +08:00
cje
5998130eb9
sleep: fix sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32
...
Related to: https://github.com/espressif/esp-idf/issues/6687
2022-12-28 15:33:57 +08:00
KonstantinKondrashov
e59269efa0
esp_hw_support: Fix version in esp_chip_info for C3 and H2
2022-12-20 21:14:36 +08:00
KonstantinKondrashov
26960f1734
efuse: Adds major and minor versions and others
2022-12-20 16:30:13 +08:00
Marius Vikhammer
e5999ea4fb
intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags
...
Mark the vector descriptor source as freed.
2022-11-28 10:45:27 +08:00
Armando
3fb3600ee0
psram: remove CS/CLK pin settings in kconfig on ESP32S2/S3
2022-11-11 17:45:03 +08:00
Jiang Jiang Jian
86d29d566b
Merge branch 'bugfix/fix_current_leakage_when_hold_digital_io_during_deep_sleep_backport_v4.4' into 'release/v4.4'
...
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep(backport v4.4)
See merge request espressif/esp-idf!20945
2022-11-11 16:33:43 +08:00
morris
de7c64bcd3
Merge branch 'bugfix/rtc_periph_ulp_touch_v4.4' into 'release/v4.4'
...
sleep_modes: allow using touch/ULP with RTC_PERIPH domain (including EXT0 wakeup source) (v4.4)
See merge request espressif/esp-idf!19768
2022-11-10 10:19:16 +08:00
morris
193d0d6b6e
Merge branch 'bugfix/fix_rtc8m_calibration_fail_after_cpu_core_reset_v4.4' into 'release/v4.4'
...
rtc_clk: Fix rtc8m calibration failure after cpu/core reset (backport v4.4)
See merge request espressif/esp-idf!20553
2022-11-10 10:04:35 +08:00
Ivan Grokhotkov
08135d4ea6
Merge branch 'bugfix/time_jump_after_reboot_v4.4' into 'release/v4.4'
...
esp_hw_support: Fix time jump after reboot (v4.4)
See merge request espressif/esp-idf!20907
2022-11-09 18:34:05 +08:00
Jiang Jiang Jian
d7ba7c3b19
Merge branch 'bugfix/fix_esprv_intc_int_set_type_err_parameter_backportv4.4' into 'release/v4.4'
...
bugfix: esprv_intc_int_set_type should not use bitmap parameter(backport v4.4)
See merge request espressif/esp-idf!20609
2022-11-09 18:03:25 +08:00
jingli
ced9c9eeb6
esp_hw_support/sleep: remove redundant spinlock protection for deep sleep
2022-11-05 17:51:13 +08:00
jingli
4b71ebbe49
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
2022-11-05 17:51:08 +08:00
KonstantinKondrashov
be904e4ae9
esp_hw_support: Fix time jump after reboot
...
Closes https://github.com/espressif/esp-idf/issues/9448
2022-11-02 18:54:37 +08:00
Michael (XIAO Xufeng)
07253938a6
Update components/esp_hw_support/include/esp_sleep.h
2022-10-31 16:06:44 +08:00
Michael (XIAO Xufeng)
37cd376957
sleep_modes: allow using touch/ULP with RTC_PERIPH domain (including EXT0 wakeup source)
2022-10-31 16:06:43 +08:00
jingli
83fe7a5a59
esp_hw_support/sleep: fix light sleep wakeup flag
...
light sleep wakeup flag is true to indicate the most recent successful wakeup from light sleep,
which means the most recent light sleep occurred successfully and then wakes up by wakeup source
2022-10-26 16:33:43 +08:00
jingli
77ba6c38ec
esp32/rtc: fix xtal unstable in some cases when sleep
...
1. add xtal buf wait to fix high temperature restart issue
2. add min sleep value to fix xtal stop due to too short sleep time issue
2022-10-26 16:31:04 +08:00
wuzhenghui
0fd3824f91
bugfix: esprv_intc_int_set_type should not use bitmap parameter
2022-10-14 15:33:53 +08:00
Song Ruo Jing
883e54aa71
rtc_clk: Fix rtc8m calibration failure after cpu/core reset
...
Explicitly guarantee 8md256 clk is enabled before calibration
2022-10-12 12:33:47 +08:00
cje
c34e900969
fix C3 system not stable bug when dbias storing in efuse is bigger than 27
2022-10-08 11:55:26 +08:00
Jiang Jiang Jian
3911a1b8e7
Merge branch 'feature/support_7.2.8_soc/pvt_dig_v4.4' into 'release/v4.4'
...
ESP32S3:support auto adjust LDO voltage based on pvt-dig(backport 4.4)
See merge request espressif/esp-idf!20249
2022-09-29 11:07:55 +08:00
zlq
b44530f188
1.add ldo parameters in efuse table; 2.set ldo based on pvt-efuse; 3.ldo voltage is changed based on cpu freq
2022-09-29 03:16:49 +08:00
Michael (XIAO Xufeng)
06a52bf770
usb_serial_jtag: fixed the docs that we can use usj in sleep modes
...
Related to: https://github.com/espressif/esp-idf/issues/8507 , https://github.com/espressif/esp-idf/issues/8884
2022-09-22 15:37:32 +08:00
jingli
13984c0a79
esp_hw_support/clk_cali: fix xtal32k error detect
2022-09-21 15:11:04 +08:00
Darian Leung
baa28b54a2
esp_hw_support: Fix esp_light_sleep_start() deadlock
...
esp_light_sleep_start() will stall the other CPU via esp_ipc_isr_stall_other_cpu(). After stalling the other CPU,
will call esp_clk_... API which themselves take locks. If the other stalled CPU is holding those locks, this will
result in a deadlock.
This commit adds a workaround calling esp_clk_private_lock() to take the lock before stalling the other CPU.
2022-09-16 17:02:38 +08:00
Darian Leung
9ea9192efb
esp_hw_support: esp_clk should use spinlock instead of mutex
...
esp_clk used to be protected using _lock_t (i.e., a FreeRTOS Mutex). However, esp_clk API is current called from
from critical sections, thus mutex should not be used (as they can be blocking).
This commit updates esp_clk to use spinlocks for critical sections instead.
Note: Added a small fix to exclude esp_clk.c from bootloader builds in the
legacy build system (this is already the case in CMake).
2022-09-16 17:02:38 +08:00
Michael (XIAO Xufeng)
12369a5faf
Merge branch 'bugfix/reserve_dma_ram_in_segments_v4.4' into 'release/v4.4'
...
psram: reserve dma pool in the step of heap max block (v4.4)
See merge request espressif/esp-idf!18858
2022-09-11 02:49:39 +08:00
Marius Vikhammer
228737d978
docs: fix documentation wrongly stating ESP_SLEEP_WAKEUP_GPIO is light sleep only
...
ESP_SLEEP_WAKEUP_GPIO is also a valid deep sleep wakeup cause on targets
with SOC_GPIO_SUPPORT_DEEPSLEEP_WAKEUP
Closes https://github.com/espressif/esp-idf/issues/9567
2022-08-24 10:50:59 +08:00
morris
23d5a582cb
Merge branch 'bugfix/fix_rtc_clock_freq_value_macro_v4.4' into 'release/v4.4'
...
rtc_clk: Fix wrong RC_FAST and RC_SLOW clock frequency values on ESP32C3 and ESP32S3
See merge request espressif/esp-idf!19665
2022-08-22 15:54:32 +08:00
Song Ruo Jing
b2f4fc022a
rtc_clk: Fix wrong RC_FAST and RC_SLOW clock frequency values on ESP32C3 and ESP32S3
2022-08-19 12:21:11 +08:00
Armando
d08be42a53
esp_psram: fixed 40mhz cs signal glitch issue
2022-08-18 20:33:12 +08:00