We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried to enable both UARTs on JN5168 chip and redirect printf output to UART1. I changed the putc function in: https://github.com/contiki-os/contiki/blob/master/platform/jn516x/lib/slip.c#L442 to use uart1_writeb. I also enabled the UART1 in: https://github.com/contiki-os/contiki/blob/master/platform/jn516x/Makefile.jn516x#L74 and added the uart1_init in contiki-jn516x-main.c. However the Contiki makes a BUS EXCEPTION during boot, because of that line: https://github.com/contiki-os/contiki/blob/master/platform/jn516x/dev/uart-driver.c#L164 The printf should be changed to DBG_vPrintf
The text was updated successfully, but these errors were encountered:
jn516x uart-driver.c: use DBG_vPrintf instead of printf. Issue contik…
810036e
…i-os#1314
Thanks for the bug report, now addressed in #1315
Sorry, something went wrong.
e540bb2
Successfully merging a pull request may close this issue.
I tried to enable both UARTs on JN5168 chip and redirect printf output to UART1. I changed the putc function in:
https://github.com/contiki-os/contiki/blob/master/platform/jn516x/lib/slip.c#L442
to use uart1_writeb. I also enabled the UART1 in:
https://github.com/contiki-os/contiki/blob/master/platform/jn516x/Makefile.jn516x#L74
and added the uart1_init in contiki-jn516x-main.c. However the Contiki makes a BUS EXCEPTION during boot, because of that line:
https://github.com/contiki-os/contiki/blob/master/platform/jn516x/dev/uart-driver.c#L164
The printf should be changed to DBG_vPrintf
The text was updated successfully, but these errors were encountered: