C.S.M
1c5d32e57d
fix(i2c): Fix the wrong return value of esp32,esp32s2,esp32s3
2024-09-12 11:56:51 +08:00
C.S.M
fdc5fa2931
fix(i2c): Fix possible error state in clear the bus,
...
Closes https://github.com/espressif/esp-idf/issues/13647
2024-09-12 11:56:51 +08:00
morris
d9e113f877
fix(rmt): power up memory block
2024-07-18 14:41:13 +08:00
Cao Sen Miao
a44f8179de
refactor(i2c): Add reset and clock control to i2c ll layer
2024-07-04 12:29:05 +08:00
Darian Leung
d944e85a57
feat(hal/usb): Update USB WRAP and USJ LL
...
- 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.
- 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-06-04 20:35:49 +08:00
Darian Leung
14a581939c
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-06-04 20:35:48 +08:00
Darian Leung
81f6d7abbe
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-06-04 20:35:47 +08:00
Song Ruo Jing
15962a953a
fix(uart): Fix mismatch wakeup rising edges required with the threshold configured
...
Closes https://github.com/espressif/esp-idf/issues/12586
2024-04-24 16:25:54 +08:00
Cao Sen Miao
7c233ebc80
feat(i2c_master): Add parameter to config I2C scl await time
2024-04-07 15:06:31 +08:00
Cao Sen Miao
ae94c0134b
fix(i2c_master): Fix issue that i2c clock got wrong after reset,
...
Closes https://github.com/espressif/esp-idf/issues/13397
2024-04-01 10:55:39 +08:00
Darian Leung
86fb02efa4
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-02-19 15:45:03 +08:00
Darian Leung
f0219b73f9
refactor(hal/usb): Rename usb_fsls_phy API to match header/source names
...
Note: Also fixed some formatting issues in usb_wrap_struct.h
2024-02-19 15:45:02 +08:00
Darian Leung
f2ede42191
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).
2024-02-19 15:45:01 +08:00
Jiang Jiang Jian
a80717fbd5
Merge branch 'feature/support_suspend_on_120m_v5.2' into 'release/v5.2'
...
feat(spi_flash): Enable auto suspend on when flash works under 120M (backport v5.2)
See merge request espressif/esp-idf!27951
2023-12-26 10:42:32 +08:00
Cao Sen Miao
e3a854769a
feat(spi_flash): Enable auto suspend on when flash works under 120M
2023-12-15 16:57:53 +08:00
Cao Sen Miao
3d42ac21fa
fix(tempertuer_sensor): Fix regs on temperature sensor is not volatile due to GCC bug
2023-12-15 16:36:43 +08:00
Cao Sen Miao
191466d824
fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again
2023-12-06 19:46:44 +08:00
wuzhenghui
b7f1aa5292
fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad
2023-11-16 17:18:43 +08:00
muhaidong
05a4a77b52
change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk
2023-11-14 19:29:03 +08:00
morris
621acc4d75
Merge branch 'feature/rmt_receive_in_isr_v5.2' into 'release/v5.2'
...
feat(rmt): support calling rmt_receive in ISR callback (v5.2)
See merge request espressif/esp-idf!26996
2023-11-13 12:22:33 +08:00
morris
be39a0d2aa
Merge branch 'bugfix/fix_adc_read_zero_h2_v5.2' into 'release/v5.2'
...
ADC: fix adc raw data get 0 because of signal delay on ESP32H2(v5.2)
See merge request espressif/esp-idf!26933
2023-11-09 10:10:45 +08:00
morris
2e8cc61af7
feat(rmt): support calling rmt_receive in ISR callback
2023-11-08 14:32:26 +08:00
Armando
f01a40afe2
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-07 14:11:10 +08:00
gaoxu
a8e3122866
fix(adc): fix adc read zero after getting done signal on h2
2023-10-26 12:22:09 +08:00
Cao Sen Miao
8d639492f2
feat(i2c_slave): Add new implementation and API for I2C slave
2023-10-24 18:44:49 +08:00
wuzhenghui
1f10c84a4f
change(hal): rewrite gpio_ll_set_iomux_pin_ctrl api
2023-10-19 22:24:08 +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
Wan Lei
9f413d5d8d
Merge branch 'feature/esp32p4_hp_ledc_support' into 'master'
...
feat(ledc): support ledc on esp32p4
Closes IDF-6510
See merge request espressif/esp-idf!25356
2023-10-18 15:27:54 +08:00
wanlei
57614bbad2
feat(ledc): support ledc on esp32p4
2023-10-17 16:40:04 +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
laokaiyao
8bc618443a
fix(apll): fixed overflow in apll calculation
2023-10-16 08:01:17 +00: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
Song Ruo Jing
321f628ff5
feat(gpio): add a dump API to dump IO configurations
...
Closes https://github.com/espressif/esp-idf/issues/12176
2023-10-12 17:34:20 +08:00
harshal.patil
c5cc4f488a
feat(mpi): use RCC atomic block to enable/reset the MPI peripheral
2023-10-11 14:59:03 +05:30
Wan Lei
f92b18053a
Merge branch 'feature/esp32p4_hp_spi_support' into 'master'
...
Feature/esp32p4 hp spi master driver support
Closes IDF-7502
See merge request espressif/esp-idf!24963
2023-10-09 18:37:35 +08:00
Gao Xu
d52040a86d
Merge branch 'esp32p4/add_uart_support' into 'master'
...
UART: Add uart support for ESP32P4
Closes IDF-6511 and IDF-7506
See merge request espressif/esp-idf!25388
2023-10-09 18:11:10 +08:00
wanlei
00fcdce725
feat(spi_master): p4 add master driver supported
2023-10-08 14:45:12 +08:00
gaoxu
bc2a6bd730
feat(uart): spilt LP and HP uart set_baudrate function
2023-10-08 10:10:02 +08:00
gaoxu
3e3e928209
feat(uart): move periph_ll_uart_enabled to uart_ll.h
2023-10-08 10:10:02 +08:00
gaoxu
4541ad134d
feat(uart): add RCC atomic block to uart/lp-uart peripheral
2023-10-08 10:10:02 +08:00
laokaiyao
c018dc9d77
refactor(hal): avoid float type in hal
2023-10-07 19:01:04 +08:00
laokaiyao
72a0746e62
refactor(apll): move the apll soc caps to clk_tree_ll
2023-09-28 15:03:27 +08:00
laokaiyao
0b0f25c30d
feat(i2s): supported getting the tx sync count and specify interrupt flags
2023-09-28 15:03:27 +08:00
laokaiyao
cf889f3c6d
feat(i2s): support i2s on esp32p4
2023-09-28 15:03:27 +08:00
Armando (Dou Yiwen)
b58a2ea6a6
Merge branch 'feature/support_cache_p4' into 'master'
...
cache: support cache driver on esp32p4
Closes IDF-7516
See merge request espressif/esp-idf!25490
2023-09-25 15:21:46 +08:00
Armando
ea38a2e9a4
feat(cache): support cache driver on esp32p4
2023-09-22 14:19:41 +08:00
morris
3093384045
Merge branch 'feature/pcnt_replace_periph_func_with_new_ll' into 'master'
...
feat(pcnt): replace periph_module func with new ll func
Closes IDF-8225
See merge request espressif/esp-idf!25935
2023-09-21 21:57:14 +08:00
Song Ruo Jing
98abcbabea
Merge branch 'feature/esp32p4_lp_io_support' into 'master'
...
feat(lp_io): Add support for ESP32P4
Closes IDF-7815
See merge request espressif/esp-idf!25991
2023-09-21 15:20:13 +08:00
laokaiyao
dd4072a80c
refactor(hal): use hal utils to calculate clock division
2023-09-20 23:33:25 +08:00
Song Ruo Jing
2d458a3f93
feat(lp_io): Add support for ESP32P4
2023-09-20 19:39:41 +08:00