下面就直接进程序看吧,首先看mian函数intmain(void){INT8Uos_err;//OSerrorBsp_init();//EmbeddeddevelopmentboardInitiali
#includereg51.h>#defineucharunsignedchar#defineuintunsignedintsbitLED=P0^0;uchart_count=0;intmain
刚接手STM32时,你只编写一个intmain(){while(1);}BUILD://ProgramSize:Code=340RO-data=252RW-data=0ZI-data=1632编译后,
intmain(void){Bsp_Init();os_sys_init_user(Task_SysInit,50,gTaskStack_SysInit,DEF_StakSize_SysInit);系