Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Macduf
PostPosted: Jul 02, 2012 - 05:47 AM
Newbie


Joined: Jun 25, 2012
Posts: 11


Hi!
I use my owm code without Bitcloud API. But when i build a project i see this:
Code:
Error[e27]: Entry "handler_ADC_vect" in module WSNCoord ( D:\BitCloud_MEGARF_1_14_0\Applications\WSNDemo\iar_projects\Coordinator_Stk600_Atmega128rfa1_8Mhz\Obj\ WSNCoord.r90 ) redefined in module halAdc ( D:\BitCloud_MEGARF_1_14_0\BitCloud\lib\libHAL_AtmlStk600_Atmega128rfa1_8Mhz_Iar.a )



I use this code for ADC_ISR:
Code:
ISR(ADC_vect)
{
  ADCdata=ADCH;
  ADCSRA |= (1<<ADSC);      
 
}
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Jul 02, 2012 - 08:56 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4861
Location: San Jose, CA

You'll have to disable ADC module in the HAL and recompile it.

_________________
The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
Macduf
PostPosted: Jul 03, 2012 - 02:30 AM
Newbie


Joined: Jun 25, 2012
Posts: 11


Oh, thanks)
 
 View user's profile Send private message  
Reply with quote Back to top
Macduf
PostPosted: Jul 03, 2012 - 10:51 AM
Newbie


Joined: Jun 25, 2012
Posts: 11


Hmmm...I'll disable ADC module in HAL, but how I can recompile it?
*Using IAR6.11

What mean "Make clean and make in HAL directory"?
 
 View user's profile Send private message  
Reply with quote Back to top
Macduf
PostPosted: Jul 03, 2012 - 11:28 AM
Newbie


Joined: Jun 25, 2012
Posts: 11


Done! Command string help me to recompile it)
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits