Wan Lei
e1ed893550
Merge branch 'fix/spi_flash_replace_gpio_hal' into 'master'
...
fix(spi_flash): replace gpio_hal_iomux_func_sel
See merge request espressif/esp-idf!29478
2024-05-24 22:15:34 +08:00
wanlei
8762c4d1df
fix(spi_flash): replace gpio_hal_iomux_func_sel
2024-05-23 16:29:22 +08:00
Armando
10d3912c70
feat(xip_psram): support xip psram feature on esp32p4
2024-05-22 15:56:07 +08:00
gaoxu
6d82c324bb
feat(adc): move adc periph enable/reset functions to ll layer
2024-05-22 15:23:58 +08:00
C.S.M
9b3bd13a13
feat(brownout): Add brownout detector support on esp32p4
2024-05-21 15:03:28 +08:00
nilesh.kale
b227154fd3
fix(soc): Refactor variable names for MPI operations and block bases
2024-05-14 10:34:33 +05:30
C.S.M
15cf203632
feature(usb_serial_jtag): add usb serial jtag support for esp32p4
2024-05-11 14:16:57 +08:00
Wan Lei
cceec04195
Merge branch 'refactor/spi_slave_hal_iram_dma_replace' into 'master'
...
refactor(spi_slave): spi slave and slave HD hal iram dma_ll replace
Closes IDF-6152 and IDF-9656
See merge request espressif/esp-idf!27877
2024-04-30 20:16:18 +08:00
Marius Vikhammer
76b7d12329
Merge branch 'feature/lp_core_interrupts' into 'master'
...
feat(ulp): support interrupts for C6/P4 LP core
Closes IDFGH-11986 and IDF-7200
See merge request espressif/esp-idf!30399
2024-04-29 14:36:54 +08:00
Marius Vikhammer
c5a513cf49
feat(ulp): support interrupts for C6/P4 LP core
...
Closes https://github.com/espressif/esp-idf/issues/13059
2024-04-28 17:03:23 +08:00
morris
e8e975112a
feat(rmt): support sleep retention
...
by back up the registers
2024-04-24 22:10:42 +08:00
wanlei
67f798b666
refactor(spi_slave): replace dma_ll in slave hal layer (part 2.2)
2024-04-24 14:01:09 +08:00
Song Ruo Jing
bf3067fa8a
fix(gpio_etm): allow one GPIO binds to multiple ETM tasks
2024-04-23 20:37:34 +08:00
wuzhenghui
309725fcd0
feat(esp_hw_support): support esp32p4 clock output
2024-04-17 15:09:49 +08:00
wuzhenghui
101f1abbf1
refactor(esp_hw_support): add hal layer for clock output feature
2024-04-17 14:25:29 +08:00
Mahavir Jain
c44369de7a
fix: cleanup MPU LL files for RISC-V architecture SoCs
2024-04-16 09:50:46 +05:30
Konstantin Kondrashov
06c28f0ee9
feat(hal): Adds hal funcs for cpu.c
2024-04-11 13:07:04 +03:00
Lou Tianhao
2c59c4fbf2
fix(ci): bypass c5mp ci check
2024-04-10 20:45:49 +08:00
morris
e8b6d2280d
change(gptimer): use private unsafe RCC LL functions in bootloader
2024-04-08 17:48:20 +08:00
C.S.M
6224fca8a0
Merge branch 'feature/support_lp_i2c_in_drv' into 'master'
...
feat(i2c_master): Add feature for support using lp_i2c in i2c_master driver
See merge request espressif/esp-idf!29907
2024-04-07 19:27:04 +08:00
Darian Leung
023eae4f0b
feat(hal/usb): Update USB WRAP and USJ LL, add missing ESP32-P4 LL
...
This commit updates updates the LLs of USB WRAP and USJ as follows:
- Added missing 'usb_wrap_ll.h' and 'usb_serial_jtag_ll.h' for the ESP32-P4
- Added LL cap macros to distinguish feature differences between the LLs of
different targets:
- '..._LL_EXT_PHY_SUPPORTED' indicates whether the USB WRAP/USJ supports
routing to an external FSLS PHY.
- '..._LL_SWAP_PHY_SUPPORTED' indicates whether the USB WRAP/USJ supports
swapping between multiple internal FSLS PHYs.
- Tidied up some RCC LL functions and their callers.
- Added 'usb_wrap_types.h' and 'usb_serial_jtag_types.h' to provide types used
in LLs.
- Fixed some spelling/naming issues as part of code-spell pre-commit
2024-04-04 02:47:00 +08:00
Cao Sen Miao
0985bfbe27
feat(i2c_master): Add lp_i2c support in i2c master driver
2024-04-03 11:39:04 +08:00
Armando
f0518b3c16
feat(dma): advanced dma malloc helper
2024-04-02 14:30:14 +08:00
Jiang Jiang Jian
0c68b9b06c
Merge branch 'feat/sleep_retention_depends_power_state_management' into 'master'
...
sleep retention multiple modules initialization and dependency management
Closes WIFI-5252 and IDFGH-11302
See merge request espressif/esp-idf!28941
2024-04-01 09:28:42 +08:00
Li Shuai
57c8fdfd86
change(esp_hw_support): use new retention api to implement gdma retention
2024-03-30 11:51:52 +08:00
morris
1ed64afddd
Merge branch 'refactor/remove_unused_periph_module_enable' into 'master'
...
remove orphaned clk_gate_ll.h on esp32p4
Closes IDF-8094
See merge request espressif/esp-idf!29906
2024-03-29 14:50:34 +08:00
morris
b55a0e015a
feat(sdio_slave): add reset and clock control functions
2024-03-29 10:41:17 +08:00
wuzhenghui
4a64d2fe2c
change(hal): control PAU bus clock by hal layer
2024-03-29 00:36:46 +08:00
wuzhenghui
5d24a818eb
feat(esp_hw_support): add esp32p4 pau initial support
2024-03-28 19:18:24 +08:00
wuzhenghui
4bcb88c482
change(rtc): rename sleep mode related regs defination
2024-03-28 17:49:14 +08:00
Harshal Patil
5274bf88e4
Merge branch 'esp32p4/add_sha_support' into 'master'
...
feat: add SHA support for ESP32-P4
Closes IDF-7541 and IDF-7882
See merge request espressif/esp-idf!24865
2024-03-27 20:08:28 +08:00
C.S.M
333e8aa19e
Merge branch 'feature/support_i2c_timeout' into 'master'
...
feature(i2c_master): Add a parameter for config the scl await value
See merge request espressif/esp-idf!29787
2024-03-27 18:14:58 +08:00
harshal.patil
9cd10e196b
feat(hal/sha): use RCC atomic block to enable/reset the SHA peripheral
2024-03-27 11:23:30 +05:30
Cao Sen Miao
ede1df51b0
feat(i2c_master): Add parameter to config I2C scl await time
2024-03-27 10:35:11 +08:00
wuzhenghui
29076a43f6
bringup esp32c5beta3 modem clock
2024-03-26 19:54:32 +08:00
Alexey Lapshin
0e3673a2bd
Merge branch 'feature/esp32p4-coredump-support' into 'master'
...
esp32p4: panic tests support
Closes IDF-7565, IDF-7861, IDF-9035, and IDF-9075
See merge request espressif/esp-idf!28586
2024-03-21 21:12:25 +08:00
Alexey Lapshin
13b55386bf
feat(system): esp32p4: support hw stack guard
2024-03-21 14:30:21 +04:00
wanlei
a307096ec0
spi_master: sct mode supported on c6
2024-03-20 15:42:03 +08:00
wanlei
1e6c61daa6
spi_master: sct mode support set line mode, transaction interval time
...
support line mode 1-2-4-8 depend on targets.
fix sct mode dma descriptor counter compute issue.
add conf_bits_len setting API to control interval time.
2024-03-20 15:42:03 +08:00
Darian
53e3833f44
Merge branch 'refactor/usb_fsls_phy_hal' into 'master'
...
refactor(hal/usb): Update USB PHY related HAL/LL API
See merge request espressif/esp-idf!29659
2024-03-20 06:07:29 +08:00
Darian Leung
a77e5cc718
refactor(hal/usb): Remove usb_fsls_phy_ll.h
...
For targets that only contain a USJ peripheral (and not a DWC OTG), their
'usb_fsls_phy_ll.h' headers only contain a single function
('usb_fsls_phy_ll_int_jtag_enable()') whose feature is already covered by
functions in 'usb_serial_jtag_ll.h'. Thus, this header is redundant.
This commit does the following:
- Remove 'usb_fsls_phy_ll.h' for targets that only contain a USJ peripheral
- Rename 'usb_fsls_phy_[hal|ll].[h|c]' to `usb_wrap_[hal|ll].[h|c]` for targets
that contain a DWC OTG peripheral. This better reflects the underlying peripheral
that the LL header accesses.
2024-03-18 19:23:43 +08:00
Darian Leung
5d091a9bb3
refactor(hal/usj): Add USB PHY related functions to USJ LL
2024-03-18 19:23:42 +08:00
Song Ruo Jing
90bf2772ac
fix(uart): Fix mismatch wakeup rising edges required with the threshold configured
...
Closes https://github.com/espressif/esp-idf/issues/12586
2024-03-15 16:58:33 +08:00
Mahavir Jain
cd47cf46dc
Merge branch 'esp32p4/add_aes_support' into 'master'
...
feat: add AES support for ESP32-P4
Closes IDF-6519
See merge request espressif/esp-idf!26429
2024-03-15 11:43:22 +08:00
Wu Zheng Hui
5a682c3bbb
Merge branch 'feature/optimize_chips_active_power' into 'master'
...
feat(system): Optimize the power consumption of esp32h2 and esp32c6 in the active state
Closes IDF-5658
See merge request espressif/esp-idf!27798
2024-03-14 12:08:33 +08:00
harshal.patil
e8268d8b6b
feat(hal/aes): use RCC atomic block to enable/reset the AES peripheral
2024-03-13 15:22:07 +05:30
wuzhenghui
0fc97f0e84
feat(gpio): support LP_IO clock gating management
2024-03-13 11:56:14 +08:00
wuzhenghui
9e8e20227f
feat(system): disable RNG module clock by default for save power
2024-03-12 10:10:41 +08:00
wuzhenghui
b0fa4565a1
feat(system): add option to allow user disable USJ module to save power
2024-03-12 10:10:36 +08:00
wuzhenghui
65e9d0ddb9
feat(esp_hw_support): add esp32p4 sleep initial support
2024-03-10 10:51:28 +08:00
wuzhenghui
85b246ac88
feat(system): gate the debug clock source by default for esp32c6 and esp32h2
2024-03-07 19:26:39 +08:00
wuzhenghui
48e6629987
change(hal): redefine some ll for unsafe calling
2024-03-07 19:26:37 +08:00
wanlei
0cf11e5b87
feat(spi): add esp32c5 spi support
2024-03-07 18:11:48 +08:00
Cao Sen Miao
2b2b3be98f
feat(temperature_sensor): Add new support for temperature sensor ETM on ESP32C6/H2
2024-03-01 18:52:39 +08:00
gaoxu
1b1e4d2f76
feat(uart): change fifo.byte to fifo.val when uart_ll_write_txfifo
2024-02-29 14:20:10 +08:00
Cao Sen Miao
cf521b60ea
feat(i2c): Support i2c sleep retention on esp32c6/h2
2024-02-23 11:28:14 +08:00
Jiang Jiang Jian
c7a02cbe55
Merge branch 'c6_auto_dbias_master_hsq' into 'master'
...
ESP32C6: Active & sleep dbg and dbias get from efuse to fix the voltage
See merge request espressif/esp-idf!27696
2024-02-22 19:12:28 +08:00
gaoxu
3ac736bc95
feat(gpio): add gpio support on ESP32C5
2024-02-20 14:57:25 +08:00
morris
49e7228be9
feat(gptimer): basic driver support on esp32c5
2024-02-19 10:27:18 +08:00
Song Ruo Jing
5276cd4f1d
refactor(uart): add support to be able to test LP_UART port
...
Increase LP_UART_EMPTY_THRESH_DEFAULT value to 4. The original value
could cause the FIFO become empty before filling next data into the FIFO
when the buadrate is high. TX_DONE interrupt would raise before actual
transmission complete in such case.
2024-02-07 14:37:48 +08:00
Marius Vikhammer
dff1e5df88
feat(lp_core): add support for lp timer and lp gpio on P4
2024-02-06 09:41:20 +08:00
hongshuqing
35918b89a9
feat(pmu): set fix voltage to different mode for esp32c6 & c6 modify brownout rst2
2024-02-04 14:13:23 +08:00
wuzhenghui
0c2f811ca8
feat(esp_hw_support): support gdma register context sleep retention
2024-02-02 11:21:40 +08:00
Cao Sen Miao
62a0efdd7c
feat(i2c): Add pure hal i2c master driver example
2024-01-31 11:47:14 +08:00
Konstantin Kondrashov
4daaa94593
Merge branch 'feature/cleanup_rom_efuse_header' into 'master'
...
change(all): Clearing unused efuse rom headers
See merge request espressif/esp-idf!27109
2024-01-26 20:30:44 +08:00
Song Ruo Jing
cf93777077
refactor(rtc): move soc/rtc.h from soc to esp_hw_support component
...
Deprecated rtc_xtal_freq_t, replaced with soc_xtal_freq_t defined in
clk_tree_defs.h in soc component.
2024-01-25 19:15:33 +08:00
Wu Zheng Hui
55f04b3326
Merge branch 'feature/clean_up_retention_context_definitions' into 'master'
...
refactor(esp_hw_support): move sleep retention context definition to soc target folder
Closes PM-10
See merge request espressif/esp-idf!26753
2024-01-24 20:24:02 +08:00
wuzhenghui
2bd755c95d
refactor(esp_hw_support): move TIMG_WDT_WKEY_VALUE defination from hal to soc
2024-01-23 11:51:44 +08:00
KonstantinKondrashov
b471d9d22c
change(all): Clearing unused efuse rom headers
2024-01-22 18:02:55 +02:00
Song Ruo Jing
08eada7301
feat(esp_hw_support/dma2d): Add 2D-DMA support on ESP32P4
2024-01-22 20:51:43 +08:00
Omar Chebib
102d5bbf72
refactor(riscv): added a new API for the interrupts
2024-01-18 16:36:53 +08:00
Omar Chebib
5cdf145f55
refactor(riscv): refactor crosscore interrupt
2024-01-18 16:27:36 +08:00
morris
213a599d8b
fix(mcpwm): enable mcpwm group clock before hal init
2024-01-15 18:13:56 +08:00
Cao Sen Miao
2e83fa1c69
refactor(spi_flash): Use new spi_flash register sturct and deperecate the old one
2024-01-08 09:59:22 +08:00
xiaqilin
adda93b117
fix(ieee802154): fix the issue of not receiving packets when RSSI is positive in esp32h2
2024-01-03 14:39:31 +08:00
Kevin (Lao Kaiyao)
83d5797967
Merge branch 'feature/parlio_rx_driver' into 'master'
...
driver: add parallel IO RX driver
Closes IDF-7002 and IDF-6984
See merge request espressif/esp-idf!23488
2023-12-29 16:36:24 +08:00
Song Ruo Jing
1dfa4011f0
Merge branch 'feature/esp32p4_clock_support' into 'master'
...
feat(clk): add basic clock support for esp32p4
Closes IDF-7526 and IDF-7569
See merge request espressif/esp-idf!27950
2023-12-29 12:34:12 +08:00
Darian
1da17fce18
Merge branch 'refactor/rename_hal_usb_phy_to_fsls' into 'master'
...
USB HAL: Change name of usb_phy HAL files to usb_fsls_phy
See merge request espressif/esp-idf!28158
2023-12-29 11:42:11 +08:00
Song Ruo Jing
7f2b85b82b
feat(clk): add basic clock support for esp32p4
...
- Support CPU frequency 360MHz
- Support SOC ROOT clock source switch
- Support LP SLOW clock source switch
- Support clock calibration
2023-12-29 00:37:26 +08:00
Darian Leung
d74b4f6730
refactor(hal/usb): Rename usb_fsls_phy API to match header/source names
...
Note: Also fixed some formatting issues in usb_wrap_struct.h
2023-12-28 11:48:54 +08:00
Darian Leung
b26472af29
refactor(hal/usb): Rename usb_phy files to usb_fsls_phy
...
This commit renames USB PHY related HAL files from "usb_phy_xxx" to
"usb_fsls_phy_xxx" since they are only designed to support Full-Speed/Low-Speed
Serial USB PHYs. This renmaing is done to accommodate future USB PHYs that use
other PHY interfaces (e.g., UTMI, ULPI etc).
2023-12-28 11:48:34 +08:00
laokaiyao
db7e90fef9
feat(parlio_rx): add parlio rx examples
2023-12-28 11:05:26 +08:00
laokaiyao
04d267b023
feat(parlio_rx): implement parallel io rx driver
2023-12-27 19:32:12 +08:00
zwx
8cae0ed755
fix(pm): fix extra retention function to iram
...
* Also remove unused function on H2
2023-12-27 14:24:53 +08:00
Cao Sen Miao
439bc719fe
feat(temperature_sensor): Add temperature sensor support on esp32p4
2023-12-26 16:45:20 +08:00
wuzhenghui
a967a207c9
feat(ulp): add api to get lp_cpu wakeup cause and clear wakeup source at startup
...
Closes https://github.com/espressif/esp-idf/issues/12651
2023-12-18 11:29:53 +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
e96491fb1f
feat(systimer): support ETM on esp32p4
2023-12-07 18:46:24 +08:00
wuzhenghui
5280ef4924
fix(esp_hw_support): fix ble on esp32c6eco1 depends on wifipwr clock domain
2023-12-07 14:02:04 +08:00
C.S.M
cce1bf36fc
Merge branch 'bugfix/u32_reg_tsens' into 'master'
...
fix(temperature_sensor): Fix regs on temperature sensor is not volatile due to GCC bug
See merge request espressif/esp-idf!27468
2023-11-30 12:37:10 +08:00
Marius Vikhammer
ae4be8eb03
Merge branch 'feature/p4_lp_core' into 'master'
...
feat(ulp/lp_core): Added basic support for building and running a LP-Core app on ESP32P4
Closes IDF-7534
See merge request espressif/esp-idf!26869
2023-11-30 09:35:49 +08:00
Gao Xu
4e843a1a70
Merge branch 'bugfix/fix_adc_continuous_do_not_rst_apb_clk' into 'master'
...
fix(adc): fix adc continuous get less results beacuse do not reset apb clk
Closes IDF-8414
See merge request espressif/esp-idf!27115
2023-11-30 00:22:48 +08:00
C.S.M
96f49c2603
Merge branch 'bugfix/bod_reset_c6_h2' into 'master'
...
fix(bod): Fix issue that RF cannot be enabled again after BOD triggered.
See merge request espressif/esp-idf!27287
2023-11-29 17:21:38 +08:00
gaoxu
3acf3ec648
fix(adc): fix adc continuous get less results beacuse do not reset apb clk
2023-11-29 14:28:33 +08:00
Cao Sen Miao
b0c90ac456
fix(tempertuer_sensor): Fix regs on temperature sensor is not volatile due to GCC bug
2023-11-29 14:25:25 +08:00
Marius Vikhammer
0c067fcb05
feat(ulp/lp_core): Added basic support for building and running a LP-Core app on ESP32P4
2023-11-29 10:50:40 +08:00
Jeroen Domburg
3f08e5c91a
fix(driver): Add docs and driver fix for the case where a full EP does not cause the host to pickup the data
2023-11-27 12:04:30 +08:00
Cao Sen Miao
b3280677fd
fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again
2023-11-24 10:17:20 +08: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
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