Pumpkin, Inc.

Pumpkin User Forums

Compiling error in mplab v8

For issues specific to Microchip's PICmicro® MCUs, including compilers (e.g. HI-TECH PICC & PICC-18, Microchip MPLAB®-C18) and IDEs (e.g. Microchip MPLAB®).

Compiling error in mplab v8

Postby crazy4rtos » Fri Mar 14, 2008 7:49 am

Hello all
i am getting this problem when compiling the code as mention in the user manual of salvo with mplab.

C:salvoexex1main.h:223:Error [1099] Undefined Salvo test system (SYS*). Definition required.


Please help me out where i am missing.
Regards

aabbcc
crazy4rtos
 
Posts: 7
Joined: Thu Mar 13, 2008 11:00 pm
Location: erewrewr

Re: Compiling error in mplab v8

Postby aek » Fri Mar 14, 2008 8:54 am

code:
#define SYSE 1

in your salvocfg.h.

This assumes you're running the MPLAB C18 compiler. SYSA for PICC and SYSF for PICC-18.

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

[This message has been edited by aek (edited March 14, 2008).]

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

Re: Compiling error in mplab v8

Postby crazy4rtos » Fri Mar 14, 2008 10:56 am

Thanks for your reply.
This is my salvocfg.h code.ihave defined sysf as your advise.

#define OSUSE_LIBRARY TRUE
#define OSLIBRARY_TYPE OSF
#define OSLIBRARY_CONFIG OSA

#define OSEVENTS 1
#define OSEVENT_FLAGS 0
#define OSMESSAGE_QUEUES 0
#define OSTASKS 1
#define SYSF 1

But still it throughing same error.
Error [1099] Undefined Salvo test system (SYS*). Definition required.

please help me

aabbcc
crazy4rtos
 
Posts: 7
Joined: Thu Mar 13, 2008 11:00 pm
Location: erewrewr

Re: Compiling error in mplab v8

Postby aek » Sat Mar 15, 2008 5:25 am

quote:
Error [1099] Undefined Salvo test system (SYS*). Definition required.
Please don't edit the error output -- which FILE is causing the error?

Which compiler?

Which target?

I need more information to be able to help you.

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

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

Re: Compiling error in mplab v8

Postby aek » Mon Mar 17, 2008 1:20 am

SYSE, not SYSF.

Also make sure that isr.c is also "seeing" a defined SYSE preprocessor symbol.

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

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

Re: Compiling error in mplab v8

Postby crazy4rtos » Mon Mar 17, 2008 11:30 am

I am using MCC18 compiler n MPLAB IDEv8.00.
I am using salvo 3.2.3 demo version.I think its enough info.Still i have that error.
need your help.
regards
aabbcc
crazy4rtos
 
Posts: 7
Joined: Thu Mar 13, 2008 11:00 pm
Location: erewrewr

Re: Compiling error in mplab v8

Postby crazy4rtos » Mon Mar 17, 2008 11:57 am

sorry i forget to mention the target.
target=PIC18C452.
regards
aabbcc
crazy4rtos
 
Posts: 7
Joined: Thu Mar 13, 2008 11:00 pm
Location: erewrewr

Re: Compiling error in mplab v8

Postby crazy4rtos » Tue Mar 18, 2008 2:35 am

yes SYSE.i mentioned that but the isr.c file m not finding it.can you mention tha path of the file.
regards
aabbcc
crazy4rtos
 
Posts: 7
Joined: Thu Mar 13, 2008 11:00 pm
Location: erewrewr

Re: Compiling error in mplab v8

Postby aek » Tue Mar 18, 2008 7:44 am

isr.c is in the tut1 directory ...

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

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

Re: Compiling error in mplab v8

Postby crazy4rtos » Tue Mar 18, 2008 10:33 am

the file which i have included in my work place are as follows:-

main.c
mem.c
salvocfg.h
sfc18sfa.lib
18c452.lkr
Please clarify me these are suitable files or not.
regards

aabbcc
crazy4rtos
 
Posts: 7
Joined: Thu Mar 13, 2008 11:00 pm
Location: erewrewr

Next

Return to PICmicro MCUs

Who is online

Users browsing this forum: No registered users and 1 guest

cron