From 2b6b9f89cc83ee2412166045e839da61be976564 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Fri, 31 Mar 2017 21:55:42 -0400 Subject: Change RPC UART to have a high-priority thread monitoring a large(ish) DMA buffer, because we've observed out-of-order receives under load. --- projects/hsm/mgmt-thread.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'projects/hsm/mgmt-thread.c') diff --git a/projects/hsm/mgmt-thread.c b/projects/hsm/mgmt-thread.c index 82b8e72..72841b7 100644 --- a/projects/hsm/mgmt-thread.c +++ b/projects/hsm/mgmt-thread.c @@ -67,6 +67,7 @@ static int cmd_thread_show(struct cli_def *cli, const char *command, char *argv[ extern void main(void); extern void dispatch_thread(void); extern void osTimerThread(void); + extern void uart_rx_thread(void); for (task_id = 1; task_id <= os_maxtaskrun; ++ task_id) { if ((task = os_active_TCB[task_id-1]) != NULL) { @@ -76,6 +77,8 @@ static int cmd_thread_show(struct cli_def *cli, const char *command, char *argv[ name = "dispatch_thread"; else if (task->ptask == osTimerThread) name = "osTimerThread"; + else if (task->ptask == uart_rx_thread) + name = "uart_rx_thread"; else name = "unknown"; -- cgit v1.2.3