Post Created date
GCC: How to remove unused functions
I'm sory, I forget to HTMLize my previous post and it should be obviously a tab before the $(RANLIB) command. Regards,
Wednesday, 25 February 2004 - 08:38
GCC: How to remove unused functions
I prefer rule like below and it is also recommended by the GNU make documentation. COMMAND_PREFIX = avr- RANLIB = $(COMMAND_PREFIX)ranlib AR = $(COMMAND_PREFIX)ar...
Wednesday, 25 February 2004 - 08:36
General Int. Service routine?
For me the clanest method is to write (in assembler) very short handler which redirects to real ISR, like this: .section .text .global SIG_INTERRUPT1 .global...
Monday, 23 February 2004 - 08:41
Timer in AVR starterkit, How to??
What problem? BTW> you should start new thread. Regards,
Thursday, 19 February 2004 - 08:16
about eeprom r/w in WinAvr ..
I can't see anything wrong with your code. What are your compiler and avr-libc versions? Are you sure that the same -mmcu option value is passed for compilation and linking stage...
Wednesday, 18 February 2004 - 15:50
about eeprom r/w in WinAvr ..
avr-libc functions for EEPROM access disable interrupts internally. Kevin, could you post code snippet? Regards,
Wednesday, 18 February 2004 - 14:24
GCC: How to remove unused functions
You are right Joerg, I cut too much from original text. Here is full version. Regards,
Tuesday, 17 February 2004 - 10:30
ATMega8 compiler error
There is a little catch - you must have a datasheet Rev. 2486L-10/03 (or later) to see that there is no jmp for the ATmega8. Regards,
Tuesday, 17 February 2004 - 08:52
GCC: How to remove unused functions
BTW. Except form the GCC 3.4 "CHANGES" file. "The new unit-at-a-time compilation scheme has several compatibility issues: ... * Unreferenced static variables and functions are...
Tuesday, 17 February 2004 - 08:43
Power-on reset hardware problem
Forgive me but I will still stay with my previous opinion. "If I touch the Reset line to ground after the power is up the processor starts fine" - this is "classical" example of...
Wednesday, 11 February 2004 - 15:49
lowest ADC speed?
IMHO - if you want to spent as little as possible CPU clock ticks for waiting for AD conversion then you should use the fastest possible ADC clock - period. Maybe someone else can...
Wednesday, 11 February 2004 - 15:27
lowest ADC speed?
How you can save code space and time using slower ADC sampling? ADC is autonomus unit attached to the AVR core and it must be "feed" with an external clock, which is a prescaled...
Wednesday, 11 February 2004 - 14:36