Type in the full discussion title or a part of it.
Discussion Title Created date
Warning about unused static inline function
Is there a way to get a warning about unused static inline functions? Is there maybe some sort of attribute to ask for warning on a per-function basis? (I had the warnings all the...
Monday, 15 October 2012 - 21:23
-Wundef
I guess this does not really have anything to do with AVR. So, moderators, please move this to off topic if you fill that this does not belong here... The documentation on -Wundef...
Friday, 14 September 2012 - 14:10
Force output compare
I am using "force output compare" to generate two signals in opposite phases. It works most of the time. Sometimes, however, something happens to the timer and both signals end up...
Friday, 11 May 2012 - 20:46
CLKper and CLKcpu
I recently started with XMEGAs. When I first saw the prescalers and PLL, I thought, cool, I can change CPU frequency without changing PER frequency (because changing CLKper often...
Wednesday, 4 April 2012 - 23:08
How does LPM instruction work?
I am new to xmega, but not to avr8 in general. I know I need to RTFM, but there is quite a lot of new stuff and, I guess, I have hard time locating what I need. BTW, I am using...
Tuesday, 27 March 2012 - 14:58
Moving from mega to xmega
I think I will need to do software for an xmega. This is going to be the first for me. I have been doing mega/tiny for a few years and quite comfortable with avr-gcc, mega48/68/...
Tuesday, 6 March 2012 - 20:19
Problem with volatile in WinAVR 20100110
type foo.c #include struct { volatile uint8_t m; } s = { 123 }; int main(void) { while (1) { PORTC = s.m; } } avr-gcc --version avr-gcc (WinAVR 20100110) 4.3.3 avr-...
Tuesday, 22 November 2011 - 18:11
How to ask GCC not to generate any code for unused variable?
#include static uint8_t foo1Called; static void foo1(void) { foo1Called = 1; } static void foo2(void) { if (! foo1Called) PORTC = 123; } int main(void) { foo1(); foo2(); while...
Thursday, 8 September 2011 - 19:19
avr-gcc -combine
It looks that the compiler has the "-combine" option. I think I even know what it does. But I cannot find any documentation. Any help? Any lmgtfy.com links? Edit: Found it...
Tuesday, 6 September 2011 - 17:26
TWI slave shifts wrong data
I realize that this is a long shot, but here it goes anyway. Two atmega324 talking to each other over TWI at 20 KHz. The code looks like this: while (true) { master transmit 4...
Friday, 29 July 2011 - 19:54
How to create a project file from an elf?
I have an elf file created by GCC and I want to debug it. I have done that a few times in the past. What I normally did was File->Open file, browse to .elf, Open. At that point a...
Thursday, 18 November 2010 - 18:20
Atmel parametric product table
What happened to the table? Where did all atmega USARTs and ADCs go? Or is this just something with my computer/browser?
Monday, 20 September 2010 - 17:09

Pages