Closed ZhenshengLee closed 2 years ago
change main.c , compile and flash.
main.c
/* Initialize all configured peripherals */ MX_GPIO_Init(); MX_USART3_UART_Init(); MX_DMA_Init(); MX_USB_OTG_FS_PCD_Init();
smoke test success.
transport of serial failed, with no output of agent
In auto-generated code by cubemx(6.4), MX_DMA_Init(); happens after MX_USART3_UART_Init();
MX_DMA_Init();
MX_USART3_UART_Init();
_Originally posted by @ZhenshengLee in https://github.com/ZhenshengLee/ros2_mcu/issues/2#issuecomment-1063611974_
Not a micro-ROS issue
Issue template
Steps to reproduce the issue
change
main.c
, compile and flash.Expected behavior
smoke test success.
Actual behavior
transport of serial failed, with no output of agent
Additional information
In auto-generated code by cubemx(6.4),
MX_DMA_Init();
happens afterMX_USART3_UART_Init();
_Originally posted by @ZhenshengLee in https://github.com/ZhenshengLee/ros2_mcu/issues/2#issuecomment-1063611974_