Hi,
I'm having some trouble enabling UART1 within the rak4631_rak1901_demo application.
I've added what I think are the appropriate lines to _rak4631nrf52840.overlay and proj.conf.
I then added lines in the application to initialize and set a callback for the peripheral, but unfortunately, it fails on compile with the following error:
rak-repo/rak-sid-workspace/rak-sid/app/rak4631_rak1901_demo/src/my_tasks.c:183: undefined reference to `__device_dts_ord_88'
The error is in reference to this line I've added in my_tasks.c to initialize the UART1 peripheral:
static const struct device *uart1_dev = DEVICE_DT_GET(DT_NODELABEL(uart1));
if (device_is_ready(uart1_dev)) {
printk("UART1 device is found!");
} else {
printk("UART1 device is NOT found!");
}
It seems to be unable to resolve the name "uart1" even though I have added lines in the overlay and .conf file to support it, as shown below:
Hi,
I'm having some trouble enabling UART1 within the rak4631_rak1901_demo application.
I've added what I think are the appropriate lines to _rak4631nrf52840.overlay and proj.conf.
I then added lines in the application to initialize and set a callback for the peripheral, but unfortunately, it fails on compile with the following error:
The error is in reference to this line I've added in my_tasks.c to initialize the UART1 peripheral:
It seems to be unable to resolve the name "uart1" even though I have added lines in the overlay and .conf file to support it, as shown below:
Additions in rak4631_nrf52840.overlay:
Additions in proj.conf:
Any assistance you could provide would be great, I've been stuck on this for a while. Thanks.