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

The fastserial implementation of UartStream.send in Msp430UartP only works with a buffer of 1 byte #411

Open
MBradbury opened this issue Jun 28, 2017 · 3 comments

Comments

@MBradbury
Copy link
Contributor

In fastserial/Msp430UartP.nc the UartStream.send function only works when the buffer has a length of 1 byte. This is a regression compared to chips/msp430/usart/MSP430UartP.n where UartStream.send supports a buffer of arbitrary length.

It looks like much of the chips/msp430/usart/MSP430UartP.nc could simply be used in fastserial/Msp430UartP.nc instead.

@cire831
Copy link
Member

cire831 commented Jun 28, 2017

if I fix it, do you have a way of testing it?

and this is on the dev trunk, yes?

@MBradbury
Copy link
Contributor Author

I noticed this while trying to debug another issue. I'll get one of my TelosB motes set up and get it tested.

Yes this is on dev trunk.

@cire831
Copy link
Member

cire831 commented Jun 29, 2017

cool. thanks.

i'm using arm processors solely at this point. msp432. good stuff

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

No branches or pull requests

2 participants