Mahavir Jain
3466204d18
Merge branch 'fix/esp_ptr_check_sign_compare' into 'master'
...
fix(esp_hw_support): Fix different signed comparison in `esp_ptr_in_drom`
Closes IDFGH-10398 and IDFGH-10632
See merge request espressif/esp-idf!24791
2023-07-17 12:33:56 +08:00
Darian
4fc2e5cb95
Merge branch 'feature/usb_host_restrict_ahb_errata_workaround_to_esp32s2_eco0' into 'master'
...
USB Host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips
Closes IDF-3328
See merge request espressif/esp-idf!23873
2023-07-15 19:01:03 +08:00
wuzhenghui
a5c992c8af
fix(esp_pm): fix PM_SLP_IRAM_OPT/PM_RTOS_IDLE_OPT feature
...
- Fix flash accessed code to resolve issues with PM_SLP_IRAM_OPT/PM_RTOS_IDLE_OPT enabled
2023-07-14 21:21:19 +08:00
wuzhenghui
6c14e1de9f
fix: put vddsdio configure api always in iram if pd_flash is enabled
...
- Put vddsdio configure api always in iram if pd_flash is enabled to ensure access flash at flash unavailable time
2023-07-14 20:12:59 +08:00
wuzhenghui
9f993705a6
fix: wait spi bus idle before hold CS pin
...
- Wait for spi bus idle before holding CS pin to prevent hold selected state during sleep
2023-07-14 20:12:59 +08:00
wuzhenghui
b9550a1609
feat: support cache safe assertion check
...
- Add support for cache safe assertion check to ensure that code expected to be in RAM is in IRAM
2023-07-14 20:12:59 +08:00
Jiang Jiang Jian
4b484574cd
Merge branch 'bugfix/esp32c6_eco1_ble_lpclk_main_xtal' into 'master'
...
support 40 MHz XTAL as BLE low power clock source of esp32c6 eco1
Closes WIFI-5909 and WIFI-6114
See merge request espressif/esp-idf!24235
2023-07-14 16:26:56 +08:00
Jiang Jiang Jian
0c496896ba
Merge branch 'bugfix/wifi_bcn_timeout_m_f_probe_req_l0' into 'master'
...
fix bcn_timeout and disconnect with error code 201, m f probe req l=0 issue
Closes WIFI-5722
See merge request espressif/esp-idf!24077
2023-07-14 11:31:47 +08:00
cjin
9578fdc250
ble : remove extra retention cnt upon deinit temporarily
2023-07-14 10:49:17 +08:00
cjin
cf744f9466
ble: support eco1 BLE light sleep
2023-07-14 10:49:14 +08:00
Wu Zheng Hui
e9b6472753
Merge branch 'bugfix/enable_i2c_master_clock_in_bbpll_configure' into 'master'
...
fix(rtc_clk): fix i2c master clock missing in bbpll configure
Closes WIFI-6147
See merge request espressif/esp-idf!24765
2023-07-14 00:40:21 +08:00
Laukik Hase
b61e3777b8
fix(esp_hw_support): Fix different signed comparison in esp_ptr_in_drom
...
- Closes https://github.com/espressif/esp-idf/issues/11653
- Closes https://github.com/espressif/esp-idf/issues/11865
2023-07-13 18:35:42 +05:30
Li Shuai
efa4eeafd0
light sleep: enable system clock in PMU HP sleep state when selecting a 40 MHz XTAL as low power clock source of ble
2023-07-13 20:44:56 +08:00
Li Shuai
21781b1ab1
modem clock: provide a protected wifipwr clock enable/disable interface to fix the bug of selecting xtal as the low power clock source for ble
2023-07-13 20:44:56 +08:00
Li Shuai
9950b6a527
modem clock: gatable clock interface which can gate or ungate modem clock domain
2023-07-13 20:44:56 +08:00
Chen Ji Chang
7ec38eb309
Merge branch 'bugfix/update_all_esp32xxx/rom/gpio.h_comments' into 'master'
...
gpio: Update the incorrect comments in rom/gpio.h
Closes IDFGH-10490
See merge request espressif/esp-idf!24487
2023-07-13 19:44:31 +08:00
Darian Leung
8450f3119e
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-07-13 12:37:35 +02:00
Li Shuai
19809bdebf
power save: fix bcn_timeout and disconnect with error code 201, m f probe req l=0 issue
2023-07-13 16:59:31 +08:00
wuzhenghui
14ea226351
fix(rtc_clk): fix i2c master clock missing in bbpll configure
2023-07-13 14:07:35 +08:00
Chen Jichang
b9c22b126a
bugfix(driver/gpio):update the incorrect comment
...
There are some register description errors in parts of rom/gpio.h
This commit update the incorrect comments in rom/gpio.h And now
esp_rom_gpio.h is recommend instead of rom/gpio.h. So this commit adds
macro SIG_GPIO_OUT_IDX in esp_rom_gpio_connect_out_signal
function and removes the reference to gpio.h in some source files.
Closes https://github.com/espressif/esp-idf/issues/11737
2023-07-13 10:52:50 +08:00
morris
56a376c696
feat(esp_gdma): add hal interface for common operations
...
GDMA driver will be adapted to more DMA peripherals in the future.
This commit is to extract a minimal interface in the hal layer
2023-07-10 13:45:57 +08:00
Song Ruo Jing
ea48030514
Merge branch 'refactor/rtcio_caps_responsibility' into 'master'
...
refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps
Closes IDF-7406
See merge request espressif/esp-idf!24522
2023-07-07 14:25:47 +08:00
Armando (Dou Yiwen)
adb93a3770
Merge branch 'feature/add_esp32p4_soc_support_part_3' into 'master'
...
soc: added soc headers for esp32p4 (part 3)
See merge request espressif/esp-idf!24481
2023-07-07 11:44:46 +08:00
Wu Zheng Hui
94613a5904
Merge branch 'bugfix/fix_deepsleep_wakestub_example_ci_failure_master' into 'master'
...
ci: fix deepsleep wakestub example ci failure
See merge request espressif/esp-idf!24466
2023-07-07 11:38:14 +08:00
Kevin (Lao Kaiyao)
a6e2ea141a
Merge branch 'refactor/adc_2nd_step_calib_coeff_stuff' into 'master'
...
adc_calib: refactor 2nd step coeff
Closes IDF-7653
See merge request espressif/esp-idf!24397
2023-07-06 20:32:31 +08:00
Armando
2f6ce0cc17
fix(regi2c): wrong ADC_CALI_PD_WORKAROUND on c6, h2
2023-07-06 17:54:31 +08:00
laokaiyao
edc1abc8ea
refactor(adc_calib): Simplify 2nd step coefficient calculation
...
- remove unnecessary variables and calculations
- improve readability of code
2023-07-06 14:22:03 +08:00
Jin Chen
d918b5226c
Merge branch 'ble_dev/support_esp32h2_modem_clock_selection' into 'master'
...
ble: support esp32h2 modem clock selection
Closes EBLE50Y23-129
See merge request espressif/esp-idf!24387
2023-07-06 13:58:11 +08:00
wuzhenghui
05d15a2eed
sleep: enrich top_domain_pd_allowed function description
2023-07-05 11:16:44 +00:00
Song Ruo Jing
4985caa38f
refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps
2023-07-05 11:47:51 +08:00
Li Shuai
f4c3b07436
fix(rtc_clk): fix the issue of missing configuration for calibration cycles of the internal 32 kHz RC
2023-07-04 11:23:07 +08:00
cjin
3d2342df6c
ble: support esp32h2 modem clock selection
2023-07-03 16:05:42 +08:00
xiaqilin
59ffcd07d6
ieee802154: change BLE_BB/ieee802154_BB
2023-07-03 02:21:58 +00:00
xiaqilin
95afd4b9af
openthread: add openthread autostart for sleep device
2023-07-03 02:21:58 +00:00
xiaqilin
485a9d44cf
ieee802154: add sleep state
2023-07-03 02:21:58 +00:00
xiaqilin
dc4b3f24bc
ieee802154: support light sleep
2023-07-03 02:21:58 +00:00
Lou Tian Hao
7c2ac1feb6
Merge branch 'bringup/esp32h2_light_sleep_for_rebase' into 'master'
...
esp32h2: support light_sleep
Closes IDF-6266 and IDF-7359
See merge request espressif/esp-idf!23567
2023-06-28 10:37:18 +08:00
morris
7fc9d3fe69
Merge branch 'test/check_soc_header_file_compile' into 'master'
...
soc: check the soc header files can compile
Closes IDF-5721
See merge request espressif/esp-idf!24393
2023-06-27 13:30:19 +08:00
Wu Zheng Hui
173d0951ee
Merge branch 'feature/improve_pd_vddsido_help_doc' into 'master'
...
Power Management: improve ESP_SLEEP_PSRAM/FLASH_LEAKAGE_WORKAROUND help doc
Closes IDFGH-10297
See merge request espressif/esp-idf!24301
2023-06-26 23:01:31 +08:00
morris
1c0be26531
fix(soc): soc header files can pass CI check
2023-06-26 23:00:45 +08:00
Lou Tianhao
6ee0f89676
Power Management: fix hp xtal wait bug for esp32h2 and esp32c6
2023-06-26 21:05:17 +08:00
Lou Tianhao
a329b15e7e
Power Management: support pu xtal in light sleep for esp32h2
2023-06-26 21:05:16 +08:00
Lou Tianhao
117008143b
bugfix: remove the workaround implemented in MR 22773 about the lp_timer
2023-06-26 21:05:16 +08:00
Lou Tianhao
7fd74057a3
example: bringup light sleep example for esp32h2
2023-06-26 21:05:16 +08:00
Lou Tianhao
2657d8f307
Power Management: change the IO hold interface for esp32c6
2023-06-26 21:05:16 +08:00
Lou Tianhao
ca55b91242
Power Management: update pmu init and sleep parameter
2023-06-26 21:05:16 +08:00
Lou Tianhao
b06cadddb3
Power Management: fix REGDMA clock issue when wake up form light sleep
2023-06-26 21:05:10 +08:00
Lou Tianhao
8457998505
Power Management: fix REGDMA power issue when TOP domain powered down during light sleep for esp32h2
2023-06-26 20:58:59 +08:00
Lou Tianhao
b4210682c8
Power Management: support TOP domain powered down in light sleep for esp32h2
2023-06-26 20:58:59 +08:00
Lou Tianhao
46cf3ecdc2
Power Management: support PAU REGDMA feature for esp32h2
2023-06-26 20:58:59 +08:00