wuzhenghui
5351275c87
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-18 19:56:56 +08:00
Song Ruo Jing
0e759c6deb
Merge branch 'refactor/esp_driver_uart' into 'master'
...
refactor(uart): make uart driver as component
Closes IDF-8384
See merge request espressif/esp-idf!27333
2023-12-18 19:16:34 +08:00
morris
0bc94b3210
Merge branch 'refactor/async_mcp_non_cacheable_descriptor' into 'master'
...
feat(async_mcp): access DMA descriptor bypass cache
See merge request espressif/esp-idf!27809
2023-12-15 18:30:54 +08:00
Song Ruo Jing
6ad80f0332
refactor(uart): make uart driver as component, and fix astyle
2023-12-15 17:03:51 +08:00
Lou Tianhao
d8b1f7207a
change(pm): change macro SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG
2023-12-15 15:04:06 +08:00
Armando (Dou Yiwen)
30a0d847f3
Merge branch 'feature/esp32p4_base_ldo_support' into 'master'
...
ldo: new ldo driver on P4
Closes IDF-8808
See merge request espressif/esp-idf!27728
2023-12-15 12:31:17 +08:00
morris
d875d021e1
Merge branch 'feature/gdma_etm_esp32p4' into 'master'
...
feat(gdma): support ETM sub-driver on esp32p4
See merge request espressif/esp-idf!27719
2023-12-15 12:24:06 +08:00
wuzhenghui
7de2728733
fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6
2023-12-14 08:57:06 +00:00
Armando
9143a9dc90
feature(ldo): ldo driver
2023-12-14 12:46:51 +08:00
Jiang Jiang Jian
80c2bd3d7c
Merge branch 'bugfix/put_extra_link_retention_in_iram' into 'master'
...
fix(pm): place extra link opt in iram
Closes PM-30
See merge request espressif/esp-idf!27625
2023-12-14 10:28:34 +08:00
morris
bf00021b37
feat(dw_gdma): channel allocator driver
2023-12-12 03:35:05 +00:00
Marius Vikhammer
79d04d4e14
Merge branch 'docs/update_sys_docs_p4' into 'master'
...
docs(esp32p4): update misc docs for esp32p4
Closes IDF-7751, IDF-7754, and IDF-7749
See merge request espressif/esp-idf!27713
2023-12-11 14:14:35 +08:00
Jiang Jiang Jian
e60bc50ba4
Merge branch 'bugfix/fix_esp32h2_system_retention_restore' into 'master'
...
fix(esp_hw_support): fix esp32h2 retention link restore override the cpu clk configuration
Closes PM-29
See merge request espressif/esp-idf!27317
2023-12-11 11:01:55 +08:00
Jiang Jiang Jian
291c7a6506
Merge branch 'bugfix/fix_esp32c6eco1_depends_on_wifi_pwr_domain' into 'master'
...
fix(esp_hw_support): fix ble on esp32c6eco1 depends on wifipwr clock domain
Closes PM-34, BLERP-325, and BLERP-326
See merge request espressif/esp-idf!27412
2023-12-11 10:56:16 +08:00
morris
987174c203
feat(async_mcp): access DMA descriptor bypass cache
2023-12-10 15:19:27 +08:00
Marius Vikhammer
ac3915f092
docs(esp32p4): update misc docs for esp32p4
2023-12-09 09:09:55 +08:00
wuzhenghui
e1d24ebd7f
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-07 07:50:32 +00:00
wuzhenghui
5280ef4924
fix(esp_hw_support): fix ble on esp32c6eco1 depends on wifipwr clock domain
2023-12-07 14:02:04 +08:00
morris
a7577f88bd
feat(gdma): support ETM subsystem on esp32p4
2023-12-06 18:02:43 +08:00
Zhang Wen Xu
636092d2a4
Merge branch 'feature/add_config_to_set_using_custom_mac_as_base_mac' into 'master'
...
feat(mac): Add a configuration to set custom MAC as base MAC
See merge request espressif/esp-idf!26820
2023-12-06 16:29:41 +08:00
wuzhenghui
b6669d76b2
fix(esp_hw_support): fix esp32h2 system link restore override cpu clk configuration
2023-12-06 13:58:51 +08:00
zwx
a58c416a60
feat(mac): Add a configuration to set custom MAC as base MAC
2023-12-06 10:46:22 +08:00
Armando (Dou Yiwen)
96c1aea50a
Merge branch 'change/split_fpga_overrides.c' into 'master'
...
bringup: added bypass rng configuration for bringup stage
See merge request espressif/esp-idf!27657
2023-12-05 16:55:43 +08:00
Darian
e3191df37a
Merge branch 'change/deprecate_legacy_xtensa_include_path' into 'master'
...
change(xtensa): Deprecate legacy include paths
Closes IDF-7230
See merge request espressif/esp-idf!26725
2023-12-05 15:05:29 +08:00
Armando
2c32bd209a
change(fpga): added bypass rng configuration
2023-12-05 11:38:35 +08:00
cjin
797edb54fa
fix(pm): place extra link opt in iram
2023-12-04 14:46:42 +08:00
Jakob Hasse
ffedd74f52
Merge branch 'fix/esp_hw_support_remove_unused_include_dirs' into 'master'
...
fix(esp_hw_support): Removed nonexistent include directories from cmake
Closes IDFGH-11581
See merge request espressif/esp-idf!27551
2023-12-04 12:26:43 +08:00
Darian
cc34c4fc08
Merge branch 'contrib/github_pr_12481' into 'master'
...
Many places in the ESP_SYSTEM are using CONFIG_FREERTOS_UNICORE instead of CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE (GitHub PR)
Closes IDFGH-11333
See merge request espressif/esp-idf!27435
2023-12-01 19:33:19 +08:00
Jakob Hasse
637d4c4381
fix(esp_hw_support): Removed unused include directories from cmake
...
* Closes https://github.com/espressif/esp-idf/issues/12700
2023-12-01 11:33:12 +08:00
Darian Leung
8c2949a97e
change(xtensa): Deprecate ".../xtensa_timer.h" include path
...
This commit deprecates the "freertos/xtensa_timer.h" and "xtensa/xtensa_timer.h"
include paths. Users should use "xtensa_timer.h" instead.
- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_timer.h"
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
Darian Leung
a5d5ee7445
change(xtensa): Deprecate ".../xtensa_context.h" include path
...
This commit deprecates the "freertos/xtensa_context.h" and "xtensa/xtensa_context.h"
include paths. Users should use "xtensa_context.h" instead.
- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
Darian Leung
2204c8e137
change(xtensa): Deprecate ".../xtensa_api.h" include path
...
This commit deprecates the "freertos/xtensa_api.h" and "xtensa/xtensa_api.h"
include paths. Users should use "xtensa_api.h" instead.
- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Replaced some calls with "esp_cpu_..." equivalents
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
Kevin (Lao Kaiyao)
cd9d321062
Merge branch 'feature/introduce_target_esp32c5' into 'master'
...
feat(esp32c5): introduce target esp32c5 (stage 1)
See merge request espressif/esp-idf!27299
2023-11-29 20:31:34 +08:00
Jiang Jiang Jian
234e5e8d09
Merge branch 'feat/max_ver_c3_199' into 'master'
...
feat(soc): Increase max supported version of C3 to 1.99
See merge request espressif/esp-idf!26821
2023-11-29 11:17:59 +08:00
laokaiyao
bb0879b3f8
feat(esp32c5): introduce target esp32c5
2023-11-28 16:14:17 +08:00
fl0wl0w
d149c1b26f
Use configuration option instead of in components not related to FreeRTOS
...
Mergeshttps://github.com/espressif/esp-idf/pull/12481
2023-11-28 07:49:20 +00:00
Ivan Grokhotkov
75c92c3a66
refactor(startup): implement registration of core init functions
...
Similar to how the secondary init functions were already registered
via ESP_SYSTEM_INIT_FN, do the same for the core init functions.
This MR doesn't actually move the init functions into respective
components yet. This has to be carefully done in follow-up MRs.
2023-11-27 10:20:51 +01:00
Michael (XIAO Xufeng)
eb93daafd0
feat(soc): Increase max supported version of C3 to 1.99
2023-11-23 06:58:18 +00:00
Wu Zheng Hui
581824d1f2
Merge branch 'feature/reinitialize_icg_map_in_modem_module_enable' into 'master'
...
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable
Closes WIFI-6312
See merge request espressif/esp-idf!27168
2023-11-23 11:55:34 +08:00
Jiang Jiang Jian
275a7ec2a2
Merge branch 'fix/esp32c6_sleep_pll_issue' into 'master'
...
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue
Closes BLERP-105, BLERP-213, and BLERP-234
See merge request espressif/esp-idf!26208
2023-11-22 10:29:48 +08:00
morris
106baac0bc
Merge branch 'feature/rmt_receive_partial_callback' into 'master'
...
feat(rmt): support partial receive if the incoming packet is very long
Closes IDF-6579
See merge request espressif/esp-idf!27033
2023-11-22 06:37:46 +08:00
Lou Tian Hao
cde12242b4
Merge branch 'feature/support_ext1_clear_spec_pins' into 'master'
...
feat: support ext1 add or remove spec pin for chips which support ext1 wakeup
Closes IDFGH-11440
See merge request espressif/esp-idf!26999
2023-11-21 11:29:33 +08:00
Marius Vikhammer
4bb8f5c577
Merge branch 'feature/remove_esp_spi_g1' into 'master'
...
refactor(spi): moved spi hw sharing func to hw support
Closes IDF-8503
See merge request espressif/esp-idf!27110
2023-11-21 10:26:55 +08:00
xiaqilin
a0ecd49725
feat(pm): change power up/down register callback name
2023-11-21 10:18:55 +08:00
cjin
e98e291601
fix(pm): switch root clk src to PLL for modem reg opt and added callback
2023-11-21 10:18:32 +08:00
xiaqilin
f428f9d8c0
fix(pm): remove unuse extra_refs related code
2023-11-21 10:18:03 +08:00
cjin
ff69928064
feat(pm): change power down prepare position
2023-11-21 10:18:03 +08:00
xiaqilin
b9baf49782
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue
2023-11-21 10:18:03 +08:00
Lou Tianhao
ea7cfc40ae
change(pm/ext1): replace esp_sleep_clear_ext1_wakeup_io by esp_sleep_disable_ext1_wakeup_io
2023-11-20 19:30:50 +08:00
morris
05e6ccbba7
feat(gdma): can read interrupt raw status
2023-11-20 17:25:57 +08:00
morris
2f72b3578a
feat(gdma): distinguish abnormal and normal eof in the gdma event data
2023-11-20 17:25:57 +08:00
Lou Tianhao
b86d550ec5
change(pm/ext): remove ext0_wakeup_clear and ext1_wakeup_clear
2023-11-20 16:36:50 +08:00
Lou Tianhao
8db9f79bd2
change(pm/ext1): replace esp_sleep_set_ext1_wakeup_io by esp_sleep_enable_ext1_wakeup_io
2023-11-20 16:04:01 +08:00
Lou Tianhao
d97f45b3a8
bugfix: ext0_wakeup_prepare func when s_config.wakeup_triggers & RTC_EXT0_TRIG_EN == false
2023-11-20 16:03:57 +08:00
Marius Vikhammer
52e3f09b32
refactor(spi): moved spi hw sharing func to hw support
...
Common spi functionality for sharing the SPI bus between modules is moved from esp_driver_spi to
a more fitting location in esp_hw_support (shared HW resource control).
This also allows us to decouple the spi_flash driver from esp_driver_spi, removing
esp_driver_spi and esp_ringbuf from G1 builds.
2023-11-20 12:07:54 +08:00
Kevin (Lao Kaiyao)
f0129e17a8
Merge branch 'refactor/esp_driver_ana_cmpr' into 'master'
...
refactor(ana_cmpr): make analog comparator driver as component
Closes IDF-8521
See merge request espressif/esp-idf!27029
2023-11-17 19:07:08 +08:00
Lou Tianhao
a02f72bb81
change(pm/ext1): replace deprecated ext1 func
2023-11-17 16:20:54 +08:00
Lou Tianhao
5b91acb1a1
fix(pm/ext1): ext1_wakeup_prepare func when s_config.wakeup_triggers & RTC_EXT1_TRIG_EN == false
2023-11-17 16:20:38 +08:00
Lou Tianhao
cc0e73a11f
feat(pm/ext1): support esp_sleep_enable_io_ext1_wakeup and esp_sleep_disable_io_ext1_wakeup
...
squash! feat(pm/ext1): support esp_sleep_enable_io_ext1_wakeup and esp_sleep_disable_io_ext1_wakeup
2023-11-17 16:20:38 +08:00
wuzhenghui
6661e11203
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable
2023-11-17 14:05:23 +08:00
laokaiyao
bc0201d6f0
refactor(ana_cmpr): make analog comparator driver as component
2023-11-17 10:05:22 +08:00
wuzhenghui
783059a592
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting
2023-11-16 18:11:57 +08:00
Wu Zheng Hui
bb95f9bcc6
Merge branch 'bugfix/fix_psram_access_faild_after_pd_cpu_wakeup' into 'master'
...
fix(esp_pm): fix psram access failed after pd_cpu wakeup if uart driver driven console is used
Closes WIFIBUG-238
See merge request espressif/esp-idf!27020
2023-11-14 11:50:50 +08:00
Jiang Jiang Jian
97e33fbb75
Merge branch 'bugfix/fix_lightsleep_current_leakage_on_usj_pad' into 'master'
...
fix(esp_hw_support): fix lightsleep current leakage on usb pad
Closes IDF-6154 and PM-18
See merge request espressif/esp-idf!26470
2023-11-14 11:17:29 +08:00
wuzhenghui
232187d12c
change(esp_pm): improve POWER_DOWN_TAGMEM_IN_LIGHT_SLEEP description
...
Rename PM_POWER_DOWN_TAGMEM_IN_LIGHT_SLEEP to PM_RESTORE_CACHE_TAGMEM_AFTER_LIGHT_SLEEP
and improve the description for it
2023-11-13 16:32:25 +08:00
Marius Vikhammer
d293ad94bd
feat(pm): removed dependency on driver component
2023-11-13 15:49:12 +08:00
Marius Vikhammer
74887d81c9
refactor(system): removed dependency on driver from g1 components
...
esp-system and esp-hw-support, and the rest of the g1 components, now only depend on
esp_driver_spi and esp_driver_gpio. Removing the rest of the driver components from g1 builds.
2023-11-13 15:42:48 +08:00
morris
ed6ede696e
Merge branch 'feature/esp_driver_mcpwm' into 'master'
...
feat(mcpwm): refactor mcpwm driver into a component
Closes IDF-8379
See merge request espressif/esp-idf!26738
2023-11-13 15:26:56 +08:00
wuzhenghui
0ab0d2182e
fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad
2023-11-11 13:00:55 +08:00
Jiang Jiang Jian
221122ebeb
Merge branch 'bugfix/fix_deinit_init_wifi_scan_fail_issue' into 'master'
...
fix(wifi): fix deinit init wifi scan fail issue
Closes WIFIBUG-200 and WIFI-5775
See merge request espressif/esp-idf!26957
2023-11-10 11:05:03 +08:00
morris
eb5183f503
feat(mcpwm): refactor mcpwm driver into a component
2023-11-09 22:05:06 +08:00
muhaidong
91bd2c8541
change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk
2023-11-09 14:17:54 +08:00
Wu Zheng Hui
a9ea49cba2
Merge branch 'bugfix/clear_ulp_wake_intr_in_wake_source_enable' into 'master'
...
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable
Closes PM-14
See merge request espressif/esp-idf!26674
2023-11-07 16:58:38 +08:00
Armando (Dou Yiwen)
0c81f41e16
Merge branch 'bugfix/fix_wrong_adc_attenuation_name' into 'master'
...
adc: rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
See merge request espressif/esp-idf!26460
2023-11-07 10:37:24 +08:00
Armando
d3be2541de
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-06 18:55:49 +08:00
morris
2ef14fe55e
refactor(gptimer): refactor gptimer driver into a component
2023-11-06 17:09:31 +08:00
Song Ruo Jing
9461993ec5
refactor(gpio): make gpio driver as component, and fix astyle
2023-11-03 15:42:23 +08:00
Jiang Jiang Jian
b839a70aea
Merge branch 'bugfix/lp_active_slow_clock_domain_default_power_down' into 'master'
...
In the LP ACTIVE state, the slow clock power domain is by default in a powered-off state
Closes IDF-8410
See merge request espressif/esp-idf!26599
2023-11-02 17:04:30 +08:00
Marius Vikhammer
95703297a6
Merge branch 'ci/psram_config_fix' into 'master'
...
ci: fix warnings for invalid kconfig option
See merge request espressif/esp-idf!23250
2023-11-02 13:44:04 +08:00
Marius Vikhammer
77bb19c49e
ci(build): fixed/ignored warnings from unknown symbols in sdkconfig.defaults
2023-11-01 01:14:00 +00:00
morris
d78750306d
refactor(emac): use clock_output driver for configuring RMII reference clock
2023-10-31 14:24:48 +08:00
wuzhenghui
18f984fd9c
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable
2023-10-30 11:18:01 +08:00
Li Shuai
fa489d3c20
change(Power Management): the xpd_xtal32k value depends on system slow clock source config option when pmu initialize
2023-10-24 17:11:53 +08:00
Xiao Xufeng
1f5fb3f921
spi_flash: fixed issue that enabling HPM-DC by default may cause app unable to restart
2023-10-24 10:38:08 +08:00
Lou Tianhao
13a405a32b
change(pm): Change sleep callback implement
2023-10-23 08:13:47 +00:00
Jiang Jiang Jian
0049cc663a
Merge branch 'feature/support_output_internal_clock' into 'master'
...
feature(gpio): Add api to support output internal clock
Closes IDF-8016 and IDF-4935
See merge request espressif/esp-idf!25753
2023-10-22 22:06:13 +08:00
wuzhenghui
d6cda1b6e1
ci(esp_hw_support): add test case for gpio output internal clock feature ci
2023-10-20 14:55:10 +08:00
wuzhenghui
7195bf19df
feat(esp_hw_support): support one-to-many signal-gpio mapping output
2023-10-20 14:55:06 +08:00
wuzhenghui
6a436286dc
feat(esp_hw_support): add api to gpio driver to support output internal clock on GPIO
2023-10-20 14:35:26 +08:00
Jiang Guang Ming
5f00b8a4d5
fix(esp32c3): Update esp32c3 chip revision
2023-10-20 11:01:07 +08:00
Armando (Dou Yiwen)
471f1f61ae
Merge branch 'feature/support_sdmmc_ver2_on_p4' into 'master'
...
sdmmc: esp32p4 support
Closes IDF-6502
See merge request espressif/esp-idf!25405
2023-10-19 22:00:40 +08:00
Jiang Jiang Jian
a94bb6201b
Merge branch 'bugfix/deep_sleep_force_to_sleep' into 'master'
...
fix(esp_hw_support): Return deep sleep APIs to the original behavior
Closes IDFGH-11192, PM-11, and IDF-7600
See merge request espressif/esp-idf!26341
2023-10-19 14:27:02 +08:00
Wan Lei
a9b6c98489
Merge branch 'refactor/spi_using_rcc_automic_lock' into 'master'
...
refac(spi): update periph_module_xxx with rcc_atomic_lock for periph bus
Closes IDF-8159
See merge request espressif/esp-idf!26394
2023-10-18 20:36:51 +08:00
Armando
7879b29b0c
feat(dma): added a helper api to check buffer is dma aligned
2023-10-18 11:57:55 +00:00
Armando
70314b56d5
feat(sdmmc): supported sd2.0 on esp32p4
2023-10-18 11:57:55 +00:00
wuzhenghui
97e001d603
fix(esp_hw_support): fix pm tests failure caused by non-iram safe test code
2023-10-17 20:56:43 +08:00
wanlei
b81cafe42e
refac(spi): update periph_module_xxx with rcc_automic_lock for periph bus
2023-10-17 11:32:23 +08:00
Michael (XIAO Xufeng)
2308292ca3
Merge branch 'bugfix/revert_pvt' into 'master'
...
Revert "feat(volt): chip auto adjust volt for esp32c6 & esp32h2"
See merge request espressif/esp-idf!26425
2023-10-16 12:53:07 +08:00
Mahavir Jain
dbc33ca7aa
Merge branch 'feature/add_intr_priority_config_option' into 'master'
...
feat(mbedtls): Add config for interrupt priority in AES and RSA
Closes IDF-7963 and IDF-7964
See merge request espressif/esp-idf!26190
2023-10-16 11:33:03 +08:00
Mahavir Jain
6b62065b92
Merge branch 'fix/crypto_periphs_use_rcc_atomic_blocks' into 'master'
...
Use rcc atomic blocks to enable/reset crypto peripherals
See merge request espressif/esp-idf!25811
2023-10-13 22:37:58 +08:00