Author Topic: AVR Project Template  (Read 5806 times)

grunff

  • Guest
AVR Project Template
« on: June 22, 2009, 09:46:37 am »
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.

Offline danselmi

  • Developer
  • Almost regular
  • *****
  • Posts: 202
Re: AVR Project Template
« Reply #1 on: June 22, 2009, 08:02:33 pm »
Hi

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

regards danselmi