PIC_RTOS

所属分类:单片机开发
开发工具:C/C++
文件大小:3KB
下载次数:64
上传日期:2006-04-08 17:06:06
上 传 者管理员
说明:  一款PIC系列单片机的实时操作系统内核,简单明了;
(new PIC microcontroller series of real-time operating system kernel, simple and clear;)

文件列表:
PIC_RTOS\init.asm (295, 2006-04-08)
PIC_RTOS\os.asm (2737, 2006-04-08)
PIC_RTOS\t0.asm (205, 1998-02-24)
PIC_RTOS\t1.asm (206, 1998-02-24)
PIC_RTOS\var.asm (145, 2006-04-08)
PIC_RTOS (0, 2006-04-08)

POSIT Version 1.00 - source codes of multitasking OS for PIC microcontroller Copyright (c) 2004 Pavel Baranov (pbaranov@spb.lucent.com) Postcardware: ------------- These source codes are distributed as postcardware. You may use them as long as you whish. If you like them I ask you to send me any nice postcard. Please distribute POSIT.ZIP as a whole instead of the single files. You may support me with money order, check etc. sent to: Pavel Baranov Bovenmaatweg 56, 1274 RM Huizen, The Netherlands Usage: ------ The distributed software is an multitasking OS for PIC microcontroller. Using os.asm source code you can easily add as many independent proramms as you want. You only need to change the number of tasks in os.asm file and provide three calls for initialisation, interrupts and run in each module. As an example there are needed steps to make a two task system: 1. set tsknum into 2 (there will be 2 tasks) 2. in the same directory make two files t0.asm and t1.asm which will contain your task sources. 3. the file t0.asm should look like: t0_init ... ;your initialisation code for the first task return t0_inter ... ;your code to handle interrupts for the first task return t0_run ... ;your code for the first task return The same should be done for the second file t1.asm 4. (optional) You can if your need write common initialisation stub into the file init.asm It will be called before the corresponding tx_init calls in your tasks. All the variables can be stored in one place in var.asm file. You can start your variables from usrval address. It is better to have them in one file rather to spread around the source code. 5. compile and enjoy:) (You need to compile only os.asm file. All the other files are included into os.asm) How you can contact me: ----------------------- I would like to here from you. Please feel free to send any comments/suggestions/bug reports to me. e-mail: pbaranov@spb.lucent.com mail: Pavel Baranov Bovenmaatweg 56, 1274 RM Huizen, The Netherlands Sorry for my English. It is not a native language for me.

近期下载者

相关文件


收藏者