Darian Leung
6d40e191f8
refactor(hal/usb): Refactor usb_wrap_ll.h
...
This commit rewrite the 'usb_wrap_ll.h' API as follows:
- All APIs renamed from 'usb_fsls_phy_ll_...()' to 'usb_wrap_ll_...()'
- APIs now match their equivalent counter parts in 'usb_serial_jtag_ll.h'
2024-03-18 19:23:44 +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
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
Jiang Jiang Jian
7b86fe51fd
Merge branch 'bugfix/fix_s3_bbpll_cali_fail_bug' into 'master'
...
fix: fix s3 bbpll calibration fail bug
See merge request espressif/esp-idf!29101
2024-03-14 10:42:57 +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
b0fa4565a1
feat(system): add option to allow user disable USJ module to save power
2024-03-12 10:10:36 +08:00
wuzhenghui
48e6629987
change(hal): redefine some ll for unsafe calling
2024-03-07 19:26:37 +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
gaoxu
3ac736bc95
feat(gpio): add gpio support on ESP32C5
2024-02-20 14:57:25 +08:00
hongshuqing
15629e30ee
fix: fix s3 bbpll cali fail bug
2024-02-19 14:33:40 +08:00
morris
49e7228be9
feat(gptimer): basic driver support on esp32c5
2024-02-19 10:27:18 +08:00
morris
9bdd431fe3
Merge branch 'contrib/github_pr_13020' into 'master'
...
fix (esp_lcd): Don't assume panels are 16bit in VSYNC restart logic (GitHub PR)
Closes IDFGH-11941
See merge request espressif/esp-idf!28593
2024-01-31 18:49:51 +08:00
Cao Sen Miao
62a0efdd7c
feat(i2c): Add pure hal i2c master driver example
2024-01-31 11:47:14 +08:00
morris
b10dec96c5
fix(rgb_lcd): relax the check for the data line GPIO
...
so we allow to leave some RGB data line unconnected by set the GPIO to -1
2024-01-30 18:29:13 +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
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
cdde05335e
Merge branch 'refactor/riscv_interrupt' into 'master'
...
refactor(riscv): Refactor crosscore interrupts and core interrupt code
Closes IDF-5720, DOC-5177, and IDF-7899
See merge request espressif/esp-idf!27845
2024-01-19 10:51:04 +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
Darian Leung
e63bfb24f5
refactor(hal): Remove usb_hal and usb_ll
...
This commit removes some legacy USB related HAL and LL files that are no longer
used.
2024-01-17 21:28:25 +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
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
Cao Sen Miao
439bc719fe
feat(temperature_sensor): Add temperature sensor support on esp32p4
2023-12-26 16:45:20 +08:00
morris
44e856703c
feat(dsi): add mipi dsi hal+ll layer driver
2023-12-19 11:39:59 +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
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
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
morris
397f9f2274
Merge branch 'feature/rgb_lcd_support_esp32p4' into 'master'
...
feat(lcd): add LL driver of rgb/i80 LCD for esp32p4
See merge request espressif/esp-idf!27200
2023-11-22 13:08:59 +08:00
morris
e86acbe556
feat(lcd): pre-support rgb and i80 lcd driver on esp32p4
...
added LL functions for LCD_CAM module, only the LCD part
2023-11-21 10:46:52 +08:00
morris
05e6ccbba7
feat(gdma): can read interrupt raw status
2023-11-20 17:25:57 +08:00
laokaiyao
f35ec64a0b
feat(touch): support touch driver on p4 (soc)
2023-11-16 11:13:02 +00: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
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
wuzhenghui
59ad88d9f7
fix(esp_pm): fix psram access faild after pd_cpu wakeup
2023-11-13 16:32:30 +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
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