60 Commits

Author SHA1 Message Date
igor.udot
daf2d31008 test: format all test scripts 2025-03-05 12:08:48 +08:00
Chen Ji Chang
e7088bbd07 Merge branch 'feat/add_uart_support_on_h21' into 'master'
feat(uart): support uart on esp32h21

Closes IDF-11618, IDF-11620, and IDF-12143

See merge request espressif/esp-idf!37197
2025-02-25 11:26:09 +08:00
Chen Jichang
028a16c01c feat(uart): support uart on esp32h21 2025-02-24 17:49:45 +08:00
Song Ruo Jing
53d8b70e8b fix(gpio): fix IO output enable control
oen_sel and oen_inv_sel fields from func_out_sel_cfg register
2025-02-20 19:49:28 +08:00
Song Ruo Jing
1d6bcb86ba fix(gpio): removed unnecessary step when routing input signal to a pin 2025-02-20 18:54:19 +08:00
Song Ruo Jing
3a8d065908 refactor(gpio): improve gpio_iomux_in/out API 2025-02-10 21:44:07 +08:00
Gao Xu
1e8a48db74 Merge branch 'feat/h21_enable_ci_build_test' into 'master'
feat(esp32h21): enable ESP32H21 ci build

Closes IDF-11561

See merge request espressif/esp-idf!36197
2025-02-07 14:10:54 +08:00
gaoxu
5ef4f20778 feat(esp32h21): disable unsupported build test 2025-02-06 15:47:51 +08:00
igor.udot
f742a05b28 feat: supports lp uart wakeup 2025-02-05 14:54:48 +08:00
Alexey Lapshin
888b5f7e8d feat(newlib): add picolibc support 2024-12-02 21:35:56 +07:00
Song Ruo Jing
3abfd17004 feat(uart): support uart sleep retention on C5/C61 2024-11-28 14:59:05 +08:00
morris
13d0e83cd6 fix(driver): issues reported by coverity 2024-11-27 09:57:37 +08:00
Tomas Rohlinek
408ae4c560 Merge branch 'feature/switch_to_new_vfs_api' into 'master'
feat(storage): switch to new VFS API

Closes IDF-11473

See merge request espressif/esp-idf!32029
2024-11-22 16:51:46 +08:00
Tomáš Rohlínek
2821ad7920
feat(storage/vfs): move uart driver to new vfs API 2024-11-21 07:41:42 +01:00
Li Shuai
8eea8a8ef3 change(esp_hw_support): update some modules sleep retention init dependency bitmap 2024-11-18 15:40:47 +08:00
Song Ruo Jing
78a690517f Merge branch 'bugfix/uart_single_wire_mode' into 'master'
fix(uart): allow same pin for tx and rx in uart_set_pin; UART_SELECT_READ_NOTIF race conditon fix

Closes IDFGH-13954, IDF-10721, IDF-11127, and IDF-9108

See merge request espressif/esp-idf!34737
2024-11-14 14:18:47 +08:00
Song Ruo Jing
32040c7f98 fix(uart): fix race condition with the use of UART_SELECT_READ_NOTIF
UART_SELECT_READ_NOTIF needs to be sent after received data got processed
to avoid the potential race condition
2024-11-12 20:08:38 +08:00
Song Ruo Jing
e8f0299557 fix(uart): allow same pin for tx and rx in uart_set_pin
Also add IO reserve to uart driver

Closes https://github.com/espressif/esp-idf/issues/14787
2024-11-12 20:08:38 +08:00
Song Ruo Jing
e6ef4d1791 fix(uart): fix 8/16-bit uart register access 2024-11-12 16:52:10 +08:00
Song Ruo Jing
3357fe8b95 Merge branch 'docs/update_uart_events_description' into 'master'
docs: update descriptions for UART events

See merge request espressif/esp-idf!34049
2024-11-04 16:30:20 +08:00
Song Ruo Jing
92b4c62d06 fix(uart_vfs): read() now aligned to POSIX defined behavior
- For blocking mode, block until data available
- Return with the bytes available in the file at the time,
  it should not block until reaching the requested size

And read() should not realy return on the newline character
Closes https://github.com/espressif/esp-idf/issues/14155
2024-10-31 17:57:04 +08:00
Linda
10e6101061 docs: update descriptions for UART events 2024-10-30 08:26:23 +08:00
Song Ruo Jing
dc15243a64 refactor(uart): minor update on uart retention feature 2024-10-22 17:43:28 +08:00
Wu Zheng Hui
6abe40e590 Merge branch 'feature/optimize_esp32p4_active_power_eco1' into 'master'
feat(system): Optimize esp32p4 active state  power consumption

Closes PM-103 and IDF-7688

See merge request espressif/esp-idf!32950
2024-09-11 23:15:29 +08:00
wuzhenghui
13e42707a0
feat(esp_hw_support): add clk tree source gate management api 2024-09-11 10:53:01 +08:00
wuzhenghui
05e74480f5
feat(esp_system): gate some clock by default to optmize esp32p4 active power 2024-09-11 10:53:00 +08:00
wuzhenghui
fd79c593fb fix(ci): increase uart driver test memory leak threshold 2024-09-07 02:04:43 +08:00
Song Ruo Jing
e1f27d04ed fix(uart): enable ci target test for uart for c5 2024-09-02 15:24:29 +08:00
Lou Tianhao
4393343ac9 fix(ci): some actions taken to pass ci 2024-08-29 14:15:41 +08:00
Song Ruo Jing
15e20f0dfb Merge branch 'ci/enable_esp32p4_gpio_uart_target_test' into 'master'
fix(gpio): esp32p4 IOs cannot keep being held in the entire deep sleep process

Closes IDF-8968, IDF-8971, and IDF-9877

See merge request espressif/esp-idf!32510
2024-08-16 17:31:59 +08:00
Song Ruo Jing
1171c3c281 fix(ci): enable gpio, uart target tests on esp32p4 2024-08-15 21:54:21 +08:00
Song Ruo Jing
2f92d863d8 fix(uart): eliminated potential glitch on TX at setup if TX signal is inversed
Closes https://github.com/espressif/esp-idf/issues/14285
2024-08-15 16:36:18 +08:00
gaoxu
cd9d8bf2e9 feat(uart): support uart on ESP32C61 2024-08-05 15:06:51 +08:00
wanlei
3cf069c7d8 feat(esp32c61): disable unsupported build test 2024-07-16 16:06:19 +08:00
Song Ruo Jing
f24d529c70 fix(uart): fix uart_config_t structure size difference in C and C++ 2024-07-08 20:17:27 +08:00
gaoxu
0d35631ec1 feat(rtcio): support RTCIO on ESP32C5 2024-06-28 22:01:55 +08:00
laokaiyao
c731b099ee remove(c5beta3): remove c5 beta3 doxy files 2024-06-17 12:02:15 +08:00
Michael (XIAO Xufeng)
9468bc3784 Merge branch 'fix/check_ring_buffer_before_fill' into 'master'
fix(uart): remove unnecessary wait when sending message to ring buffer

See merge request espressif/esp-idf!30839
2024-06-04 10:47:00 +08:00
Song Ruo Jing
dca7c286d0 feat(uart): support uart module sleep retention on c6/h2/p4 2024-06-03 12:40:43 +08:00
Frantisek Hrbata
fbe8bf89ee fix: properly resolve component dependencies
There is currently a bug in the __build_resolve_and_add_req function in
tools/cmake/build.cmake where the check for registered component
requirements is incorrectly applied to the component itself rather than
its dependencies. This issue likely originated from a typo, using
component_target instead of _component_target. To prevent further
confusion, _component_target has been renamed to _req_target.

Fixing this revealed multiple incorrect dependencies for the Linux
target, which have now been resolved by explicitly specifying the
dependencies for the Linux target.

Closes https://github.com/espressif/esp-idf/issues/13447

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-05-30 22:01:55 +08:00
Xu Si Yu
95035c53df fix(uart): remove unnecessary wait when sending message to ring buffer 2024-05-28 14:37:11 +08:00
Song Ruo Jing
8c603c24cd fix(uart): re-initialize uart_event fields to some certain values for every loop
Although uart_event.size and uart_event.timeout_flags fields are
meaningless to events other than UART_DATA, fix the values to 0 could
help reduce confusion.

Closes https://github.com/espressif/esp-idf/issues/12299
2024-04-24 19:19:04 +08:00
Michael (XIAO Xufeng)
1ca9a46737 Merge branch 'bugfix/forbid_uart_suspend_auto_lightsleep' into 'master'
uart: Fixed issue that TX be blocked by auto-lightsleep

Closes IDF-5518

See merge request espressif/esp-idf!21719
2024-04-10 10:49:24 +08:00
laokaiyao
65b1fd33d3 ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
Michael (XIAO Xufeng)
f251e32f48 feat(uart_test): add test case for uart tx blocked by auto-suspend 2024-04-05 03:01:24 +08:00
LiPeng
235bb6f294 fix(uart): Fixed issue that TX be blocked by auto-lightsleep 2024-04-05 03:01:24 +08:00
morris
c0289ee6eb fix(drivers): fix typos found by codespell
codespell components/esp_driver*
2024-03-28 10:01:27 +08:00
Song Ruo Jing
90bf2772ac fix(uart): Fix mismatch wakeup rising edges required with the threshold configured
Closes https://github.com/espressif/esp-idf/issues/12586
2024-03-15 16:58:33 +08:00
sonika.rathi
e162903615 fix(esp_vfs_console): add esp_vfs_console component
move vfs_console related init steps from vfs component to new esp_vfs_console component
2024-03-11 10:18:10 +01:00
wanlei
ee02b71f1c feat(esp32c61): introduce target esp32c61 2024-03-01 21:12:25 +08:00