[TUT] [C] GCC and the PROGMEM Attribute I found that this example (from this thread) works for me, whereas the example in the HOWTO does not work for me.
eg.
char String1[] PROGMEM = "String 1";
char String2[] PROGMEM...
Wednesday, 10 August 2011 - 11:28
how to open .pde file In Windows, You can open it with your favorite text editor, even with notepad. But in case it looks a bit strange, I would suggest an editor that can handle unix-style string...
Tuesday, 19 October 2010 - 10:14
How do I link external objects? The size problem was solved by adding -Wl--gcc-sections as ONE OPTION in the Custom Compilation options of the linker. Resulting code was halved because it left out unreferenced...
Monday, 13 September 2010 - 22:14
How do I link external objects? ok, the spaces in the path names was a silly oversight on my part.
The other thing is that the library settings in project options suggests you can link *.o files by selecting...
Monday, 13 September 2010 - 19:26
How do I link external objects? one of my problems is that the library settings dialog generates object references without a path (when I select from the left pane).
When I put in absolute paths via the...
Sunday, 12 September 2010 - 20:05
Error loading object file (Dragon) the gcc 4.3.3 dated 25 feb 2010 does compile into an elf that AVR studio will read. Because my elf and sources lie on a samba server I than have to go through 18 slow dialogs to...
Sunday, 12 September 2010 - 11:16
Error loading object file (Dragon) uhm...
After installing gcc-avr 4.3.4 my system now wants a glibc-2.11-1. This means upgrading a whole lot of other packages as well. I am running Debian and try to keep it stable...
Friday, 10 September 2010 - 11:06
Error loading object file (Dragon) clawson wrote:
Did you get the .deb here:
www.wrightflyer.co.uk/avr-gcc/
I think not, my avr-gcc is in /usr/bin/avr-gcc. I probably used a debian repository. I'll take your...
Friday, 10 September 2010 - 10:25
lufa AVRISP-MKII compile error on atmega32u4 You were right. The make clean and/or BOARD=TEENSY must have solved the problem. It is now registered on the USB bus with Product: LUFA AVRISP MkII Clone.
I have no target board...
Wednesday, 5 May 2010 - 09:04
lufa AVRISP-MKII compile error on atmega32u4 As a form of testing, I compiled AudioOutput, with changes in the makefile:
BOARD=TEENSY
F_CPU = 16000000
MCU=atmega32u4
and programmed it with teensy loader.
Same result...
Tuesday, 4 May 2010 - 16:32
lufa AVRISP-MKII compile error on atmega32u4 Good job!
I'm glad I could help you out there :roll:
I already changed the ADC channel to 0. Software compiles ok now, used teensy loader to download it to a new Teensy2.0....
Tuesday, 4 May 2010 - 12:37
lufa AVRISP-MKII compile error on atmega32u4 Great,
In AVRISP.c, I did:
// clock_prescale_set(clock_div_1);
But that still leaves me with the
//../..//LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h:306: error: ‘ADCSBâ...
I found that this example (from this thread) works for me, whereas the example in the HOWTO does not work for me. eg. char String1[] PROGMEM = "String 1"; char String2[] PROGMEM...
In Windows, You can open it with your favorite text editor, even with notepad. But in case it looks a bit strange, I would suggest an editor that can handle unix-style string...
The size problem was solved by adding -Wl--gcc-sections as ONE OPTION in the Custom Compilation options of the linker. Resulting code was halved because it left out unreferenced...
ok, the spaces in the path names was a silly oversight on my part. The other thing is that the library settings in project options suggests you can link *.o files by selecting...
one of my problems is that the library settings dialog generates object references without a path (when I select from the left pane). When I put in absolute paths via the...
the gcc 4.3.3 dated 25 feb 2010 does compile into an elf that AVR studio will read. Because my elf and sources lie on a samba server I than have to go through 18 slow dialogs to...
uhm... After installing gcc-avr 4.3.4 my system now wants a glibc-2.11-1. This means upgrading a whole lot of other packages as well. I am running Debian and try to keep it stable...
clawson wrote: Did you get the .deb here: www.wrightflyer.co.uk/avr-gcc/ I think not, my avr-gcc is in /usr/bin/avr-gcc. I probably used a debian repository. I'll take your...
You were right. The make clean and/or BOARD=TEENSY must have solved the problem. It is now registered on the USB bus with Product: LUFA AVRISP MkII Clone. I have no target board...
As a form of testing, I compiled AudioOutput, with changes in the makefile: BOARD=TEENSY F_CPU = 16000000 MCU=atmega32u4 and programmed it with teensy loader. Same result...
Good job! I'm glad I could help you out there :roll: I already changed the ADC channel to 0. Software compiles ok now, used teensy loader to download it to a new Teensy2.0....
Great, In AVRISP.c, I did: // clock_prescale_set(clock_div_1); But that still leaves me with the //../..//LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h:306: error: ‘ADCSBâ...