-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
drivers: uart: native tty: Split native tty in top and bottom #60270
drivers: uart: native tty: Split native tty in top and bottom #60270
Conversation
57dff46
to
c42e282
Compare
Assigned this to @aescolar. He's back next week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much @MarkoSagadin ,
A couple of things need to be fixed though.
c42e282
to
8c0724c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I apologize that it took me so much time to come back to this, I was busy. I have rebased my changes to the current main
and resolved requested changes. Please have a look when you can.
8c0724c
to
acaed5e
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @MarkoSagadin
Just a couple of minor things left.
Did you try it with the sample and two back to back serial dongles?
acaed5e
to
0e4815e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aescolar I have fixed the mistakes. I currently could not test the sample as I do not have the dongles with me (I am on vacation). If is okay with you this PR can stay open until I return back (28th of august) to test this.
Split the native tty serial driver in a top and bottom to enable using it with embedded libCs. Signed-off-by: Marko Sagadin <marko.sagadin42@gmail.com>
Also include it in the twister tests. Signed-off-by: Marko Sagadin <marko.sagadin42@gmail.com>
0e4815e
to
d934456
Compare
Thanks @MarkoSagadin
It is more than ok, I thank you in advance for testing it :). I will leave it flagged as "dnm" until you (or somebody else with suitable HW) test it. |
d38de24
to
d934456
Compare
Hello @aescolar, I have built the |
Thanks @MarkoSagadin |
Split the native tty serial driver in a top and bottom to enable using it with embedded libCs when building targeting the native_sim boards.
This was the functionally same change as in #60053.
I also added native_sim over in the native_tty sample and included it into twister tests.
Related: #60096