Martin Vychodil
af81bd1b0a
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:49:08 +01:00
Jonas Vanthornhout
bc225c8886
Fixed typo
2022-11-01 14:36:44 +08:00
morris
88482af17a
Merge branch 'bugfix/i2s_tx_auto_clear_not_totally_clean_the_buf_v5.0' into 'release/v5.0'
...
i2s: fix tx incomplete auto clear (v5.0)
See merge request espressif/esp-idf!20570
2022-11-01 10:14:54 +08:00
morris
8481fbf752
Merge branch 'bugfix/change_clock_name_v5.0' into 'release/v5.0'
...
mcpwm: fix wrong return value in the legacy MCPWM driver (5.0)
See merge request espressif/esp-idf!20693
2022-10-28 10:02:40 +08:00
morris
e2cac5bf58
mcpwm: update compare value on both tep and tez
...
Closes https://github.com/espressif/esp-idf/issues/9904
2022-10-25 13:20:33 +08:00
morris
acb3b06ed6
twai: remove deprecated code and add hint
...
name "CAN" has been deprecated for a long time, this commit just remove
it from the code base.
Please use "TWAI" driver instead.
2022-10-24 18:39:45 +08:00
morris
0db5909b47
mcpwm: new function to fetch capture resolution
2022-10-21 07:37:36 +00:00
morris
1af428dff3
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-21 07:37:36 +00:00
Armando
46d3627e66
esp_adc: added esp32c2 adc runners
2022-10-21 11:20:41 +08:00
Michael (XIAO Xufeng)
2209831dd2
Merge branch 'feat/sdio_slave_disable_hs_v5.0' into 'release/v5.0'
...
sdio_slave: allow disabling highspeed mode (v5.0)
See merge request espressif/esp-idf!20456
2022-10-14 12:11:14 +08:00
morris
1729c79577
Merge branch 'feature/mcpwm_update_compare_iram_safe_5.0' into 'release/v5.0'
...
mcpwm: make set_compare_value iram safe (5.0)
See merge request espressif/esp-idf!20304
2022-10-14 11:58:55 +08:00
Jiang Jiang Jian
a9cc30e3e2
Merge branch 'bugfix/fix_spi_bus_lock_concurrency_issue_v5.0' into 'release/v5.0'
...
spi_bus_lock: fix a concurrency issue (v5.0)
See merge request espressif/esp-idf!20136
2022-10-14 11:13:51 +08:00
laokaiyao
e302d9a976
i2s: fix tx incomplete auto clear
...
Closes: https://github.com/espressif/esp-idf/issues/9882
2022-10-12 19:42:37 +08:00
morris
e2e97a5a33
mcpwm: allow compare equals to period
2022-10-12 08:41:58 +00:00
morris
54813cc19b
mcpwm: make set_compare_value iram safe
...
Closes https://github.com/espressif/esp-idf/issues/9793
2022-10-12 08:41:58 +00:00
Michael (XIAO Xufeng)
a2de42c096
Merge branch 'test/test_adc_on_dedicated_runners_v5.0' into 'release/v5.0'
...
ci: use adc dedicated test runners (v5.0)
See merge request espressif/esp-idf!20357
2022-10-12 16:32:26 +08:00
morris
3eb3f9f744
Merge branch 'bugfix/rmt_iram_test_random_failure_v5.0' into 'release/v5.0'
...
test: fix rmt iram case random failure (v5.0)
See merge request espressif/esp-idf!20383
2022-10-09 17:59:34 +08:00
Michael (XIAO Xufeng)
1d09c78c17
sdio_slave: allow disabling highspeed mode
2022-10-01 01:53:28 +08:00
Michael (XIAO Xufeng)
c15f5f352c
essl: move from esp-idf component to extra component
2022-09-29 07:39:45 +00:00
morris
eb2f472069
test: fix rmt iram case random failure
2022-09-28 10:52:29 +08:00
Armando
4f8bd12479
esp_adc: added comments to c3 test thresh, also sync to legacy tests
2022-09-27 12:19:36 +08:00
Armando
3ae1c587c0
ci: use adc dedicated test runners for adc tests
2022-09-27 12:19:25 +08:00
Song Ruo Jing
9ffb65f52e
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done()
...
In previous transmission(s), the TX_DONE interrupt raw bit may be raised, but never been cleared.
TX_DONE interrrupt status bit should be cleared before enabling it to check the new transmission.
Introduced in 4e09d147b11ed8a094b5858642c9f60d658ef656
2022-09-23 15:44:37 +08:00
morris
c4aa24c54e
rmt: disable rc_fast clock when it's used up
2022-09-18 15:52:25 +08:00
morris
70ee85d38b
mcpwm: check sync direction is valid
2022-09-15 19:07:31 +08:00
Jiang Jiang Jian
f8f3eb27c1
Merge branch 'bugfix/touch_sensor_v1_timer_expired_after_deleted_v5.0' into 'release/v5.0'
...
touch_senser: fixed ci issue timer expired after it is deleted (v5.0)
See merge request espressif/esp-idf!19985
2022-09-14 13:58:52 +08:00
Jiang Jiang Jian
393bbbc851
Merge branch 'bugfix/uart_sclk_freq_v5.0' into 'release/v5.0'
...
uart: fixed sclk_freq not init warning when compiling with asserts disabled (v5.0)
See merge request espressif/esp-idf!19870
2022-09-14 13:46:35 +08:00
Armando
64d9852e1f
SPI_BUS_LOCK: fix a concurrency issue
...
define: lock_bits = (lock->status & LOCK_MASK) >> LOCK_SHIFT; This `lock_bits` is the Bit 29-20 of the lock->status
1. spi_hdl_1:
acquire_end_core():
uint32_t status = lock_status_clear(lock, dev_handle->mask & LOCK_MASK);
Becuase this is the first `spi_hdl_1`, so after this , lock_bits == 0`b0. status == 0
2. spi_hdl_2:
acquire_core:
uint32_t status = lock_status_fetch_set(lock, dev_handle->mask & LOCK_MASK);
Then here status is 0`b0, but lock_bits == 0`b10. Because this is the `spi_hdl_2`
3. spi_hdl_2:
`acquire_core` return true, because status == 0. `spi_bus_lock_acquire_start(spi_hdl_2)` then won't block.
4. spi_hdl_2:
spi_device_polling_end(spi_hdl_2).
5. spi_hdl_1:
acquire_end_core:
status is 0, so it cleas the lock->acquiring_dev
6. spi_hdl_2:
spi_device_polling_end:
assert(handle == get_acquiring_dev(host)); Fail
Closes https://github.com/espressif/esp-idf/issues/8179
2022-09-14 12:08:24 +08:00
laokaiyao
434966f7b1
touch_sensor: add esp_timer error check
2022-09-14 02:40:32 +00:00
laokaiyao
b333c1a9f1
touch_sensor: fixed timer period
2022-09-14 02:40:32 +00:00
laokaiyao
0401aedd0c
touch_senser: fixed ci issue timer expired after it is deleted
2022-09-14 02:40:32 +00:00
Michael (XIAO Xufeng)
eea8629fa1
Merge branch 'bugfix/fix_gpio_intr_lost_v5.0' into 'release/v5.0'
...
gpio: Fix interrupt lost issue (backport v5.0)
See merge request espressif/esp-idf!19935
2022-09-09 15:05:50 +08:00
morris
43b1c0c875
Merge branch 'bugfix/fix_the_duplicated_type_name_in_i2s_v5.0' into 'release/v5.0'
...
i2s: fix the duplicated type name in i2s (v5.0)
See merge request espressif/esp-idf!19999
2022-09-08 15:11:52 +08:00
Song Ruo Jing
3017b65d4d
gpio: Fix interrupt lost issue
...
In previous gpio default isr, interrupt status bits get cleared at the exit of the isr.
However, for edge-triggered interrupt type, the interrupt status bit should be cleared before entering the per-pin handlers to avoid any potential interrupt lost.
Closes https://github.com/espressif/esp-idf/pull/6853
2022-09-08 11:52:25 +08:00
laokaiyao
d836d8cf35
i2s: add notes for the read task of i2s basic examples
2022-09-07 11:03:26 +08:00
laokaiyao
0f0baa5bb4
i2s: fixed the duplicated type name
2022-09-07 11:03:26 +08:00
Marius Vikhammer
a43850ca17
uart: fixed sclk_freq not init warning when compiling with asserts disabled
...
Closes https://github.com/espressif/esp-idf/issues/9642
2022-09-02 06:15:20 +00:00
morris
47bf0ef212
mcpwm: fix multiplication overflow in converting us to compare ticks
...
Closes https://github.com/espressif/esp-idf/issues/9648
2022-09-01 10:48:20 +08:00
morris
9747c3a8d6
legacy_timer: propagate isr register failure
...
Closes https://github.com/espressif/esp-idf/issues/9651
2022-09-01 10:48:08 +08:00
morris
02bedfac62
Merge branch 'bugfix/driver_rs485_fix_test_sync_issues_v50' into 'release/v5.0'
...
driver: uart rs485 fix test sync issues and fail threshold (backport v5.0)
See merge request espressif/esp-idf!19603
2022-09-01 10:07:11 +08:00
Alex Lisitsyn
9bb565b85c
driver: uart rs485 fix test sync issues and fail threshold (backport v5.0)
2022-09-01 10:07:11 +08:00
Armando
0b58bbd29b
esp_adc: migrate adc wifi test to test app
2022-08-29 12:33:16 +08:00
Michael (XIAO Xufeng)
69be7c4cc2
Merge branch 'feat/support_esp32c2_uart_v5.0' into 'release/v5.0'
...
uart: update console docs about frequency for ESP32-C2, move frequency of clock sources out of HAL (v5.0)
See merge request espressif/esp-idf!19690
2022-08-25 02:03:26 +08:00
songruojing
343acd7f88
gpio: fix USB D+ pin cannot disable pullup
...
Internally, disable usb serial jtag DP pin's pullup when calling gpio_ll_pullup_dis and rtcio_ll_pullup_disable
At usb serial jtag setup/install, re-enable DP pin's pullup
Closes https://github.com/espressif/esp-idf/issues/9495
2022-08-22 22:03:25 +08:00
Song Ruo Jing
26a4803048
ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst
...
ledc_ls_timer_update is required only when CLK_DIV and DUTY_RES bits are changed.
Calling ledc_timer_rst while re-configure PWM frequency through ledc_set_freq can cause glitch in the signal
2022-08-22 22:02:15 +08:00
songruojing
280a241792
pm: update pm test cases to support esp32c2
2022-08-22 21:56:10 +08:00
Michael (XIAO Xufeng)
6ed15178b6
uart: move frequency of clock sources out of HAL
2022-08-22 14:28:12 +08:00
morris
50ff1b0efd
mcpwm: don't use keyword operator
...
Closes https://github.com/espressif/esp-idf/issues/9510
2022-08-18 10:59:42 +08:00
morris
d8c2f67d63
mcpwm: added enable/disable functions
...
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-18 10:57:13 +08:00
morris
5020fbce1c
driver: add doc on how to unregister event callbacks
...
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-18 10:57:13 +08:00