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
Darian Leung
1739bff0b9
refactor(hal/usj): Add USB PHY related functions to USJ LL
2024-06-04 20:35:46 +08:00
morris
4cf7387e14
Merge branch 'fix/uart_wakeup_threshold_v5.2' into 'release/v5.2'
...
fix(uart): Fix mismatch wakeup rising edges required with the threshold configured (v5.2)
See merge request espressif/esp-idf!30462
2024-04-25 10:36:42 +08:00
Song Ruo Jing
64984b7b71
fix(gpio): add workaround to ensure correct IO drive strength for C3 and S3
2024-04-24 16:58:06 +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
morris
d56ae4caab
Merge branch 'feature/support_i2c_timeout_v5.2' into 'release/v5.2'
...
feat(i2c_master): Add parameter to config I2C scl await time (backport v5.2)
See merge request espressif/esp-idf!30069
2024-04-07 18:36:55 +08:00
morris
9582b3cead
Merge branch 'feat/add_example_usj_v5.2' into 'release/v5.2'
...
change(usb_serial_jtag): Add example for usb serial jtag echo (backport v5.2)
See merge request espressif/esp-idf!30019
2024-04-07 16:07:36 +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
Jeroen Domburg
bf15a29e18
fix(driver): Add docs and driver fix for the case where a full EP does not cause the host to pickup the data
2024-04-03 17:04:59 +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
hongshuqing
4200246df3
fix: fix s3 bbpll cali fail bug
2024-03-14 15:45:31 +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
morris
5c30cc24fd
fix(rgb_lcd): relax the check for the data line GPIO
...
There are a bunch of cases you might want some pins not exposed.
Eg.
* Reading say 8 bit data and outputting the top 5 bits, discarding the rest by not mapping those data pins to output pins
* Not using hsync/vsync because sync data is embedded within the data bits for more timing flexibility (eg. interlacing).
* Using the LCD module as a high speed parallel data output bus, with no need for sync/control pins.
Removing this validation makes these cases work.
Merges https://github.com/espressif/esp-idf/pull/13103
2024-02-06 10:31:33 +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
Song Ruo Jing
55ed548cc6
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-30 11:26:09 +08:00
Jiang Jiang Jian
1cdca25776
Merge branch 'bugfix/fix_lightsleep_current_leakage_on_usj_pad_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): fix lightsleep current leakage on usb pad (backport v5.2)
See merge request espressif/esp-idf!27199
2023-11-17 10:47:31 +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
wuzhenghui
c570105f36
fix(esp_pm): fix psram access faild after pd_cpu wakeup
2023-11-16 02:55:06 +00: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
morris
80997d5860
fix(i2c): read write FIFO memory by volatile
2023-10-30 10:34:43 +08:00
gaoxu
a8e3122866
fix(adc): fix adc read zero after getting done signal on h2
2023-10-26 12:22:09 +08:00
Armando
263e39c32b
fix(sdmmc): fix ll layer wrong assertion
2023-10-25 06:03:25 +00:00
Cao Sen Miao
8d639492f2
feat(i2c_slave): Add new implementation and API for I2C slave
2023-10-24 18:44:49 +08:00
morris
767595a22f
Merge branch 'feature/mcpwm_timer_change_freq' into 'master'
...
feat(mcpwm): support update timer period dynamically
Closes IDFGH-11145
See merge request espressif/esp-idf!26419
2023-10-23 15:51:14 +08:00
morris
0cbcb9f5ea
feat(mcpwm): support update timer period dynamically
...
Implement the requirement asked in
https://www.esp32.com/viewtopic.php?f=13&t=35919
2023-10-20 16:57:25 +08:00
wuzhenghui
1f10c84a4f
change(hal): rewrite gpio_ll_set_iomux_pin_ctrl api
2023-10-19 22:24:08 +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
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
4eaf233bb8
change(sdmmc): replace periph_module_x with rcc
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
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
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
43864f7fb4
feat(ds): use RCC atomic block to enable/reset the DS peripheral
2023-10-11 14:59:04 +05:30
harshal.patil
18b93e9564
feat(hmac): use RCC atomic block to enable/reset the HMAC peripheral
2023-10-11 14:59:04 +05:30
harshal.patil
c5cc4f488a
feat(mpi): use RCC atomic block to enable/reset the MPI peripheral
2023-10-11 14:59:03 +05:30