Commit 2dd42c2
fix(uart): terminates uart driver whenever both rx and tx pins are detached (#12080)
* fix(uart): terminates uart driver whenever rx and tx are detached
* fix(uart): detaching pin check points
* fix(uart): extended lod messages
* fix(uart): fixes setPins to keep driver working
* fix(uart): peripheral manager CI test adjusting
Updated UART test configurations to handle I2C interactions correctly by detaching TX pin and restarting the UART driver when both RX and TX are detached.
* fix(uart): Refactor UART test to detach only one pin
Updated UART test configuration to detach only one pin instead of both, ensuring the UART driver continues to function. Removed redundant code related to UART driver restart when both pins are detached.
* fix(uart_test): do not detach both UART pins
Updated UART test configuration to detach TX pin while keeping RX pin active. Adjusted assertions to reflect the new pin settings.
* fix(uart_test): formatting
* fix(uart_doc): Document RX and TX pin detachment behavior
Added note about driver behavior when RX and TX pins are detached.
* fix(uart): code formatting
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix(uart): code formatting
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix(uart): code formatting
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix(uart): code formatting
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* feat(uart): C wrapper to end related Serial object
* fix(uart): fixes bad case value
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix(uart): C wrapper to end related Serial object
* fix(docs): adding comma
* ci(pre-commit): Apply automatic fixes
* fix(uart_ci): typo in UART driver comment
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>1 parent c0395df commit 2dd42c2
File tree
5 files changed
+114
-13
lines changed- cores/esp32
- docs/en/api
- tests/validation/uart
5 files changed
+114
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
64 | 89 | | |
65 | 90 | | |
66 | 91 | | |
| |||
483 | 508 | | |
484 | 509 | | |
485 | 510 | | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | 511 | | |
490 | 512 | | |
491 | 513 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
| 294 | + | |
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
282 | 285 | | |
283 | 286 | | |
284 | 287 | | |
285 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
286 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
287 | 302 | | |
288 | 303 | | |
289 | 304 | | |
290 | 305 | | |
291 | 306 | | |
292 | | - | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
293 | 311 | | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
294 | 321 | | |
295 | 322 | | |
296 | 323 | | |
297 | 324 | | |
298 | 325 | | |
299 | | - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
300 | 330 | | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
301 | 335 | | |
302 | 336 | | |
303 | 337 | | |
304 | 338 | | |
305 | 339 | | |
306 | | - | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
307 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
308 | 349 | | |
309 | 350 | | |
310 | 351 | | |
| |||
629 | 670 | | |
630 | 671 | | |
631 | 672 | | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
632 | 683 | | |
633 | 684 | | |
634 | 685 | | |
| |||
660 | 711 | | |
661 | 712 | | |
662 | 713 | | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
663 | 729 | | |
664 | 730 | | |
665 | 731 | | |
| |||
986 | 1052 | | |
987 | 1053 | | |
988 | 1054 | | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
989 | 1058 | | |
990 | 1059 | | |
991 | 1060 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
381 | 383 | | |
382 | | - | |
| 384 | + | |
383 | 385 | | |
384 | 386 | | |
385 | 387 | | |
386 | 388 | | |
387 | 389 | | |
388 | 390 | | |
389 | 391 | | |
390 | | - | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
391 | 395 | | |
392 | | - | |
| 396 | + | |
393 | 397 | | |
394 | 398 | | |
395 | 399 | | |
| |||
450 | 454 | | |
451 | 455 | | |
452 | 456 | | |
453 | | - | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
454 | 460 | | |
455 | 461 | | |
456 | 462 | | |
| |||
0 commit comments