Commit Graph

2572 Commits

Author SHA1 Message Date
morris
8af4285c24 Merge branch 'bugfix/ledc_get_freq_calc_v5.2' into 'release/v5.2'
fix(ledc): fix ledc_get_freq calculation err due to overflow (v5.2)

See merge request espressif/esp-idf!36021
2025-01-02 15:13:29 +08:00
morris
866a02f258 Merge branch 'fix/ble_i2c_v5.2' into 'release/v5.2'
fix(i2c): Fix i2c read from fifo issue when enabling bt/wifi/uart, etc...  (backport v5.2)

See merge request espressif/esp-idf!36053
2025-01-02 15:05:32 +08:00
C.S.M
34ab6cc454 fix(i2c): Correct internal function spelling,
Closes https://github.com/espressif/esp-idf/issues/15100
2024-12-30 13:23:22 +08:00
morris
dac174ad76 fix(rmt): channel resolution divider rounding issue
Closes https://github.com/espressif/esp-idf/issues/15092
2024-12-27 16:58:06 +08:00
morris
42f8913ca8 Merge branch 'bugfix/esp_rom_gpio_connect_out_signal_patch_v5.2' into 'release/v5.2'
fix(gpio): patched esp_rom_gpio_connect_out_signal for esp32 and esp32s2 (v5.2)

See merge request espressif/esp-idf!35941
2024-12-27 10:35:12 +08:00
Song Ruo Jing
7ec010c1ae fix(ledc): fix ledc_get_freq calculation err due to overflow
Closes https://github.com/espressif/esp-idf/pull/14882
2024-12-26 18:51:12 +08:00
morris
4010489aa2 Merge branch 'bugfix/fix_i2s_24b_buf_size_calc_v5.2' into 'release/v5.2'
fix(i2s): fixed some issues in I2S driver (v5.2)

See merge request espressif/esp-idf!35770
2024-12-26 11:14:24 +08:00
Song Ruo Jing
5dd2f38eb4 fix(uart): eliminated potential glitch on TX at setup if TX signal is inversed
Closes https://github.com/espressif/esp-idf/issues/14285
2024-12-25 14:37:29 +08:00
laokaiyao
bc5f76a636 fix(i2s): add check for the tdm frame bits num 2024-12-24 14:47:01 +08:00
Gustavo Litovsky
4c97aa404a change(esp32): undo forcing two slots in I2S
fix(i2s): fixed the issue in PR 14879

Closes https://github.com/espressif/esp-idf/pull/14879

[Kevin: Update to only remove the limitation for PCM short format]
2024-12-24 14:47:01 +08:00
laokaiyao
848f92b02c fix(i2s): return error when mclk_div is smaller than 2 2024-12-24 14:46:47 +08:00
laokaiyao
fb0b6e0987 fix(i2s): fixed incorrect buf size calculation 2024-12-24 12:32:07 +08:00
morris
cf0dc7a202 feat(rmt): add API to return the real clock resolution of a channel
Closes https://github.com/espressif/esp-idf/pull/15074
2024-12-24 11:17:21 +08:00
Chen Jichang
94d50d90e2 feat(legacy_driver): add kconfig to skip legacy confilct check 2024-12-12 19:33:59 +08:00
Sergei Silnov
566d04ecd9 Merge branch 'fix/unity_tester_v5.2' into 'release/v5.2'
refactor: changed logic of unity_tester (v5.2)

See merge request espressif/esp-idf!35394
2024-12-05 01:38:57 +08:00
igor.udot
e09fd7fce4 refactor: changed logic of unity_tester, replaced threads by generators 2024-12-03 09:43:15 +01:00
lsita
b294d7d3e3 fix(gptimer): race condition between start and stop
Merges https://github.com/espressif/esp-idf/pull/14767
2024-11-22 18:24:35 +08:00
Chen Jichang
26e719013f fix(mcpwm): add warning about generator deadtime
Closes https://github.com/espressif/esp-idf/issues/14773
2024-11-07 10:57:09 +08:00
laokaiyao
59fd4f13e5 ci(i2s): fix i2s_multi_dev failed case 2024-11-01 11:22:02 +08:00
morris
0f1c5b6f06 Merge branch 'feat/i2c_port_handle_func_v5.2' into 'release/v5.2'
feat(i2c_master): Add an api for retrieveing handle via port (backport v5.2)

See merge request espressif/esp-idf!34439
2024-10-28 10:33:02 +08:00
C.S.M
bbf2908b54 fix(i2c_master): Fix the memory leak in the async transaction 2024-10-25 16:26:31 +08:00
C.S.M
cecfd7a4a0 feat(i2c_master): Add an api for retrieveing handle via port 2024-10-25 16:26:05 +08:00
laokaiyao
d444b5831b fix(i2s): fix multi-dev test failure 2024-10-22 14:52:37 +08:00
morris
6280fbe8b6 fix(pcnt): install the pm lock upon driver installation 2024-10-16 11:33:40 +08:00
Chen Jichang
13ae494d35 fix(mcpwm): fix pm_lock memory issues 2024-10-10 09:49:48 +08:00
morris
466acf6571 Merge branch 'bugfix/fix_batch_of_i2c_issue_v5.2' into 'release/v5.2'
fix(i2c_master): Fix an I2C issue that slave streth happen but master timeout...etc.4MR (backport v5.2)

See merge request espressif/esp-idf!33480
2024-09-25 23:29:50 +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
C.S.M
6adee5052f fix(i2c_master): Fix an I2C issue that slave streth happen but master timeout set seems doesn't work
Closes https://github.com/espressif/esp-idf/issues/14129
Closes https://github.com/espressif/esp-idf/issues/14401
2024-09-12 11:56:51 +08:00
Chen Jichang
d34a39e9a6 fix(parlio_tx): fix error in first transfer and 1 byte transfer
On p4, the clock was configured in the wrong order causing a dropped
count on the first transmission. And gdma eof event fails to trigger
parlio_tx eof event when transmitting single byte.
2024-09-06 14:10:15 +08:00
Jiang Jiang Jian
4a6154f6a3 Merge branch 'fix/spi_hd_seg_fix_iwdt_timeout_v5.2' into 'release/v5.2'
fix(spi_slave_hd): fix seg mode potential iwdt timeout when multi task call (v5.2)

See merge request espressif/esp-idf!31843
2024-08-28 13:41:55 +08:00
wuzhenghui
69baf86cf4 change(esp_hw_support): collect retention link priority definition 2024-08-26 11:40:07 +08:00
wanlei
7f6ff6ebd9 fix(spi_slave_hd): fix seg mode potential iwdt timeout when multi task call 2024-08-23 10:34:36 +08:00
Alexey Lapshin
ceb5456108 fix(esp_driver_usb_serial_jtag): fix warnings found by GNU static analyzer 2024-08-21 14:02:55 +07:00
Song Ruo Jing
457e0818e9 fix(uart): fix uart_config_t structure size difference in C and C++ 2024-07-31 16:52:05 +08:00
morris
d9e113f877 fix(rmt): power up memory block 2024-07-18 14:41:13 +08:00
Jeroen Domburg
4af418c534 refactor(usb-serial-jtag): usb-serial-jtag driver simplification to fix rom print coexistence 2024-07-08 14:47:25 +08:00
C.S.M
4ce9b783f3 fix(i2c): Fix i2c not release semaphore in command send loop 2024-07-04 12:29:05 +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
Cao Sen Miao
5847ba0b9a fix(i2c_master): Fix the issue that probe cannot work properly after a general call,
Closes https://github.com/espressif/esp-idf/issues/13547
2024-07-04 12:29:05 +08:00
Cao Sen Miao
34abdaea46 fix(i2c_master): Modify the behavior from ISR WDT to return timeout when circut get shortcut,
Closes https://github.com/espressif/esp-idf/issues/13587
2024-07-04 12:29:05 +08:00
Guillaume Souchere
c2683af2a6 fix(console): USB Serial JTAG freezes when input received before init
When data was sent through USB Serial JTAG before the
driver was installed, the bus was malfunctioning. This
was because the interrupt bit for data reception was cleared
regardless of whether data was received or not. Consequently,
usb_serial_jtag_isr_handler_default was not triggered and the
data was never read causing the bus to malfunction.

This commit is modifying usb_serial_jtag_driver_install to
prevent clearing USB_SERIAL_JTAG_INTR_SERIAL_OUT_RECV_PKT and
USB_SERIAL_JTAG_INTR_SERIAL_IN_EMPTY thus allowing the callback
usb_serial_jtag_isr_handler_default to trigger for possible data
exchanged prior to the call to usb_serial_jtag_driver_install.

This commit also modified the while logic in linenoiseProbe to
discard any data that doesn't match the expected chaaracter sequences
to prevent random input from interfering with evaluating whether the
terminal supports escape sequences or not.

See https://github.com/espressif/esp-idf/issues/13940
2024-07-01 09:36:18 +02:00
Song Ruo Jing
707aebc607 feat(uart): support uart module sleep retention on c6/h2 2024-06-18 15:04:20 +08:00
morris
771ae77c9b Merge branch 'bugfix/forbid_uart_suspend_auto_lightsleep_v5.2' into 'release/v5.2'
uart: Fixed issue that TX be blocked by auto-lightsleep (v5.2)

See merge request espressif/esp-idf!31108
2024-06-14 11:51:29 +08:00
Michael (XIAO Xufeng)
e95cea579d Merge branch 'backport/shortened_uart_read_bytes_blocking_52' into 'release/v5.2'
fix(uart): remove unnecessary wait when sending message to ring buffer(backport5.2)

See merge request espressif/esp-idf!31381
2024-06-13 19:50:47 +08:00
morris
d76b2028e9 Merge branch 'feature/usb_new_phy_driver_collective_backport_v5.2' into 'release/v5.2'
refactor(usb/host): PHY driver preqrequisite refacotring collective backport (v5.2)

See merge request espressif/esp-idf!29792
2024-06-07 13:11:37 +08:00
zwx
e69714c34f fix(uart): remove unnecessary wait when sending message to ring buffer 2024-06-07 11:42:35 +08:00
Jiang Jiang Jian
95dd9f119d Merge branch 'doc/add_description_for_pd_top_gpio_configuration_v5.2' into 'release/v5.2'
docs(esp_pm): Adding notes on configuring GPIOs when using PD_TOP sleep (v5.2)

See merge request espressif/esp-idf!30799
2024-06-05 18:47:54 +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
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
Marius Vikhammer
bbe00b9ee3 docs(doxygen): fix misc issues with new version of doxygen 2024-05-30 13:42:18 +08:00