Location:
Search - OS_CORE.C
Search list
Description: 移植到MCS51的uCOS_II。
1。在文件OS_CORE.C中OSMapTbl和OSUnMapTbl数组用于查表,所以应该放在code里。
增加code关键字。UCOS_II.H和OS_CORE.C。
2。OS_CFG.H堆栈大小MaxStkSize改为900。
3。OS_CPU_C.C的InitTimer0函数增加了关于开T0中断的解释。
允许T0中断,此时EA=0(51上电缺省值),中断还不会发生,满足在OSStart()前不产生中断的要求。
4。修改中断处理流程,以便严密监视中断嵌套情况。每个中断进入后立即进行OSIntNesting+1原语操作。
5。增加printf函数的移植,支持灵活的数据显示。支持标准或长二进制/八进制/十进制/十六进制/无符号整数,
支持字符、字符串、浮点数、百分号%。其中,浮点数在整个范围内被完全支持,统一采用科学记数法显示。
-transplanted to the MCS51 uCOS_II. 1. In the document which OSMapTbl OS_CORE.C and OSUnMapTbl array for Lookup, Therefore, it should be placed on code Lane. Increased code keyword. UCOS_II.H and OS_CORE.C. 2. OS_CFG.H MaxStkSize stack size to 900. 3. OS_CPU_C.C InitTimer0 function of the increase on the open T0 interrupted explained. Allow T0 interruption, this time EA = 0 (51 electricity default value), also will not be interrupted. meet the OSStart () do not have interrupted the former requirements. 4. Changes interrupt handling procedures, in order to closely monitor the situation interrupt nesting. Each interruption immediately after entering OSIntNesting a primitive operation. 5. Printf function to increase the transplant, support flexible data show. Support for standard or long binar
Platform: |
Size: 157834 |
Author: zhangk |
Hits:
Description: 关于 uC/OS-II 在 LPC210X 上移植的说明
1. 全部代码在 ADS1.2 中编译调试.
2. 您可以更改 RO BASE 为 0x0000 0000, 这样可以将代码写入 flash 中运行.
5. 全部代码采用 ARM 指令.
6. uC/OS-II 版本为 V2.52.
7. 当您暂停程序的时候, 如果定时器开着, 那么定时器并不会暂停,需要注意
8. Vectors.S 文件中的 startup 段为程序入口.
9. 编译时下面的警告不必理会.
Warning : C2871W: static OS_InitTaskStat declared but not used
OS_CORE.C line 1108
10. 如果您想通过软件仿真,请将 PLL.C 中的第 51 行屏蔽, 怎样就可以看到任务逐个切换,最后将进入空闲任务.
11. 此次移植将许多 uC/OS-II 的功能函数都关闭了,请查看 OS_CFG.H 文件.-on Phone / OS-II in the MCU on the note a transplant. All the code in degenerate. 2 compiler debugging. 2. You can change to the RO BASE 0x0000 0000, This code can be written into the flash run. 5. all code using ARM instructions. 6. uC/OS- II Version V2.52. 7. When you suspend the procedures, if the timer drive, then the timer will not be suspended need to 8. Vectors.S document of the startup procedures for entrance. 9. The following was compiled to disregard the warning. Warning : C2871W : static OS_InitTaskStat declared but not used O S_CORE.C line 1108 10. If you want to use software simulation, I would be grateful if PLL.C the first 51 firms shielding, you can see how each task switching, Finally, enter idle task. 11. This transplant of many embedded / OS-II functional functions are c
Platform: |
Size: 239683 |
Author: 王鑫 |
Hits:
Description: 值得参考Ucosii.h文件中对OS_TCB结构提的成员变量OSTCBDly的类型进行修改,改成INT16S型。
Os_core.c中,在OSInit函数中加入MinDelayTime初始化为0的语句,同时修改OSTimeTick函数
Platform: |
Size: 3700 |
Author: 3y6 |
Hits:
Description: 请在本目录存放UCOS 2.52源代码,包括OS_CORE.C、OS_FLAG.C、OS_MBOX.C、OS_MEM.C、OS_MUTEX.C、OS_Q.C、OS_SEM.C、OS_TASK.C、OS_TIME.C和uCOS_II.H。
Platform: |
Size: 53814 |
Author: 天久 |
Hits:
Description: 移植到MCS51的uCOS_II。
1。在文件OS_CORE.C中OSMapTbl和OSUnMapTbl数组用于查表,所以应该放在code里。
增加code关键字。UCOS_II.H和OS_CORE.C。
2。OS_CFG.H堆栈大小MaxStkSize改为900。
3。OS_CPU_C.C的InitTimer0函数增加了关于开T0中断的解释。
允许T0中断,此时EA=0(51上电缺省值),中断还不会发生,满足在OSStart()前不产生中断的要求。
4。修改中断处理流程,以便严密监视中断嵌套情况。每个中断进入后立即进行OSIntNesting+1原语操作。
5。增加printf函数的移植,支持灵活的数据显示。支持标准或长二进制/八进制/十进制/十六进制/无符号整数,
支持字符、字符串、浮点数、百分号%。其中,浮点数在整个范围内被完全支持,统一采用科学记数法显示。
-transplanted to the MCS51 uCOS_II. 1. In the document which OSMapTbl OS_CORE.C and OSUnMapTbl array for Lookup, Therefore, it should be placed on code Lane. Increased code keyword. UCOS_II.H and OS_CORE.C. 2. OS_CFG.H MaxStkSize stack size to 900. 3. OS_CPU_C.C InitTimer0 function of the increase on the open T0 interrupted explained. Allow T0 interruption, this time EA = 0 (51 electricity default value), also will not be interrupted. meet the OSStart () do not have interrupted the former requirements. 4. Changes interrupt handling procedures, in order to closely monitor the situation interrupt nesting. Each interruption immediately after entering OSIntNesting a primitive operation. 5. Printf function to increase the transplant, support flexible data show. Support for standard or long binar
Platform: |
Size: 157696 |
Author: zhangk |
Hits:
Description: 关于 uC/OS-II 在 LPC210X 上移植的说明
1. 全部代码在 ADS1.2 中编译调试.
2. 您可以更改 RO BASE 为 0x0000 0000, 这样可以将代码写入 flash 中运行.
5. 全部代码采用 ARM 指令.
6. uC/OS-II 版本为 V2.52.
7. 当您暂停程序的时候, 如果定时器开着, 那么定时器并不会暂停,需要注意
8. Vectors.S 文件中的 startup 段为程序入口.
9. 编译时下面的警告不必理会.
Warning : C2871W: static OS_InitTaskStat declared but not used
OS_CORE.C line 1108
10. 如果您想通过软件仿真,请将 PLL.C 中的第 51 行屏蔽, 怎样就可以看到任务逐个切换,最后将进入空闲任务.
11. 此次移植将许多 uC/OS-II 的功能函数都关闭了,请查看 OS_CFG.H 文件.-on Phone/OS-II in the MCU on the note a transplant. All the code in degenerate. 2 compiler debugging. 2. You can change to the RO BASE 0x0000 0000, This code can be written into the flash run. 5. all code using ARM instructions. 6. uC/OS- II Version V2.52. 7. When you suspend the procedures, if the timer drive, then the timer will not be suspended need to 8. Vectors.S document of the startup procedures for entrance. 9. The following was compiled to disregard the warning. Warning : C2871W : static OS_InitTaskStat declared but not used O S_CORE.C line 1108 10. If you want to use software simulation, I would be grateful if PLL.C the first 51 firms shielding, you can see how each task switching, Finally, enter idle task. 11. This transplant of many embedded/OS-II functional functions are c
Platform: |
Size: 246784 |
Author: 百度哥2010 |
Hits:
Description: 值得参考Ucosii.h文件中对OS_TCB结构提的成员变量OSTCBDly的类型进行修改,改成INT16S型。
Os_core.c中,在OSInit函数中加入MinDelayTime初始化为0的语句,同时修改OSTimeTick函数
Platform: |
Size: 4096 |
Author: 3y6 |
Hits:
Description: 请在本目录存放UCOS 2.52源代码,包括OS_CORE.C、OS_FLAG.C、OS_MBOX.C、OS_MEM.C、OS_MUTEX.C、OS_Q.C、OS_SEM.C、OS_TASK.C、OS_TIME.C和uCOS_II.H。
-Stored in the catalog UCOS 2.52 source code, including OS_CORE.C, OS_FLAG.C, OS_MBOX.C, OS_MEM.C, OS_MUTEX.C, OS_Q.C, OS_SEM.C, OS_TASK.C, OS_TIME.C and uCOS_II.H .
Platform: |
Size: 53248 |
Author: 天久 |
Hits:
Description: 基于STM32的RTOS例程。本移植使用的是 ucosⅡ 2.83版本,需要在OS文件夹下添加的操作系统源代码包括如下文件:
os_flag.c
os_mbox.c
os_mem.c
os_mutex.c
os_q.c
os_sem.c
os_task.c
os_time.c
os_tmr.c
os_core.c-RTOS routines based on the STM32. Transplantation using the ucos Ⅱ 2.83 version of OS folder need to add the operating system source code include the following documents: os_flag.c os_mbox.c os_mem.c os_mutex.c os_q.c os_sem.c os_task.c os_time.c os_tmr . c os_core.c
Platform: |
Size: 2634752 |
Author: 蓝天 |
Hits:
Description: μC/OS-Ⅱ初始化
在调用μC/OS-Ⅱ的任何其它服务之前,μC/OS-Ⅱ要求用户首先调用系统初
始化函数 OSIint()。OSIint()初始化μC/OS-Ⅱ所有的变量和数据结构(见
OS_CORE.C)。
OSInit()建立空闲任务 idle task,这个任务总是处于就绪态的。空闲任务
OSTaskIdle()的优先级总是设成最低,即 OS_LOWEST_PRIO。如果统计任务允
许 OS_TASK_STAT_EN 和任务建立扩展允许都设为 1,则 OSInit()还得建立统计任
务 OSTaskStat()并且让其进入就绪态。OSTaskStat 的优先级总是设为
OS_LOWEST_PRIO-1。 -μC/OS- Ⅱ initialization μC/OS- Ⅱ called before any other service, μC/OS- Ⅱ system requires users to first call the initialization function OSIint (). OSIint () initializes μC/OS- Ⅱ all variables and data structures (see OS_CORE.C). OSInit () to establish idle task idle task, the task is always in a ready state. Idle Task OSTaskIdle () is always set to the priority of the lowest, that OS_LOWEST_PRIO. If the statistical tasks and tasks to allow OS_TASK_STAT_EN an extended permit are set to 1, OSInit () have to establish statistical task OSTaskStat () and place them into the state. OSTaskStat priority is always set to OS_LOWEST_PRIO-1.
Platform: |
Size: 154624 |
Author: |
Hits:
Description: UCOS 2.52源代码,包括OS_CORE.C、OS_FLAG.C、OS_MBOX.C、OS_MEM.C、OS_MUTEX.C、OS_Q.C、OS_SEM.C、OS_TASK.C、OS_TIME.C和uCOS_II.H。-UCOS 2.52
Platform: |
Size: 53248 |
Author: carol |
Hits:
Description: ucosii for lpc2366 ucosii for lpc23-ucosii for lpc2366 ucosii for lpc2366
Platform: |
Size: 270336 |
Author: 何必问 |
Hits:
Description: 1。在文件OS_CORE.C中OSMapTbl和OSUnMapTbl数组用于查表,所以应该放在code里。
增加code关键字。UCOS_II.H和OS_CORE.C。
2。OS_CFG.H堆栈大小MaxStkSize改为900。
3。OS_CPU_C.C的InitTimer0函数增加了关于开T0中断的解释。
允许T0中断,此时EA=0(51上电缺省值),中断还不会发生,满足在OSStart()前不产生中断的要求。
4。修改中断处理流程,以便严密监视中断嵌套情况。每个中断进入后立即进行OSIntNesting+1原语操作。
以前版本的中断嵌套有可能判断错误,导致中断没有完全处理完就进行任务切换。
5。增加printf函数的移植,支持灵活的数据显示。支持标准或长二进制/八进制/十进制/十六进制/无符号整数,
支持字符、字符串、浮点数、百分号 。其中,浮点数在整个范围内被完全支持,统一采用科学记数法显示。
demo3.c专门针对printf函数进行了测试。-1. In the file OSMapTbl OS_CORE.C and OSUnMapTbl array for Lookup, it should be placed in code. Increased code keyword. UCOS_II.H and OS_CORE.C. 2. OS_CFG.H stack size MaxStkSize to 900. 3. OS_CPU_C.C of InitTimer0 function of the increase on to open T0 interrupt explanation. Allow T0 interrupt, then EA = 0 (51 on the power-on defaults), the interrupt will not occur, meet OSStart () before not generate an interrupt request. 4. Modify the interrupt handling process in order to closely monitor the situation interrupt nesting. Each interrupt immediately after OSIntNesting+1 into primitive operations. Previous versions of interrupt nesting is possible errors of judgment, causing the interrupt is not completely processed on task switching. 5. Increase the printf function of the transplant, support flexible data display. Supports standard or long binary/octal/decimal/hexadecimal/unsigned integers, supporting character, string, float, percent sign . Which float over the entire range is fully
Platform: |
Size: 67584 |
Author: by |
Hits:
Description: ucos2.52内核源码包括OS_CORE.C、OS_FLAG.C、OS_MBOX.C、OS_MEM.C、OS_MUTEX.C、OS_Q.C、OS_SEM.C、OS_TASK.C、OS_TIME.C和uCOS_II.H-ucos2.52 kernel source包括OS_CORE.C、OS_FLAG.C、OS_MBOX.C、OS_MEM.C、OS_MUTEX.C、OS_Q.C、OS_SEM.C、OS_TASK.C、OS_TIME.C和uCOS_II.H
Platform: |
Size: 54272 |
Author: 张江 |
Hits:
Description: OS_CORE.c是uC/OS-II的源代码-This is the kernel of uC/OS- II source code
Platform: |
Size: 53248 |
Author: 杨坤 |
Hits:
Description: this the source code of ucos, it contains the main function.* Note: Index into table is bit pattern to resolve highest priority
* Indexed value corresponds to highest priority bit position (i.e. 0..7)-this is the source code of ucos, it contains the main function.* Note: Index into table is bit pattern to resolve highest priority
* Indexed value corresponds to highest priority bit position (i.e. 0..7)
Platform: |
Size: 12288 |
Author: limin |
Hits:
Description: 说明:
请在本目录存放UCOS 2.52源代码,包括OS_CORE.C、OS_FLAG.C、OS_MBOX.C、OS_MEM.C、OS_MUTEX.C、OS_Q.C、OS_SEM.C、OS_TASK.C、OS_TIME.C和uCOS_II.H。-please help you,OS_CORE.C、OS_FLAG.C、OS_MBOX.C、OS_MEM.C、OS_MUTEX.C、OS_Q.C、OS_SEM.C、OS_TASK.C、OS_TIME.C和uCOS_II.H。
Platform: |
Size: 67584 |
Author: lanbo |
Hits:
Description: LPC22XX系列在UCOS11系统下的启动代码,包括OS_CORE.C、OS_FLAG.C、OS_MBOX.C、OS_MEM.C、OS_MUTEX.C、OS_Q.C、OS_SEM.C、OS_TASK.C、OS_TIME.C和uCOS_II.H。
-LPC22XX Series in the UCOS11 system under the boot code, including OS_FLAG.C, OS_MBOX.C, OS_CORE.C, OS_MEM.C, OS_MUTEX.C, OS_Q.C, OS_SEM.C, OS_TASK.C, OS_TIME.C and uCOS_II.H.
Platform: |
Size: 210944 |
Author: shbos |
Hits:
Description: ucso源代码。OS_CORE.c,OS_FLAG.c,OS_MBOX.c等-Ucso source code. OS_CORE.c, OS_FLAG.c, OS_MBOX.c, etc.
Platform: |
Size: 54272 |
Author: 李磊 |
Hits:
Description: 1.改移植和模板工程不包括操作系统核ucosⅡ的源代码,如需使用请向操作系统的供应商联系或者网上下载免费的源代码。
2.本移植使用的是 ucosⅡ 2.83版本,需要在OS文件夹下添加的操作系统源代码包括如下文件:
os_flag.c
os_mbox.c
os_mem.c
os_mutex.c
os_q.c
os_sem.c
os_task.c
os_time.c
os_tmr.c
os_core.c-port ucosⅡ2.83 into STM32
Platform: |
Size: 2459648 |
Author: chengxiaoyu |
Hits: