{//#error "TODO 3: Output the string 'str' through the uart."//#error "TODO 3: Output the string 'str' through the uart."rt_size_t i =0, size =0;chara ='\r'; __HAL_UNLOCK(&UartHandle); rt_enter_critical();/*锁定任务调度器*/size=rt_strlen(str);for(i =0; i < size;...
RT_Thread版本: V4.0.1 BSP: stm32f10x-HAL 编译器:KEIL-5 现象:meankongfig 配置后直接烧录程序可启动,设备断电后再上电程序无法启动。 解决方法: 1.找到配置文件board.c2.打开该文件,找到HAL_Delay函数3.将文件原来里面的delay值由10改为1000。 4.重新编译文件,完美解决。