Commit Graph

456 Commits

Author SHA1 Message Date
morris
035c7c145c feat(clk_cali): always enable timer group0 for clock calibration
Calibration registers are located in the timer group0,
this commit is going to always enable it when the calibration is used by app
2023-08-22 17:05:35 +08:00
Marius Vikhammer
27baef2424 docs(esp32p4): added building docs for ESP32-P4 2023-08-16 10:13:47 +08:00
Armando
706d684418 feat(esp32p4): introduced new target esp32p4, supported hello_world 2023-08-09 19:33:25 +08:00
Armando
de68029de9 change(header): modify p4 headers issues from check_header_py 2023-08-04 14:13:59 +02:00
morris
55ea6b78a7 Merge branch 'feature/async_memcpy_rewrite' into 'master'
feat(async_memcpy): refactor driver code to support different DMA backends

See merge request espressif/esp-idf!25050
2023-08-04 17:52:13 +08:00
wuzhenghui
c34cdd05e9 fix(esp_hw_support): manage i2c_ana_mst clock witch modem clock driver 2023-08-04 10:39:43 +08:00
morris
fd3d1aa101 feat(async_memcpy): refactor driver code to support different DMA backen
To support AHB and AXI DMA memory copy for the same target (esp32p4).
2023-08-03 12:02:09 +08:00
Song Ruo Jing
8b574fb87f remove(clk): remove warning log if RC_FAST clock calibration is needed on esp32h2 2023-07-26 20:29:58 +08:00
Lou Tian Hao
57c6c0a1a3 Merge branch 'bringup/esp32h2_deep_sleep_for_rebase' into 'master'
esp32h2: support deep_sleep

Closes IDF-6268, IDF-6572, and IDF-7406

See merge request espressif/esp-idf!24438
2023-07-24 10:47:51 +08:00
Song Ruo Jing
4b9f601ac3 Merge branch 'feature/esp32p4_clock_prework_support' into 'master'
feat(clk): Add support to get xtaL freq for ESP32P4

See merge request espressif/esp-idf!24927
2023-07-21 00:12:18 +08:00
Song Ruo Jing
b8a8713f96 feat(clk): Add support to get xtaL freq for ESP32P4 2023-07-20 18:13:13 +08:00
Lou Tianhao
7bd92287c4 change(pm/deepsleep): Update deep_sleep pmu analog parameter for esp32h2 2023-07-20 11:43:57 +08:00
Lou Tianhao
dcacd8cdf8 feat(pm/deepsleep): Support deep_sleep example and deep_sleep_wake_stub example for esp32h2 2023-07-20 11:43:57 +08:00
Mahavir Jain
6431091ce6
fix(esp32h2): correct typo in chip revision prompt 2023-07-18 20:46:45 +05:30
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
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
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
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
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
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
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
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
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
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
46cf3ecdc2 Power Management: support PAU REGDMA feature for esp32h2 2023-06-26 20:58:59 +08:00
Lou Tianhao
63d32ab620 Power Management: support DFS and PMU feature for esp32h2 2023-06-26 20:57:55 +08:00
Michael (XIAO Xufeng)
702e97e9be Merge branch 'feat/kconfig_c3_v1.0_dev' into 'master'
esp32c3: add development option for v1.0 chips

See merge request espressif/esp-idf!24205
2023-06-14 15:03:50 +08:00
Michael (XIAO Xufeng)
1490424ab6 esp32c3: add development support option for v1.0 chips 2023-06-13 17:39:13 +08:00
Armando
101e6a18eb esp32p4: introduce the target
Add esp32p4 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32p4`
2023-06-13 15:16:11 +08:00
morris
575ad2bd6f Merge branch 'bugfix/adc_outof_bound_read' into 'master'
adc: fix out of bound read

See merge request espressif/esp-idf!24134
2023-06-12 14:13:57 +08:00
Wu Zheng Hui
2b6551f84d Merge branch 'bugfix/support_esp326_xtal_xpd' into 'master'
esp32c6: support xtal xpd

Closes IDF-7318

See merge request espressif/esp-idf!22932
2023-06-12 11:28:59 +08:00
morris
88600bd91b driver: minor code clean up to pass coverity scan test 2023-06-10 16:21:12 +08:00
wuzhenghui
8a1e63c8ad feature: support xtal_xpd pmu parameters 2023-06-08 17:23:52 +08:00
Xiao Xufeng
91fc40cfd9 esp32: stop using deprecated name PICOD2 to avoid confusion 2023-06-08 02:09:12 +08:00
Jiang Jiang Jian
d89919999e Merge branch 'bugfix/fix_hang_during_sleep_process' into 'master'
bugfix: fix hang on pd_top sleep process

Closes AEG-582

See merge request espressif/esp-idf!23634
2023-05-31 17:23:08 +08:00
Li Shuai
e505e19798 Merge branch 'bugfix/fix_rc_fast_calibration' into 'master'
rtc_clk: fix esp32c6/esp32h2 eco chip `RC_FAST` bad calibration value

Closes WIFI-5938

See merge request espressif/esp-idf!23927
2023-05-29 19:57:46 +08:00
wuzhenghui
5c74093300 bugfix: treat too short sleep duration as sleep reject by software 2023-05-29 16:35:03 +08:00
Michael (XIAO Xufeng)
8c2b709817 Merge branch 'bugfix/fix_ocode_check_on_c6' into 'master'
adc_cali: fix the condition of ocode calibration

See merge request espressif/esp-idf!23916
2023-05-26 11:35:51 +08:00
laokaiyao
de8ae73de3 adc_cali: fix the condition of ocode calibration 2023-05-25 21:49:40 +08:00
Michael (XIAO Xufeng)
041ce02a14 Merge branch 'bugfix/add_warning_for_rc_fast_calibration_h2' into 'master'
clk: Add warning log if RC_FAST clock calibration is needed on esp32h2

See merge request espressif/esp-idf!23743
2023-05-25 21:39:02 +08:00
wuzhenghui
3ae1f0ea5d bugfix: fix rc_fast bad calibration value 2023-05-25 21:21:14 +08:00
laokaiyao
ffb40a89d9 adc_cali: supported channel compensation of adc calibration on esp32c6 2023-05-23 22:44:25 +08:00
Sudeep Mohanty
ec742abb25 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:27:51 +02:00
wuzhenghui
d197c59eaa bugfix: move adc_oneshot_power_acquire/release to adc_oneshot_read
Closes https://github.com/espressif/esp-idf/issues/10595
Closes https://github.com/espressif/esp-idf/issues/11386
2023-05-18 10:29:50 +08:00
Song Ruo Jing
a9c78245a0 clk: Add warning log if RC_FAST clock calibration is needed on esp32h2 2023-05-16 03:52:11 +00:00
Michael (XIAO Xufeng)
e20a57d42e Merge branch 'Bugfix/fix_tsen_issue' into 'master'
Temperature sensor: fix return value issue @low temp on H2

See merge request espressif/esp-idf!23648
2023-05-12 11:55:47 +08:00