In nrf51_sdk_v4_4_1_31827\nrf51822\Source\console\console.c,
#include "uart_legacy.h"
But there is no "uart_legacy.h" file in the SDK.
I have to modify to "app_uart.h" and change the uart interface functions by myself...
EVERY TIME :( !!!
In nrf51_sdk_v4_4_1_31827\nrf51822\Source\console\console.c,
#include "uart_legacy.h"
But there is no "uart_legacy.h" file in the SDK.
I have to modify to "app_uart.h" and change the uart interface functions by myself...
EVERY TIME :( !!!
Hi, I now use new SDK 5.1.0 and I fall into same trap. Why the console.c is still included there when uart_legacy.h and hal_uart.h is missing? It's confusing. What module do you reccomend for UART API? simple_uart.c is very basic so should I rather use app_uart.c or app_uart_fifo.c ?
Hi, I now use new SDK 5.1.0 and I fall into same trap. Why the console.c is still included there when uart_legacy.h and hal_uart.h is missing? It's confusing. What module do you reccomend for UART API? simple_uart.c is very basic so should I rather use app_uart.c or app_uart_fifo.c ?
I'd normally recommend using app_uart or app_uart_fifo, but if you just need UART for example for debug outputting, simple_uart() may be easier to get started with.