View previous topic :: View next topic |
Author |
Message |
wayneosdias
Joined: 26 Nov 2007 Posts: 16
|
setup_psp(), Unidentified Identifier? |
Posted: Wed Sep 03, 2008 4:17 pm |
|
|
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
|
|
Posted: Wed Sep 03, 2008 5:54 pm |
|
|
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
|
|
Posted: Thu Sep 04, 2008 9:37 am |
|
|
Thanks, will do. |
|
|
|