Why do I receive an error while building code generated for the STM32F4xxx target using Embedded Coder in MATLAB R2023b?
显示 更早的评论
I am generating code and trying to build it for the STM32F4xxx target using Embedded Coder in MATLAB R2023b. While doing so, I am receiving the following error:
C:/Users/<username>/Downloads/esc1/esc/esc/codegen/Core/Src/stm32f4xx_it.c:210:23: error: 'hdma_usart2_rx' undeclared (first use in this function) 210 | HAL_DMA_IRQHandler(&hdma_usart2_rx);
Why am I getting this error, and how do I resolve this?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 STMicroelectronics Discovery Boards 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!