Page 1 of 1

Why can not Build All with sfp82saa.lib?

PostPosted: Thu May 10, 2007 5:56 am
by Juil
when i build all the project(pic18f8722)
the compiler shows that

Advisory[1207] : some of the command line options you are using are now obsolete
Advisory[1208] : use --help option or refer to the user manual for option details
Error[473] : function "_OSCreateSem" is not called from specified interrupt_level
Error[473] : function "_OSSignalSem" is not called from specified interrupt_level
BUILD FAILED: Thu May 10 21:18:20 2007

but it can build succeeded with sfp82sab.lib
but i want use OSSetEFlag() in isr


Re: Why can not Build All with sfp82saa.lib?

PostPosted: Thu May 10, 2007 7:45 am
by aek
Please read the Salvo PICC-18 compiler reference manual ... an -a lib expects functions to be called from the main level and from the ISR level.

------------------


Re: Why can not Build All with sfp82saa.lib?

PostPosted: Thu May 10, 2007 7:58 am
by Juil
Could U please explain more particular?
"lib expects functions to be called from the main level and from the ISR level"?

Re: Why can not Build All with sfp82saa.lib?

PostPosted: Thu May 10, 2007 8:00 am
by Juil
Thinks a lot