diff options
author | Paul Selkirk <paul@psgd.org> | 2017-03-31 21:55:42 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2017-04-01 13:30:11 -0400 |
commit | 2b6b9f89cc83ee2412166045e839da61be976564 (patch) | |
tree | d680a2c5627379862907ff4a1e043b7d0d85ef8f /libraries | |
parent | 7a8a2564c64894026e6e79eb116f5b8b358d622c (diff) |
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.
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c b/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c index f69e790..cbfff2d 100644 --- a/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c +++ b/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c @@ -253,4 +253,10 @@ __weak void HAL_UART2_RxHalfCpltCallback(UART_HandleTypeDef *huart) */ } +void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart) +{ + /* I dunno, just trap it for now */ + Error_Handler(); +} + /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |