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
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
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