ucos在44B0上的移植

时间:2013-06-30 15:16:36
【文件属性】:
文件名称:ucos在44B0上的移植
文件大小:289KB
文件格式:RAR
更新时间:2013-06-30 15:16:36
ucos ucos在44B0上的成功移植,void Main(void) { char Id1 = '1'; char Id2 = '2'; char Id3 = '3'; Port_Init(); Uart_Init(0,115200); Delay(1000); Uart_Select(0); //Select UART0 uHALr_printf("\nstarting ucos!!\n\n") ; //Uart_Printf("Uc-OS ii will run at once!"); /* do target (uHAL based ARM system) initialisation */ ARMTargetInit();//°üÀ¨½ûÖ¹ÖÐ¶Ï OSInit(); OSTimeSet(0); Sem1 = OSSemCreate(1); //Sem2 = OSSemCreate(1); // Sem3 = OSSemCreate(1); OSTaskCreate(Task1, (void *)&Id1, &Stack1[STACKSIZE - 1], 1); OSTaskCreate(Task2, (void *)&Id2, &Stack2[STACKSIZE - 1], 2); OSTaskCreate(Task3, (void *)&Id3, &Stack3[STACKSIZE - 1], 3); OSStart(); }
【文件预览】:
ucos2
----ucos2.mcp(193KB)
----SRC()
--------44blib.c.bak(9KB)
--------MAIN.C(2KB)
--------MEMCFG.S(3KB)
--------Option.s(1KB)
--------44BLIB.C(9KB)
--------main.c.bak(3KB)
--------44BINIT.S(14KB)
--------44BLIB_A.S(928B)
----INC()
--------OPTION.H(855B)
--------DEF.H(277B)
--------44BLIB.H(2KB)
--------44B.H(15KB)
----ucos2_Data()
--------DebugRel()
--------Debug()
--------Release()
--------CWSettingsWindows.stg(3KB)
----UHAL()
--------UHAL.C(4KB)
--------UHAL.H(1KB)
----UCOS-II()
--------OS_TIME.C(9KB)
--------Includes.h(2KB)
--------Os_cpu_c.c(10KB)
--------Os_cpu_a.s(6KB)
--------OS_CFG.H(3KB)
--------OS_CORE.C(39KB)
--------OS_MEM.C(11KB)
--------OS_Q.C(20KB)
--------Os_cpu_c.c.bak(11KB)
--------OS_TASK.C(35KB)
--------UCOS_II.C(1003B)
--------OS_CPU.H(4KB)
--------UCOS_II.H(22KB)
--------OS_SEM.C(11KB)
--------OS_MBOX.C(12KB)

网友评论