 |
| Author |
Message |
|
mir
|
Post subject: Re: FFT Question ( based on Spectrum Analyser Frequency) Posted: Tue May 22, 2012 4:42 pm |
|
Joined: Tue May 22, 2012 4:30 pm Posts: 1
|
|
Hi,
I'm interesting at this "PIC18F 16-bit FFT Real-Time Audio Spectrum Analyser" project. I downloaded source code but I can't compile it properly. In particular MPLABX (witch HI TECH C toolchain v9.80) send me these macro's errors:
configuration_bits.c:39: error: Unknown macro (USBPLL) used in __CONFIG() configuration_bits.c:39: error: Unknown macro (IESODIS) used in __CONFIG() configuration_bits.c:39: error: Unknown macro (FCMDIS) used in __CONFIG() configuration_bits.c:39: error: Unknown macro (HSPLL) used in __CONFIG() configuration_bits.c:39: error: Unknown macro (CPUDIV1) used in __CONFIG() configuration_bits.c:39: error: Unknown macro (PLLDIV5) used in __CONFIG() configuration_bits.c:41: error: Unknown macro (VREGEN) used in __CONFIG() configuration_bits.c:41: error: Unknown macro (PWRTDIS) used in __CONFIG() configuration_bits.c:41: error: Unknown macro (BORDIS) used in __CONFIG() configuration_bits.c:41: error: Unknown macro (BORV20) used in __CONFIG() configuration_bits.c:41: error: Unknown macro (WDTDIS) used in __CONFIG() configuration_bits.c:41: error: Unknown macro (WDTPS32K) used in __CONFIG() configuration_bits.c:43: error: Unknown macro (PBDIGITAL) used in __CONFIG() configuration_bits.c:43: error: Unknown macro (LPT1DIS) used in __CONFIG() configuration_bits.c:43: error: Unknown macro (MCLREN) used in __CONFIG() configuration_bits.c:45: error: Unknown macro (XINSTDIS) used in __CONFIG() configuration_bits.c:45: error: Unknown macro (STVREN) used in __CONFIG() configuration_bits.c:45: error: Unknown macro (LVPDIS) used in __CONFIG() configuration_bits.c:45: error: Unknown macro (ICPORTDIS) used in __CONFIG() configuration_bits.c:45: error: Unknown macro (DEBUGDIS) used in __CONFIG() configuration_bits.c:47: advisory: too many errors (21)
Can you tell me these macros definitions? Thanks
|
|
 |
|
 |
|
Simon Inns
|
Post subject: Re: FFT Question ( based on Spectrum Analyser Frequency) Posted: Tue May 22, 2012 7:03 pm |
|
Joined: Thu Apr 01, 2010 6:23 am Posts: 892
|
|
It is possible that your compiler is complaining about the headers because Hi-Tech have changed them. You have to add a definition into the source to select 'legacy headers'. If you google the subject quickly you should find the information you require (I've not used MPLABX so I'm unsure of the exact fix).
/Simon
|
|
 |
|
 |
|
Users browsing this forum: No registered users and 1 guest |
| |
|
|
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 post attachments in this forum
|
|
 |