[riot-devel] Using periph/UART w/ native

Evan Dietz evan.r.dietz at gmail.com
Mon Sep 14 15:25:37 CEST 2015


Hi Oleg,

I would be happy to give the new feature a try. When you create the issue,
could you point to some similar implementations as references? This will
help me implement the "riot" way.

I imagine getting the periph_uart* unit tests working on native would be a
good start?

Thanks for the help.

Evan
On Sep 14, 2015 3:20 AM, "Oleg Hahm" <oliver.hahm at inria.fr> wrote:

> Hi Evan!
>
> > This is a first time post to the forum so please excuse any newbie
> > language/etiquette.
>
> Welcome to the RIOT community and no worries about any RIOT specific
> language
> or etiquette.
>
> > I'd like to test some uart-related code using native before flashing to a
> > specific board.  However it doesn't look like native cpu supports uart.
> >
> > Am I missing something or is this the correct assessment?
>
> Nope, you are correct. We just recently switched to periph/uart support for
> all boards, but since the native getchar/putchar implementation are mapped
> to
> the host's implementation of these functions there was no urgent need for a
> periph/uart implementation on native.
>
> > Is there any work being done on adding uart emulation to native?  Is this
> > an issue already being tracked (i tried to check but didn't see anything)
>
> I guess you're right here, too: there is indeed no issue for this. I'll
> open
> one. Do you have interest in working on this by any chance?
>
> Cheers,
> Oleg
> --
> printk(KERN_CRIT "Whee.. Swapped out page in kernel page table\n");
>         linux-2.6.6/mm/vmalloc.c
>
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20150914/b13f115d/attachment.html>


More information about the devel mailing list