Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WatchChar is not implemented in ESP32 #384

Closed
Dweaver309 opened this issue Aug 22, 2018 · 4 comments · Fixed by nanoframework/nf-interpreter#831
Closed

WatchChar is not implemented in ESP32 #384

Dweaver309 opened this issue Aug 22, 2018 · 4 comments · Fixed by nanoframework/nf-interpreter#831

Comments

@Dweaver309
Copy link

The WatchChar is not implemented in Windows.Devices.SerialCommunication for ESP32.

@MatthiasJentsch
Copy link
Contributor

I can't find out how the event gets from PostManagedEvent routed to the correct event handler in C#.

@MatthiasJentsch
Copy link
Contributor

MatthiasJentsch commented Aug 26, 2018

@josesimoes
Copy link
Member

I think the code is missing is the native interrupt wrappers. Wrote this as a reminder. See here.
As it seems that that is not a true interrupt handler, pherhaps the closest would be to wrap the switch statment there (line 107) and 125-126.

@MatthiasJentsch
Copy link
Contributor

Thanks @josesimoes for the hint with the portIndex. For UART0 the portIndex 1 should be send because COM1 is UART0 in the ESP32.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants