Pumpkin, Inc.

Pumpkin User Forums

Why can not Build All with sfp82saa.lib?

If you can't make Salvo do what you want it to do, post it here.

Why can not Build All with sfp82saa.lib?

Postby Juil » Thu May 10, 2007 5:56 am

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

Juil
 
Posts: 5
Joined: Sun May 06, 2007 11:00 pm
Location: Hefei,Anhui,China

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

Postby aek » Thu May 10, 2007 7:45 am

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.

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

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

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

Postby Juil » Thu May 10, 2007 7:58 am

Could U please explain more particular?
"lib expects functions to be called from the main level and from the ISR level"?
Juil
 
Posts: 5
Joined: Sun May 06, 2007 11:00 pm
Location: Hefei,Anhui,China

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

Postby Juil » Thu May 10, 2007 8:00 am

Thinks a lot
Juil
 
Posts: 5
Joined: Sun May 06, 2007 11:00 pm
Location: Hefei,Anhui,China


Return to Coding

Who is online

Users browsing this forum: No registered users and 2 guests

cron