2013 Commits

Author SHA1 Message Date
Song Ruo Jing
02d819b69b fix(uart): Fix mismatch wakeup rising edges required with the threshold configured
Closes https://github.com/espressif/esp-idf/issues/12586
2024-04-24 17:27:27 +08:00
morris
6ea1f92a20 feat(gptimer): check the alarm config is not in flash
related to https://github.com/espressif/esp-idf/issues/13543
2024-04-09 17:33:35 +08:00
morris
b27d69dcad fix(rmt): fix the counting clock used by rx filter on esp32/s2
is always APB, independent to the channel clock selection

Closes https://github.com/espressif/esp-idf/issues/13510
2024-04-08 11:51:02 +08:00
morris
1cb07eb253 Merge branch 'bugfix/fix_adc_reset_issue_on_legacy_v5.0' into 'release/v5.0'
fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy) (v5.0)

See merge request espressif/esp-idf!28334
2024-03-20 10:05:17 +08:00
morris
7c88240e38 feat(rmt): added a help function for allocating encoder memory
The encoder memory location should respect the RMT_MEM_ALLOC_CAPS,
which is affected by some Kconfig options, like ISR_IRAM_SAFE

Closes https://github.com/espressif/esp-idf/issues/13032
2024-02-23 10:29:31 +08:00
morris
e9fa7a9f06 Merge branch 'bugfix/mcpwm_reset_generator_gpio_v5.0' into 'release/v5.0'
fix(mcpwm): reset GPIO used by generator after delete (v5.0)

See merge request espressif/esp-idf!28833
2024-02-23 10:27:10 +08:00
morris
1ce7be11fa fix(mcpwm): reset GPIO used by generator after delete
Closes https://github.com/espressif/esp-idf/issues/12980
2024-02-01 17:49:53 +08:00
morris
c940cf08c4 feat(rmt): support update bytes encoder configurations at runtime
Closes https://github.com/espressif/esp-idf/issues/12775
2024-01-11 13:47:04 +08:00
gaoxu
8c2e1a69f5 fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy) 2024-01-08 16:12:22 +08:00
Song Ruo Jing
e2ee4d03c3 change(uart): improved the internal logic of uart_read_bytes
Ringbuffer usage becomes more efficient with the use of xRingbufferReceiveUpTo

Closes https://github.com/espressif/esp-idf/issues/12386
2024-01-02 20:19:21 +08:00
wanlei
62efb02ecf fix(twai): fix build error TWAI_TAG used but not defined
bug introduced from efef8401
closes https://github.com/espressif/esp-idf/issues/12760
2023-12-11 14:19:37 +08:00
Jiang Jiang Jian
a8caeb9af4 Merge branch 'bugfix/fix_lightsleep_current_leakage_on_usj_pad_v5.0' into 'release/v5.0'
fix(esp_hw_support): fix lightsleep current leakage on usb pad (backport v5.0)

See merge request espressif/esp-idf!27208
2023-11-23 14:46:38 +08:00
morris
f97e379122 Merge branch 'fix/twai_crash_on_s3_gpio_19and20' into 'release/v5.0'
fix(twai): example crash using usb-serial-jtag gpio (v5.0)

See merge request espressif/esp-idf!26660
2023-11-23 14:34:20 +08:00
morris
3bb601cee7 Merge branch 'feature/mcpwm_trigger_driver_v5.0' into 'release/v5.0'
feature(MCPWM): Add MCPWM trigger driver (v5.0)

See merge request espressif/esp-idf!26788
2023-11-23 14:33:20 +08:00
Jiang Jiang Jian
5f497153f7 Merge branch 'bugfix/rmt_stop_issue_v5.0' into 'release/v5.0'
fix(rmt): a disabled channel may pick up a pending transaction (v5.0)

See merge request espressif/esp-idf!26780
2023-11-23 14:27:25 +08:00
morris
28224b3af5 Merge branch 'bugfix/fix_wrong_adc_attenuation_name_v5.0' into 'release/v5.0'
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12 (v5.0)

See merge request espressif/esp-idf!26968
2023-11-23 12:04:24 +08:00
wuzhenghui
ead822e6ee
fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad 2023-11-23 10:21:02 +08:00
Song Ruo Jing
c0a1d27858 fix(ledc): fix ledc driver 100% duty cycle configuration
Update ledc duty cycle value range in doxygen.
Fix duty configuration error at 100% duty cycle for ESP32.
Improve LEDC API doxygen.

Closes https://github.com/espressif/esp-idf/pull/11516
Closes https://github.com/espressif/esp-idf/issues/12593
Closes https://github.com/espressif/esp-idf/issues/12083
2023-11-22 03:12:38 +00:00
Chen Jichang
01c5d8d72e feature(MCPWM): Add MCPWM trigger driver and test
Each MCPWM operator has two Trigger (named T0 and T1), and they can be
routed to GPIO fault signal or timer sync event.Generator can be set up
to perform different action on Trigger event.
This commit add a trigger driver and a test for the driver.

fix(mcpwm): fault trigger test forget connect timer and operator
2023-11-09 21:52:37 +08:00
wanlei
efef840124 fix(twai): twai example crash using usb-serial-jtag pins
Calling gpio_hal_iomux_func_sel() via gpio_config() may
disconnects/disables any influence from USJ when using USJ pins
2023-11-09 02:52:27 +00:00
morris
6a7e250442 feat(rmt): support calling rmt_receive in ISR callback 2023-11-08 15:03:44 +08:00
Armando
f8500f77b1 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:12:50 +08:00
morris
da2399a2c5 fix(rmt): a disabled channel may pick up a pending transaction
because in the trans_done interrupt, the driver didn't check the channel FSM
2023-11-03 02:40:56 +00:00
morris
0187f3b4e3 feat(mcpwm): support update timer period dynamically
Implement the requirement asked in
https://www.esp32.com/viewtopic.php?f=13&t=35919
2023-10-24 10:08:29 +08:00
morris
447e9701ef Merge branch 'bugfix/usb_serial_jtag_write_return_val_v5.0' into 'release/v5.0'
bugfix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly (backport v5.0)

See merge request espressif/esp-idf!26439
2023-10-16 14:26:11 +08:00
Cao Sen Miao
dc6fd94048 fix(usb_serial_jtag): Clean-up usb_serial_jtag lose byte fix, Closes https://github.com/espressif/esp-idf/pull/11344 2023-10-12 15:13:41 +08:00
Chip Weinberger
8037563c53 [Usb Serial JTAG] printing to console could sometimes skip bytes 2023-10-12 15:13:30 +08:00
Cao Sen Miao
3a04291f8e fix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly,
Closes https://github.com/espressif/esp-idf/issues/12119,
Closes https://github.com/espressif/esp-idf/pull/11344,
Closes https://github.com/espressif/esp-idf/issues/9318
Closes https://github.com/espressif/esp-idf/issues/11192
2023-10-12 15:13:21 +08:00
Cao Sen Miao
5c692796e8 fix(temperature_snesor): Put clock gate enable/disable in to sar_periph_ctrl together 2023-10-12 14:21:24 +08:00
morris
8093ef885e Merge branch 'fix/spi_polling_api_buslock_logic_v5.0' into 'release/v5.0'
fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed (v5.0)

See merge request espressif/esp-idf!25577
2023-10-08 11:41:50 +08:00
morris
b07b08d9eb Merge branch 'bugfix/shared_intr_memory_location_v5.0' into 'release/v5.0'
fix(intr): always allocate memory from internal ram (v5.0)

See merge request espressif/esp-idf!26188
2023-09-28 16:44:14 +08:00
morris
36392368f4 fix(rmt): fixed unstable transfer during DFS
Closes https://github.com/espressif/esp-idf/issues/12292
2023-09-27 17:33:18 +08:00
morris
fcfb16050f fix(intr): always allocate memory from internal ram
Closes https://github.com/espressif/esp-idf/issues/12271
2023-09-27 02:36:01 +00:00
morris
711477d354 Merge branch 'feature/specify_rmt_intr_priority_v5.0' into 'release/v5.0'
feat(rmt): specify interrupt priority (v5.0)

See merge request espressif/esp-idf!25719
2023-09-19 11:49:18 +08:00
morris
2bec2de36e Merge branch 'feature/mcpwm_interrupt_priority_v5.0' into 'release/v5.0'
feat(MCPWM): Support set interrupt priority(v5.0)

See merge request espressif/esp-idf!25522
2023-09-19 10:41:58 +08:00
morris
d86397aca4 Merge branch 'feature/pcnt_interrupt_priority_v5.0' into 'release/v5.0'
feat(pcnt): support set interrupt priority(v5.0)

See merge request espressif/esp-idf!25520
2023-09-19 10:27:28 +08:00
morris
d6df3b7758 Merge branch 'feature/add_mcpwm_carrier_clk_source_v5.0' into 'release/v5.0'
feat(MCPWM): Add mcpwm carrier clk source(v5.0)

See merge request espressif/esp-idf!25523
2023-09-19 10:24:25 +08:00
Planck (Lu Zeyu)
f089f0d83b feat(rmt): specify interrupt priority 2023-09-18 03:02:49 +00:00
wanlei
bf1a67362e fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed
Close https://github.com/espressif/esp-idf/issues/11845
2023-09-01 17:30:26 +08:00
Chen Jichang
03ec7a0c5d feat(pcnt): support set interrupt priority(v5.0) 2023-08-29 07:48:30 +00:00
Jiang Jiang Jian
45e1b89efe Merge branch 'feature/default_clock_source_can_leave_empty_v5.0' into 'release/v5.0'
feat(mcpwm): default clock source setting can leave empty (v5.0)

See merge request espressif/esp-idf!25549
2023-08-26 10:15:28 +08:00
Jiang Jiang Jian
8e3b112c74 Merge branch 'bugfix/fix_legacy_adc_continuous_driver_dma_descriptor_not_internal_issue_v5.0' into 'release/v5.0'
adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue (v5.0)

See merge request espressif/esp-idf!25509
2023-08-25 12:08:15 +08:00
morris
358b408753 feat(mcpwm): default clock source setting can leave empty 2023-08-25 10:26:36 +08:00
morris
676553f432 fix(adc): invalid assertion on the adc_unit 2023-08-25 10:21:46 +08:00
Chen Jichang
615222f1c2 feat(MCPWM): Support set interrupt priority(v5.0) 2023-08-24 19:56:42 +08:00
Chen Jichang
2a88fb9e81 feat(MCPWM): Add mcpwm carrier clk source
The MCPWM carrier is part of the operator and can work independently
without the MCPWM timer being enabled. This commit add the MCPWM
carrier clk source.
2023-08-24 11:45:28 +08:00
Ivan Grokhotkov
f82d97216a sdmmc: keep clock enabled for the duration of ACMD41
SD specification requires that card clock is not disabled until the
card is idle, following ACMD41 command.
2023-08-24 02:16:37 +00:00
Armando
5a90dfb776 adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue 2023-08-23 19:45:56 +08:00
morris
9aefeb6dcb Merge branch 'bugfix/twai_install_returns_error_on_intr_alloc_fail_v5.0' into 'release/v5.0'
TWAI: twai_driver_install() returns error on interrupt allocation failure (GitHub PR) (v5.0)

See merge request espressif/esp-idf!24824
2023-08-21 13:26:43 +08:00
Nebojsa Cvetkovic
222190f08d twai: twai_driver_install() returns error on interrupt allocation failure
This commit updates twai_driver_install() so that an error is returned when
esp_intr_alloc() fails, instead of aborting.

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

[darian@espressif.com: Refactored object allocation and free procedures]
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2023-08-18 11:20:13 +08:00