Skip to content

Add esp32 uart echo example#190

Merged
rauhul merged 1 commit intoswiftlang:mainfrom
erhankur:esp32_uart_echo
Feb 11, 2026
Merged

Add esp32 uart echo example#190
rauhul merged 1 commit intoswiftlang:mainfrom
erhankur:esp32_uart_echo

Conversation

@erhankur
Copy link
Contributor

  • Add new esp32-uart-echo example demonstrating UART communication in Embedded Swift
  • Implement Uart struct wrapping ESP-IDF UART driver APIs
  • Enable Swift's native readLine() and print() to work over custom UART ports via stdio redirection

@erhankur erhankur force-pushed the esp32_uart_echo branch 3 times, most recently from b6475f3 to 45e8319 Compare January 23, 2026 21:30
@@ -0,0 +1,98 @@
# Register the app as an IDF component
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it be possible to start upstreaming some of this Swift logic into ESP IDF?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes we will do it gradually. Started from #192

@erhankur erhankur force-pushed the esp32_uart_echo branch 2 times, most recently from 3d94558 to 31bcccc Compare February 11, 2026 15:21
@rauhul rauhul merged commit 4d2cb78 into swiftlang:main Feb 11, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants