News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

AVR Project Template

Started by grunff, June 22, 2009, 09:46:37 AM

Previous topic - Next topic

grunff

Hi!

I do not know if somebody said it before, or I am wrong, but I only know that this took me three days to figure out what happens.

When you creating AVR Project with AVR Template, project MUST NOT have spaces in the name, if you put spaces in the name, for instances Project One you will have build status 1, and no .elf nor other files will be generated. (Status Red).
I must say that this is no problem when use Console Template. So I only hope that this will save someone lots of time and effort.

I have also a one question, how can I generate .lst file from .obj file ?

P.S. I cam from .asm space and I simply like to see exactly what will be write in chip.

danselmi

Hi

To generate listing file:
On windowns add:
cmd /c "avr-objdump -h -S $(TARGET_OUTPUT_FILE) > $(TARGET_OUTPUT_FILE).lss"
on others add:
avr-objdump -h -S $(TARGET_OUTPUT_FILE) > $(TARGET_OUTPUT_FILE).lss
to your post-build commands.

regards danselmi
spell checker plugin: [url="http://developer.berlios.de/projects/spellchecker/"]http://developer.berlios.de/projects/spellchecker/[/url]
nassi shneiderman plugin: [url="http://developer.berlios.de/projects/nassiplugin"]http://developer.berlios.de/projects/nassiplugin[/url]