OpenCores
URL https://opencores.org/ocsvn/neorv32/neorv32/trunk

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [example/] [demo_pwm/] [makefile] - Diff between revs 34 and 36

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 34 Rev 36
Line 185... Line 185...
        @echo "Memory utilization:"
        @echo "Memory utilization:"
        @$(SIZE) main.elf
        @$(SIZE) main.elf
 
 
# Assembly listing file (for debugging)
# Assembly listing file (for debugging)
$(APP_ASM): main.elf
$(APP_ASM): main.elf
        @$(OBJDUMP) -D -S -z  $< > $@
        @$(OBJDUMP) -d -S -z  $< > $@
 
 
# Generate final executable from .text + .rodata + .data (in THIS order!)
# Generate final executable from .text + .rodata + .data (in THIS order!)
main.bin: main.elf $(APP_ASM)
main.bin: main.elf $(APP_ASM)
        @$(OBJCOPY) -I elf32-little $< -j .text   -O binary text.bin
        @$(OBJCOPY) -I elf32-little $< -j .text   -O binary text.bin
        @$(OBJCOPY) -I elf32-little $< -j .rodata -O binary rodata.bin
        @$(OBJCOPY) -I elf32-little $< -j .rodata -O binary rodata.bin

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.