if you take a look into a makefile:
In the DDEr4, if you run "env", the KOS_OBJCOPY is sh-elf-objcopy, so i think that if you got (for example) prog.elf, you can run:Code:$(TARGET).bin: $(TARGET).elf $(KOS_OBJCOPY) -R .stack -O binary $(TARGET).elf $(TARGET).bin
and it will give you a file called "prog.bin".Code:sh-elf-objcopy -R .stack -O binary prog.elf
Bye!
Bookmarks