Pumpkin User Forums
  Service Bulletins
  SB-2: Salvo: Multiple Call Graph Errors under HI-TECH PIC C

Post New Topic  
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   SB-2: Salvo: Multiple Call Graph Errors under HI-TECH PIC C
Salvo Tech Support
Moderator
posted December 22, 2000 10:48     Click Here to See the Profile for Salvo Tech Support     Edit/Delete Message   Reply w/Quote
Applies To

Salvo v2.1 full version.

Description of Problem

When using

code:
#define OSCALL_OSSIGNALXYZ OSFROM_ANYWHERE

in salvocfg.h to configure event signaling services to be called from both mainline and interrupt code, the PIC C compiler responds with one or more of the following errors:

Error[ ] file : function _OSSignalXyz appears in multiple call graphs: rooted at intlevel0 and _main

Suggested Workaround

For each Salvo service listed in the error output, add the following lines to the source code, immediately prior to the function definition:

code:
#if OSCOMPILER == OSHT_PICC && OSCALL_OSSIGNALXYZ == OSFROM_ANYWHERE
#pragma interrupt_level 0
#endif

where XYZ is replaced with BINSEM/SEM/MSG/MSGQ. The #if statement can be extended as required when multiple signaling services are configured to OSFROM_ANYWHERE.

Fixed In

Salvo v2.2.0.

[This message has been edited by Salvo Tech Support (edited January 13, 2002).]

IP: 63.203.232.106

All times are ET

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  
Hop to:

Contact Us | Pumpkin Home Page

©2000-2008 Pumpkin, Inc. All Rights Reserved. Pumpkin and the Pumpkin logo, Salvo and the Salvo logo, The RTOS that runs in tiny places, CubeSat Kit and the CubeSat Kit logo are all trademarks of Pumpkin, Inc. All other trademarks are the properties of their respective owners.


Ultimate Bulletin Board 5.46a