Skip to content

fix(#71): add uart patches for zig translate c to replace opaque uart… - #72

Merged
kassane merged 2 commits into
kassane:mainfrom
MrCSharp22:fix/zig-translate-c-uart-config-type-error
Sep 11, 2026
Merged

fix(#71): add uart patches for zig translate c to replace opaque uart…#72
kassane merged 2 commits into
kassane:mainfrom
MrCSharp22:fix/zig-translate-c-uart-config-type-error

Conversation

@MrCSharp22

@MrCSharp22 MrCSharp22 commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

This pull request fixes a zig translate c issue where uart_config_t was translated as an opaque type.

This provides a replacement for uart_config_t through the patch mechanism as well as a small fix for the sample uart app due to the use of a variadic function.

I have tested this on my ESP32 device. However, I do not have an ESP32 C6 to test the low-power uart functionality properly. The code compiles properly when I idf set-target esp32c6.

closes #71

@kassane
kassane merged commit ac90c61 into kassane:main Sep 11, 2026
71 of 73 checks passed
@kassane

kassane commented Sep 11, 2026

Copy link
Copy Markdown
Owner

@MrCSharp22, thanks for help!

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.

[BUG]: UART Echo example fails compilation

2 participants