Pumpkin, Inc.

Pumpkin User Forums

Errors compiling task7.c

For issues specific to TI's MSP430 line of ultra-low-power microcontrollers, including compilers (e.g. Quadravox AQ430), IDEs (e.g. IAR Embedded Workbench) and development tools (e.g. TI MSP-FET430 Flash Emulation Tool).

Errors compiling task7.c

Postby dcassidy » Wed May 26, 2004 5:16 am

I get 2 errors compiling task7.c with
#define OSLOGGING TRUE
#define OSLOG_MESSAGES OSLOG_WARNINGS
in config

Error[Pe020]: identifier "tID" is undefined
Error[Pe020]: identifier "tID" is undefined

any ideas

Thanks for help

dcassidy
 
Posts: 16
Joined: Tue Feb 17, 2004 12:00 am
Location: Chelmsford, MA, USA

Re: Errors compiling task7.c

Postby aek » Thu May 27, 2004 12:28 am

It's a typo ... change all instances of tID to OStID in task7.c and re-build.

Sorry about that ...

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

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

Re: Errors compiling task7.c

Postby dcassidy » Thu May 27, 2004 4:38 am

I change the "tID" to "OStID" but now get Error[e46]: Undefined external "OStID" referred in task7 ( C:Program FilesIAR SystemsEmbedded Workbench 3.2430srcDRM SalvoDebugObj ask7.r43 )

Thanks for the help

dcassidy
 
Posts: 16
Joined: Tue Feb 17, 2004 12:00 am
Location: Chelmsford, MA, USA

Re: Errors compiling task7.c

Postby aek » Thu May 27, 2004 5:39 am

Sorry -- should have read change tID to OStID(tcbP) ...

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

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

Re: Errors compiling task7.c

Postby dcassidy » Fri May 28, 2004 10:24 am

Fixed those now I get:

Error[e46]: Undefined external "OStID" referred in task ( C:Program FilesIAR SystemsEmbedded Workbench 3.2430srcDRM SalvoDebugObj ask.r43 )

Thanks

dcassidy
 
Posts: 16
Joined: Tue Feb 17, 2004 12:00 am
Location: Chelmsford, MA, USA

Re: Errors compiling task7.c

Postby aek » Fri May 28, 2004 11:04 am

OK, so that same change (to OStID(tcbP)) probably needs to be made to task.c also ...

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

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

Re: Errors compiling task7.c

Postby dcassidy » Fri May 28, 2004 11:10 am

There is only 1 "tID" and it's already OStID(tcbP)!?!?
dcassidy
 
Posts: 16
Joined: Tue Feb 17, 2004 12:00 am
Location: Chelmsford, MA, USA

Re: Errors compiling task7.c

Postby aek » Fri May 28, 2004 11:14 am

Ah .. sorry -- you need to add salvosrc id.c to your project ...

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

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


Return to TI's MSP430

Who is online

Users browsing this forum: No registered users and 1 guest

cron