morris
5ef69e8a63
mcpwm: fix typo in backward compatible macro name
2023-06-14 11:40:40 +08:00
Armando
61ecbb44a5
spi: added an API to get max transaction length and use in spi lcd driver
2023-05-19 09:30:06 +00:00
morris
9516e80f61
Merge branch 'bugfix/wakeup_io_hold_unhold_in_sleep_v4.4' into 'release/v4.4'
...
gpio: Fix deep sleep wakeup IOs unable to unhold after wakeup (v4.4)
See merge request espressif/esp-idf!22670
2023-04-21 10:51:05 +08:00
morris
2dc6c95859
Merge branch 'bugfix/usb_serial_driver_block_v4.4' into 'release/v4.4'
...
usb_serial_jtag: Fix bug of blocking TX xfer when using driver (backport v4.4)
See merge request espressif/esp-idf!22831
2023-04-20 11:01:01 +08:00
Song Ruo Jing
81b59071fd
gpio: Fix IO hold function related problems
...
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API
docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3
2023-03-29 17:21:50 +08:00
Cao Sen Miao
897082dbe5
usb_serial_jtag: Fix bug of blocking TX xfer when using driver,
...
Merges https://github.com/espressif/esp-idf/pull/10208
2023-03-20 14:39:35 +08:00
Jiang Jiang Jian
3c8bc2213c
Merge branch 'feature/esp32c3_uart_add_wakeup_event_v4.4' into 'release/v4.4'
...
UART: add uart wakeup event for esp32c3 and esp32s3 (v4.4)
See merge request espressif/esp-idf!22647
2023-03-20 14:05:42 +08:00
laokaiyao
ac67d5dd35
uart: support light sleep on esp32s3
2023-03-08 11:10:43 +08:00
Chen Yi Qun
176f44c15f
uart: add wakeup event for esp32c3
2023-03-08 10:02:23 +08:00
jingli
200dcce535
soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
...
all esp chips support this feature
2023-02-09 17:52:49 +08:00
morris
854c55c61e
Merge branch 'feature/_spi_slave_reset_trans_queue_api_v4.4' into 'release/v4.4'
...
spi: limit esp32 dma workaround only on esp32(v4.4)
See merge request espressif/esp-idf!21382
2023-02-02 21:39:51 +08:00
morris
46b66530ce
gdma: prevent mutli-channels connect to the same peripheral
...
1. add check in the gdma driver, to prevent multiple channels connecting
to the same peripheral
2. memory copy DMA ID will occupy the peripheral's DMA ID on some ESP
targets (e.g. esp32c3/s3). We should search for a free one when
install async memcpy driver.
Closes https://github.com/espressif/esp-idf/issues/10575
2023-02-01 11:10:26 +08:00
morris
2a9759ea24
gdma: correct the dma trigger of uart
...
GDMA trigger actually is not assigned to UART controller, but for UHCI
controller
2023-02-01 10:56:01 +08:00
Omar Chebib
622fb9e906
CI: check_public_headers script will detect the use of static asserts in headers
...
When a public header contains _Static_assert or static_assert, check_public_headers.py script will detect it and report it as an issue.
Indeed, public headers shall now use ESP_STATIC_ASSERT.
2022-12-06 19:28:51 +08:00
Armando
b23a2b0a75
spi: limit esp32 dma workaround only on esp32
2022-12-01 20:57:09 +08:00
Jiang Jiang Jian
86d29d566b
Merge branch 'bugfix/fix_current_leakage_when_hold_digital_io_during_deep_sleep_backport_v4.4' into 'release/v4.4'
...
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep(backport v4.4)
See merge request espressif/esp-idf!20945
2022-11-11 16:33:43 +08:00
morris
6a2cffe84d
Merge branch 'doc/explain_ledc_callback_return_value_v4.4' into 'release/v4.4'
...
ledc: explain the callback return value (v4.4)
See merge request espressif/esp-idf!20967
2022-11-11 10:10:13 +08:00
morris
8cba2f2ddf
ledc: explain the callback return value
...
Closes https://github.com/espressif/esp-idf/issues/10093
2022-11-10 18:49:51 +08:00
morris
79727b3a93
Merge branch 'bugfix/mcpwm_wrong_return_value_v4.4' into 'release/v4.4'
...
mcpwm: fix wrong return value in the legacy MCPWM driver (4.4)
See merge request espressif/esp-idf!20695
2022-11-09 22:49:42 +08:00
jingli
4b71ebbe49
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
2022-11-05 17:51:08 +08:00
morris
79ee98e229
mcpwm: update compare value on both tep and tez
...
Closes https://github.com/espressif/esp-idf/issues/9904
2022-10-25 13:20:41 +08:00
morris
8b352e1da9
mcpwm: fix wrong return value in the legacy driver
...
For APIs that not return esp_err_t value, we can't use macros like
ESP_RETURN_ON_xxx
2022-10-20 18:24:58 +08:00
laokaiyao
2da3035b52
doc: add application notes for i2s
2022-09-19 12:03:08 +08:00
songruojing
f4d33d2739
uart: Add a new API to get the free space size of tx buffer
...
Closes https://github.com/espressif/esp-idf/issues/8932
Closes https://github.com/espressif/esp-idf/issues/3078
(cherry picked from commit 9d73475e44
)
2022-07-11 17:04:11 +08:00
Linda
bc4338625c
docs:add chiptype and link to gpio.h
2022-07-08 16:29:11 +08:00
Jiang Jiang Jian
b9e018aa53
Merge branch 'bugfix/ledc_auto_clk_refactor_v4.4' into 'release/v4.4'
...
LEDC: improved support for ESP32-C3 and refactored divisor calculation (v4.4)
See merge request espressif/esp-idf!17101
2022-07-01 10:52:00 +08:00
xiongweichao
dc0650503b
Update the note of the gpio_intr_enable function
2022-06-19 14:33:13 +00:00
Tomas Rezucha
11cf565834
docs: Fix I2C thread-safety
2022-05-20 08:34:04 +02:00
Michael (XIAO Xufeng)
4178cdaa4f
Merge branch 'bugfix/wrong_gpio_is_deep_sleep_wakeup_valid_gpio_v4.4' into 'release/v4.4'
...
gpio: fix wrong GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO macro (backport v4.4)
See merge request espressif/esp-idf!17807
2022-04-28 11:19:20 +08:00
morris
2f1393ad53
gdma: add spin lock for gdma channel
...
... because we allow several control functions to be runable under ISR
context
2022-04-21 10:11:20 +00:00
Michael (XIAO Xufeng)
86b39a5042
Merge branch 'bugfix/spi_free_crash_uninitialized_v4.4' into 'release/v4.4'
...
spi: fixed crash when calling spi_bus_free when not initialized (v4.4)
See merge request espressif/esp-idf!17608
2022-04-21 15:47:13 +08:00
Ivan Grokhotkov
2d54f4584e
driver: sdspi: set default DMA channel compatible with S3, C3 or later
2022-04-19 13:46:37 +02:00
songruo
25668f96e4
gpio: fix wrong GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO macro
...
Closes https://github.com/espressif/esp-idf/issues/8733
(cherry picked from commit 0d52cb04dc
)
2022-04-18 22:18:17 +08:00
Michael (XIAO Xufeng)
36d989b16c
spi: fixed crash when calling spi_bus_free when not initialized
...
introduced in 49a48644e4
Closes: https://github.com/espressif/esp-idf/issues/8642
2022-03-27 02:33:18 +08:00
Jiang Jiang Jian
d326c5283d
Merge branch 'bugfix/ledc_consecutive_fade_v4.4' into 'release/v4.4'
...
ledc: Bugfixes for issues related to fade protection (backport v4.4)
See merge request espressif/esp-idf!16953
2022-03-07 11:00:46 +08:00
Wang Fang
21cdaeade9
docs: add a note to mck_io_num: for esp32, only gpio0/gpio1/gpio3 can be set
2022-03-04 07:00:18 +00:00
laokaiyao
299d496c30
i2s: add detailed comments to some fileds (v4.4)
2022-03-03 05:55:35 +00:00
songruojing
83edf2dbcf
ledc: Fix FADE_NO_WAIT mode concurrency problem.
...
Add test cases for fade concurrency issue and fade timing check.
Closes https://github.com/espressif/esp-idf/issues/6710
(cherry picked from commit be2ab09832
)
2022-02-16 15:02:45 +08:00
songruojing
574f2c6a17
ledc: bugfix - Simplify the procedure to perform a one-time duty update
...
Avoid adding one extra fade cycle when performing a one-time duty update.
Add some notes to ledc_get_duty and ledc_update_duty APIs, so that users
are aware of when the new duty will be effective.
Closes https://github.com/espressif/esp-idf/issues/7288
(cherry picked from commit e175086226
)
2022-02-16 15:02:45 +08:00
Omar Chebib
63afc84de5
LEDC: improved support for ESP32-C3 and refactored divisor calculation
...
As ESP32C3 does not have support for REF_TICK source clock, it is now not
possible to select it anymore.
Auto cfg clock has been improved for all boards.
2022-02-10 16:54:00 +08:00
Mahavir Jain
55b1756d5f
Merge branch 'contrib/github_pr_8139_backport_v4.4' into 'release/v4.4'
...
ledc.h - fix extern "C" to include ledc_cb_register() (backport v4.4)
See merge request espressif/esp-idf!16585
2022-01-26 13:40:22 +00:00
Omar Chebib
4288588751
UART: fix a bug preventing the user from freeing a previously registered ISR
...
* Closes https://github.com/espressif/esp-idf/issues/8150
2022-01-04 13:38:03 +08:00
Emil Muratov
8423e7d785
ledc.h - fix extern "C" to include ledc_cb_register()
...
(cherry picked from commit d4de08182e
)
2021-12-29 21:14:37 +08:00
Armando
1ec46ad3b8
adc: support adc dma driver on all chips
2021-12-23 17:13:46 +08:00
intern
215f8fe68e
docs: fix typo in header files
2021-12-14 11:01:17 +08:00
morris
e6ee8b2fcf
mcpwm: revert back to allow user register isr handler
...
Closes https://github.com/espressif/esp-idf/issues/7890
2021-11-16 11:38:48 +08:00
SalimTerryLi
bd89dcc683
RMT: add loop_autostop driver support for esp32s3
2021-09-24 15:24:45 +08:00
Kevin (Lao Kaiyao)
a287f34f88
Merge branch 'bugfix/i2s_apll_fixed_clock' into 'master'
...
i2s: fix apll bug introduced in 'refactor/i2s_driver'
Closes IDFGH-5824
See merge request espressif/esp-idf!15109
2021-09-14 08:31:12 +00:00
SalimTerryLi
932d4d13f0
MCPWM/sync: expose API for configuring timer sync
...
removed example: mcpwm_basic_config
Closes https://github.com/espressif/esp-idf/issues/5429
Co-authored-by: wubowen <wubowen@espressif.com>
2021-09-09 17:33:37 +08:00
laokaiyao
dfbe76e988
i2s: fix return value when failed to register i2s
2021-09-09 10:33:15 +08:00