This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to use app_uart_fifo with the Scheduler

I have been trying to use app_uart_fifo in an application that also uses the scheduler. Based off my understanding of the tutorial it seems that anywhere where I would want to call my uart_event_handle(app_uart_evt_t *p_event) function I would need to replace that a call for app_sched_event_put(). However the only place I ever "call" uart_event_handle() is when I call APP_UART_FIFO_INIT(), and I can't put a call to app_sched_event_put in the initialization function. How are you meant to handle uart events with the scheduler?

Related