Author |
Message |
Topic: OSA - RTOS for PIC controllers |
tester
Replies: 69
Views: 417579
|
Forum: Code Library Posted: Tue Aug 10, 2010 9:51 am Subject: OSA - RTOS for PIC controllers |
The bEnable flag is set in both OS_state and OS_CurTask after the call to OS_Task_Create(). It is reset in OS_state but not in OS_CurTask after the call to OS_SET_STATE.
I do not use OS_Task_Stop o ... |
Topic: OSA - RTOS for PIC controllers |
tester
Replies: 69
Views: 417579
|
Forum: Code Library Posted: Tue Aug 10, 2010 9:30 am Subject: OSA - RTOS for PIC controllers |
I'm having another problem that I don't quite understand.
Does the bEnable flag become set after OS_Task_Create?
Do you use OS_Task_Stop or OS_Task_Delete services?
Is OS_TASKS set properly? |
Topic: OSA - RTOS for PIC controllers |
tester
Replies: 69
Views: 417579
|
Forum: Code Library Posted: Wed Aug 04, 2010 7:41 am Subject: OSA - RTOS for PIC controllers |
I have a task that I would like defined in another object file. This causes an error. Do task have to be defined in the main file? If not, how can I define them somewhere else?
Yes, the task shoul ... |
Topic: OSA - RTOS for PIC controllers |
tester
Replies: 69
Views: 417579
|
Forum: Code Library Posted: Mon Jul 12, 2010 2:12 pm Subject: OSA - RTOS for PIC controllers |
Last an idea - try to use another version of compiler. |
Topic: OSA - RTOS for PIC controllers |
tester
Replies: 69
Views: 417579
|
Forum: Code Library Posted: Mon Jul 12, 2010 11:32 am Subject: OSA - RTOS for PIC controllers |
Yeah I should be able to since it isn't code I wrote...At least I can give it a try and then work it out with my boss later if it works.
Another one expirement: copy OSA into your project directory:
... |
Topic: OSA - RTOS for PIC controllers |
tester
Replies: 69
Views: 417579
|
Forum: Code Library Posted: Mon Jul 12, 2010 11:28 am Subject: OSA - RTOS for PIC controllers |
Do you have a possibility to allocate OSA into "C:\OSA"? |
Topic: OSA - RTOS for PIC controllers |
tester
Replies: 69
Views: 417579
|
Forum: Code Library Posted: Mon Jul 12, 2010 11:27 am Subject: OSA - RTOS for PIC controllers |
This is strange...
I run your command line into the prject foulder (in Windows Commander):
"C:\Program files\Picc\CCSC.exe" +FH "main_test.c" #__DEBUG=1 +ICD +DF +LN I+=&quo ... |
Topic: OSA - RTOS for PIC controllers |
tester
Replies: 69
Views: 417579
|
Forum: Code Library Posted: Mon Jul 12, 2010 10:41 am Subject: OSA - RTOS for PIC controllers |
Well using relative paths, it found osa.h but can't find port\osa_includ.h
Ah well this isn't anything to with your library anymore so I'll stop posting here. Thank you so much for your help and e ... |
Topic: OSA - RTOS for PIC controllers |
tester
Replies: 69
Views: 417579
|
Forum: Code Library Posted: Mon Jul 12, 2010 10:24 am Subject: OSA - RTOS for PIC controllers |
Is there any way I can tell CCS to handle those spaces properly?
Try to use relative paths:
. - for the project
..\osa - for OSA files |
Topic: OSA - RTOS for PIC controllers |
tester
Replies: 69
Views: 417579
|
Forum: Code Library Posted: Mon Jul 12, 2010 9:58 am Subject: OSA - RTOS for PIC controllers |
hmmm...it's still giving the same error. It can't find "port/osa_include.h" I took out the <space>, changed the search path accordingly. I'm not sure what else could be wrong. Any ot ... |
Topic: OSA - RTOS for PIC controllers |
tester
Replies: 69
Views: 417579
|
Forum: Code Library Posted: Mon Jul 12, 2010 9:37 am Subject: OSA - RTOS for PIC controllers |
Alright, I sent it. Sorry the link didn't work. I uploaded it not 5 minutes ago and it still works for me. Maybe it's a country thing...
I have received your project. The problem is in CCSC.EXE: it d ... |
Topic: OSA - RTOS for PIC controllers |
tester
Replies: 69
Views: 417579
|
Forum: Code Library Posted: Mon Jul 12, 2010 9:14 am Subject: OSA - RTOS for PIC controllers |
No there aren't any non-english characters.
Here's the project file: http://rapidshare.com/files/406544171/RTOS_test.rar
I tried to build the ccs examples but I can't get it to find the osa.h fi ... |
Topic: OSA - RTOS for PIC controllers |
tester
Replies: 69
Views: 417579
|
Forum: Code Library Posted: Mon Jul 12, 2010 8:45 am Subject: OSA - RTOS for PIC controllers |
All correctly.
Does your project path contains any non-english letters? MPLAB doesn't like them. Can you attach your project (whole) here, I'll check it?
Try to do build example from "osa\| ... |
Topic: OSA - RTOS for PIC controllers |
tester
Replies: 69
Views: 417579
|
Forum: Code Library Posted: Mon Jul 12, 2010 5:06 am Subject: OSA - RTOS for PIC controllers |
Hey I'm having some problems getting the current version of OSA to compile. I'm using CCS version 4.038. I've added the osa directory to my include path but I keep getting this error:
*** Error 18 ... |
Topic: OSA - RTOS for PIC controllers |
tester
Replies: 69
Views: 417579
|
Forum: Code Library Posted: Thu Mar 11, 2010 3:36 am Subject: OSA - RTOS for PIC controllers |
I tried the version 4.105 the implementation, compiler bug has disappeared, all are good. :grin:Thank's for information! I will check this version more detailed as soon as possible.
Promo: OSA is p ... |
|