Pumpkin, Inc.

Pumpkin User Forums

Using Salve Freeware and MPLAB 6.00

If you're having difficulty with Salvo's configuration options, post it here.

Using Salve Freeware and MPLAB 6.00

Postby interested » Mon Sep 30, 2002 3:42 am

Decided to give your freeware version a try for some testing. However, we don't seem to be able to successfully build an app. We are using your sfc18sft.lib library and our main.c file contains:
code:
#include "main.h"
#include <salvo.h>

void main( void )
{
Init();

OSInit();

for (;;)
OSSched();
}


When building the project we get the following output from MPLAB 6.00:

Deleting intermediary files.
Executing: C:mcc18inc18demo.exe -p=18F452 main.c -fo=main.o /iC:Junk -o- -w2 -Oi- -ms -Ol- -Oa-
Executing: C:mcc18inmplink.exe c:mcc18lkr18f452.lkr main.o sfc18sft.lib /oMyFirst.cof /lc:mcc18lib /kc:mcc18lkr /d /n66
MPLINK 3.00, Linker
Copyright (c) 2002 Microchip Technology Inc.
Error - could not find definition of symbol 'OSIdlingHook' in file 'sched.o'.
Errors : 1

Link step failed.

Any clues/help? Thanks.

[This message has been edited by aek (edited September 30, 2002).]

interested
 
Posts: 4
Joined: Thu Sep 26, 2002 11:00 pm

Re: Using Salve Freeware and MPLAB 6.00

Postby aek » Mon Sep 30, 2002 7:02 am

Hello.

That's an easy one ... just add this function to your application:

code:
void OSIdlingHook (void)
{
;
}

and you should be good to go ...

OSIdlingHook() is a user hook that is called whenever OSSched() has no eligible tasks to dispatch ... this feature is enabled in the Salvo libraries, so you always have to define your own ...

[This message has been edited by aek (edited September 30, 2002).]

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

Re: Using Salve Freeware and MPLAB 6.00

Postby tbims23822 » Wed Jul 08, 2009 11:49 am

www.drop-shopping.com is a premium website for cheap air jordans shoes and other more really nike air jordan shoes.We have varity of cheap air jordan shoes available for wholesale.Cheap China wholesale shoes including cheap Nike shoes and cheap jordan shoes,nike sneakers,nike sneakers discount,air jordan sneakers,air force sneakers.We supply nike sneakers,jordan sneakers,air jordan sneakers,air force sneakers wholesale.You can buy very cheap jordans shoes including cheap women shoes,cheap nike shoes,cheap running shoes from us.

tbims23822
 


Return to Configuration

Who is online

Users browsing this forum: No registered users and 3 guests

cron