Type in the full discussion title or a part of it.
Discussion Title Created date
avr-gcc creating loop counters out of nothing, for no reason?
Over in another forum, ralphd posted about speeding up some SW SPI routines. ( http://nerdralph.blogspot.ca/201... )   But to me, the interesting thing is that avr-gcc is...
Monday, 30 March 2015 - 06:14
ISR Vector size
Is there a way for a C program to figure out the vector size (2 or 4 bytes) based on compiler predefined symbols and/or io.h ? I see that there is "#define __AVR_HAVE_JMP_CALL__ 1...
Friday, 6 March 2015 - 07:18
Speaking of linker maps...
How does gcc figure our which linker map, library, and startup files to use, for a give compile/link?   I've had some "mysterious occurences" with gcc for ARM where I get...
Tuesday, 20 January 2015 - 06:49
Debugging the existing code in flash...
Is there a trick to get Atmel Studio to run debugging on the code that is currently in the flash of a jtag-connected microcontroller, instead of first having to load up an object...
Saturday, 8 November 2014 - 07:32
Makefile command line options dependancies
Is there a standard mechanism used with Makefiles to somehow take into account DEFINES on the makefile command line when computing dependencies? That is, if I say   ...
Wednesday, 5 November 2014 - 08:47
Atmel arm-gcc licensing
Has anyone read the license agreements for Atmel Studio with the ARM compiler carefully enough to figure out how much trouble one might get in for using either the combination or...
Thursday, 30 October 2014 - 02:13
avr-g++ lacks __flash?
Is it a known problem that avr-g++ doesn't seem to support the __flash keyword ?   BillW-MacOSX-2<10166> /usr/local/CrossPack-AVR-48/bin/avr-g++ -mmcu=atmega328p flash...
Monday, 6 October 2014 - 06:34
ordering data in PROGMEM ?
Is there any way to control the order of data in PROGMEM? In particular, I have libraries (the arduino core) that have data structures in progmem and use pgm_read_byte() to access...
Tuesday, 24 June 2014 - 07:44
Makefile question
Is there something wrong with the following Makefile structure": override CC=cc -DF_CPU=$(AVR_FREQ) -c foo: AVR_FREQ ?= 16000000 foo: foo.elf foo.elf: foo.c echo $(CC) $...
Friday, 13 June 2014 - 02:14
-fno-inline-small-functions Broken in 4.8 ?
Is -fno-inline-small-functions known to be broken in 4.8? The optiboot (https://code.google.com/p/optiboot ) compile is inlining: void watchdogConfig(uint8_t x) { WDTCSR = _BV...
Wednesday, 14 May 2014 - 00:11
Differences between ATmega328 and ATmega328p
Someone pointed out that the data sheet says "1. These instructions are only available in ATmega168PA and ATmega328P." as a footnote for JMP and CALL. That's wrong, isn't it? A...
Friday, 17 January 2014 - 02:20
PC Wrapping on AVRs with more that 128kBytes of flash
What happens when an AVR with more than 128kbytes of memory (say, an ATmega2560) executes a non-jump instruction in the last word of memory (ie the program counter "wraps")? Does...
Saturday, 2 November 2013 - 21:20

Pages