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
morris
e8b6d2280d
change(gptimer): use private unsafe RCC LL functions in bootloader
2024-04-08 17:48:20 +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
Armando
f0518b3c16
feat(dma): advanced dma malloc helper
2024-04-02 14:30:14 +08:00
Mahavir Jain
999f3f69c0
Merge branch 'esp32p4/deterministic_ecdsa_support' into 'master'
...
Add deterministic ECDSA support
Closes IDF-8507
See merge request espressif/esp-idf!29010
2024-04-01 16:45:14 +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
harshal.patil
95fac15698
feat(hal/ecdsa): Add HAL API for operation successful check
2024-03-29 12:14:11 +05:30
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
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
Armando
b303e4b7a6
spi_master: new segmented-configure-transfer mode
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
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
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
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
Michael (XIAO Xufeng)
6dbb3059f9
Merge branch 'h2_auto_dbias_master_hsq' into 'master'
...
ESP32H2: Active & sleep dbias get from efuse to fix the voltage
See merge request espressif/esp-idf!27483
2024-01-29 10:16:15 +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
hongshuqing
0b79d9bf4c
feat(pmu): set fix voltage to different mode for esp32h2
...
h2 remove include
2024-01-24 13:11:41 +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
C.S.M
43c87716c9
Merge branch 'feat/flash_p4' into 'master'
...
ci(spi_flash): Enable spi_flash related tests on esp32p4
Closes IDF-7499 and IDF-8984
See merge request espressif/esp-idf!28099
2024-01-08 14:28:09 +08:00
Lou Tian Hao
b74cc4637b
Merge branch 'feature/support_hw_trigger_regdma_when_pu_top' into 'master'
...
fix(pm): trigger regdma retention by PMU when TOP is not power down on esp32H2
Closes PM-47 and PM-65
See merge request espressif/esp-idf!28046
2024-01-08 10:44:06 +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
Lou Tianhao
aed3127d19
feat(pm): support PMU trigger regdma when PU TOP
2024-01-05 16:17:32 +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
morris
e96491fb1f
feat(systimer): support ETM on esp32p4
2023-12-07 18:46:24 +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
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
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
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
morris
05e6ccbba7
feat(gdma): can read interrupt raw status
2023-11-20 17:25:57 +08:00
Mahavir Jain
7505667e7d
Merge branch 'bugfix/esp32h2_ecdsa_hardware_k' into 'master'
...
fix(esp32h2): program use_hardware_k efuse bit for ECDSA key purpose
Closes IDF-8508 and IDF-8506
See merge request espressif/esp-idf!26918
2023-11-17 15:10:12 +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
Lou Tianhao
7469df6c14
fix(pm/ext1): fix c6 h2 lp_aon_ll_ext1_set_wakeup_pins func
2023-11-17 11:38:20 +08:00
C.S.M
9e70bda89e
Merge branch 'feature/support_suspend_on_120m' into 'master'
...
feat(spi_flash): Enable auto suspend on when flash works under 120M
See merge request espressif/esp-idf!27119
2023-11-16 12:24:14 +08:00
Cao Sen Miao
66bba5694e
feat(spi_flash): Enable auto suspend on when flash works under 120M
2023-11-15 17:27:42 +08:00
C.S.M
386111e8d1
Merge branch 'feature/add_tsens_intr_reason' into 'master'
...
feature(temperature_sensor): Add temperature sensor threshold interrupt reason
See merge request espressif/esp-idf!27126
2023-11-15 15:10:16 +08:00
Gao Xu
8d9e297301
Merge branch 'bugfix/fix_adc_read_zero_h2_new' into 'master'
...
ADC: fix adc raw data get 0 because of signal delay on ESP32H2
See merge request espressif/esp-idf!27023
2023-11-15 14:47:01 +08:00
Mahavir Jain
f9501f6ea9
fix(ecdsa): remove unused k_mode from the ECDSA HAL/LL API
...
For ESP32-H2 case, the hardware k mode is always enforced through
efuse settings (done in startup code).
For ESP32-P4 case, the software k mode is not supported in the peripheral
itself and code was redundant.
2023-11-15 09:42:26 +05:30
Cao Sen Miao
343f03c3a7
feature(temperature_sensor): Add temperature sensor threshold interrupt reason
2023-11-14 18:23:33 +08:00
gaoxu
36be1473de
fix(adc): fix h2 adc oneshot read zero and add delay after getting done signal
2023-11-13 14:48:40 +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
Wu Zheng Hui
573d06f6f7
Merge branch 'bugfix/move_fe_32m_to_adc_fe_common_clock' into 'master'
...
fix(esp_hw_support): move fe_32m to fe/adc common clock
Closes IDF-8540
See merge request espressif/esp-idf!27030
2023-11-10 23:40:31 +08:00
Song Ruo Jing
365123dfaa
Merge branch 'bugfix/uart_custom_console' into 'master'
...
fix(console): enable to select UART1 port for console output
Closes IDF-6190
See merge request espressif/esp-idf!26642
2023-11-10 12:31:22 +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
Song Ruo Jing
46d33e46ef
fix(console): enable to select UART1 port for console output
...
This feature was only enabled for esp32, esp32s2, esp32s3 previously.
Now, enabling this feature for all targets.
2023-11-09 22:32:49 +08:00
wuzhenghui
1537cbf9c7
fix(esp_hw_support): move fe_32m to fe/adc common clock
2023-11-09 17:26:24 +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