SEARCH
TOOLBOX
LANGUAGES
Register    Login    Forum    Search    FAQ

Board index » Electronics Projects » PIC microcontroller projects




Post new topic Reply to topic  [ 12 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: FFT Question ( based on Spectrum Analyser Frequency)
 Post Posted: Tue May 22, 2012 4:42 pm 
Offline

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


Top 
 Profile  
 
 Post subject: Re: FFT Question ( based on Spectrum Analyser Frequency)
 Post Posted: Tue May 22, 2012 7:03 pm 
Offline

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


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 12 posts ]  Go to page Previous  1, 2

Board index » Electronics Projects » PIC microcontroller projects


Who is online

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

Search for:
Jump to:  
Translated by Maël Soucaze © 2009 phpBB.fr