CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

setup_psp(), Unidentified Identifier?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
wayneosdias



Joined: 26 Nov 2007
Posts: 16

View user's profile Send private message

setup_psp(), Unidentified Identifier?
PostPosted: Wed Sep 03, 2008 4:17 pm     Reply with quote

I'm porting code from the 16C76 to the 18F4423, the original code has been in use for some time w/o issue. I have reconfigured the config bits for the new chip, but i keep getting the following error during compilation:

ERROR 12: Unidentified Identifier --setup_psp()

the code snippet is
Code:
   
setup_psp(PSP_DISABLED);
setup_spi(SPI_MASTER|SPI_L_TO_H|SPI_CLK_DIV_16);


Commenting out the fx and the code will compile fine, but doesn't function in circuit as designed.

Using
PCH V4.078
PIC18F4423

Help
Wayne
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Sep 03, 2008 5:54 pm     Reply with quote

Email CCS support and ask them to add support for it.
I suspect it was left out by mistake.
If your maintenance has run out, ask them to allow you to
download the next version, after it has been fixed.
Guest








PostPosted: Thu Sep 04, 2008 9:37 am     Reply with quote

Thanks, will do.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group