|
From: Alan C. de A. <ac...@gm...> - 2007-11-07 23:52:52
|
Hi Vangelis, 2007/11/7, Vangelis Rokas <vr...@ot...>: > You can define externs for each symbol, for example: > extern INTCON; > extern BSR; > extern FSR2H; > extern TBLPTRU; > extern TBLPTRH; > > this should eliminate your problems. > unhappily it don't eliminated my problem :-( Placing these externs give errors like this: pro_man.c:74: extern definition for 'FSR2H' mismatches with declaration. pic18f2680.h:5902: previously defined here I tested just copy these definitions from pic18f2680.h: extern __sfr __at (0xFF2) INTCON; extern __sfr __at (0xFE0) BSR; extern __sfr __at (0xFDA) FSR2H; ... But still getting the old error: pro_man.asm:1185: error: Symbol not previously defined (INTCON). Please, some other suggestion? > By the way, I've managed to compile a previous version of FreeRTOS. I > also have send it to the > FreeRTOS development team, but unfortunately it has been turned down. > Hmm, very interesting. But I need an OSEK compatible RTOS. I contacted PICos18 author, but he don't have time to help me "port" it to SDCC. He said me PICos18 uses many MPLAB C18 features and it will not works easily on SDCC. But I don't have choice, I don't have Windows and don't like it. > regards, > Vangelis Rokas > Thank you very much! Cheers, Alan |