I try tu use UEStudio with WinAVR and try to modify compiler config. I need to use for example this command:
avr-objdump -S $T > $Tn.lst
avr-objdump dont have option for direct file output, it id needed to redirect his stdout to file, but this command dont work, avr-objdump recognises > and $Tn.lst as input parametes
generated makefile looks like this:
when I run make on this makefile from cmd line, all is ok
avr-objdump -S $T > $Tn.lst
avr-objdump dont have option for direct file output, it id needed to redirect his stdout to file, but this command dont work, avr-objdump recognises > and $Tn.lst as input parametes
generated makefile looks like this:
Code: Select all
##### BUILD ####################################################################
ALL: $(FG00)
avr-gcc -g -O -mmcu=atmega128 -Wl,-Map,aaa.map -o aaa.out $(FG00)
avr-objcopy -j .text -j .data -O ihex aaa.out aaa.hex
avr-objcopy -j .eeprom --change-section-lma .eeprom=0 -O ihex aaa.out aaa_eeprom.hex
avr-objdump -S aaa.out > aaa.lst
aaa.lst: $(FG00)
avr-gcc -g -O -mmcu=atmega128 -Wl,-Map,aaa.map -o aaa.out $(FG00)
avr-objcopy -j .text -j .data -O ihex aaa.out aaa.hex
avr-objcopy -j .eeprom --change-section-lma .eeprom=0 -O ihex aaa.out aaa_eeprom.hex
avr-objdump -S aaa.out > aaa.lst
##### COMMANDS #################################################################