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
laokaiyao
c5afd7ce34
i2s: fix write failure on ESP32 in 32bit slave mode
2021-09-03 17:36:44 +08:00
laokaiyao
b26da6f115
driver/i2s: refactor for i2s driver layer
2021-09-02 14:33:36 +08:00
Michael (XIAO Xufeng)
375145ecdb
Merge branch 'feature/mcpwm_bldc_hall_example' into 'master'
...
mcpwm: bldc hall example
Closes IDF-3648
See merge request espressif/esp-idf!14578
2021-08-26 08:28:27 +00:00
Darian
72ba1866fb
twai: TWAI_ALERT_RX_DATA indicates that frames were received
...
Signed-off-by: Darian Leung <darian@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/7386
Closes https://github.com/espressif/esp-idf/issues/7374
2021-08-25 19:57:10 +08:00
morris
0dbe872542
mcpwm: bldc hall example
2021-08-24 15:38:46 +08:00
morris
bb87fd8f08
Merge branch 'refactor/pcnt_driver_esp32s3' into 'master'
...
pcnt: soc update and hal refactor
See merge request espressif/esp-idf!14698
2021-08-20 04:23:15 +00:00
morris
71d475149d
lcd: update doc unit test and example to support 8-line spi
2021-08-19 16:40:22 +08:00
bizhuangyang
8143832041
spi_master:support octal mode for esp32s2 and esp32s3
...
Add support for 8-line spi for lcd on esp32s2 and esp32s3
Closes https://github.com/espressif/esp-idf/issues/6371
2021-08-19 16:40:22 +08:00
morris
3bcd9278fa
i2s: expose resource object to other component
2021-08-10 21:06:59 +08:00
morris
56760c9669
pcnt: refactor hal driver
2021-08-10 17:19:21 +08:00
Wang Fang
59aa60d52a
Merge branch 'docs/provide_apb_clock_frequency_in_api-reference_timers' into 'master'
...
docs: provide APB clock frequency in api-reference/timers
Closes DOC-1689
See merge request espressif/esp-idf!14593
2021-08-06 06:50:26 +00:00
Wang Fang
0ba73ee7e2
docs: provide APB clock frequency in api-reference/timers
2021-08-06 11:05:32 +08:00
SalimTerryLi
e5ddc12a08
MCPWM/capture: API workflow optimization
...
deprecate isr_register to introduce new callback based API, with framework managed interrupt routine
new HC-SR04 example
2021-08-05 19:12:58 +08:00
Michael (XIAO Xufeng)
947980ecac
Merge branch 'bugfix/uart_set_pin_use_iomux' into 'master'
...
uart: uart_set_pin function will now use IOMUX whenever possible
Closes IDF-3183
See merge request espressif/esp-idf!14318
2021-08-05 04:17:29 +00:00
Omar Chebib
779e7400b0
uart: uart_set_pin function will now use IOMUX whenever possible
...
By using IOMUX instead of GPIO Matrix for UART, it is now possible
on ESP32 boards to use the UART as a wake up source even if it is
not used as a console.
For other boards where this issue was not present, using IOMUX has
the advantage to be faster than using GPIO matrix, so a highest
baudrate can be used
2021-08-04 12:48:30 +08:00
laokaiyao
f863998e90
driver/i2s: support mclk
2021-08-04 10:20:03 +08:00
laokaiyao
3c57a6ac36
driver/i2s: refactor ll and hal
2021-08-04 10:20:03 +08:00
laokaiyao
d51b85989b
doc/i2s: update i2s programming guide on s3 & c3
2021-08-04 10:20:03 +08:00
laokaiyao
f7f8c9c11f
driver/i2s: support i2s on c3 and s3
...
1. Support i2s on esp32c3 and esp32s3
2. Refactor i2s_config_t to avoid breaking change
2. Fix a bug that receiving unavailable values from message queue when dma queue has been re-allocted
4. Support i2s unit test on esp32c3 and esp32s3
2021-08-04 10:20:03 +08:00
houwenxiang
2f1247e1c4
driver: support I2S on ESP32-S3 & ESP32-C3
...
1. refactor I2S driver.
2. support TDM mode for esp2s3 & esp32c3.
2021-08-04 10:20:03 +08:00
morris
5f318e902d
Merge branch 'bugfix/mcpwm-deadtime-preset-config' into 'master'
...
bugfix/mcpwm: fix deadtime module preset config (AHC, ALC, AH, AL)
Closes IDFGH-5600
See merge request espressif/esp-idf!14594
2021-08-03 04:22:20 +00:00
SalimTerryLi
32ca6ab65d
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition
...
Closes https://github.com/espressif/esp-idf/issues/7321
2021-08-03 10:12:42 +08:00
Michael (XIAO Xufeng)
f26006a3bc
Merge branch 'feature/ledc_fade_callback' into 'master'
...
ledc: Add a callback for LEDC fade end
Closes IDF-2475 and IDF-3222
See merge request espressif/esp-idf!14302
2021-07-31 08:52:00 +00:00