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

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [example/] [demo_wdt/] [makefile] - Diff between revs 21 and 22

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

Rev 21 Rev 22
Line 84... Line 84...
# Core libraries (peripheral and CPU drivers)
# Core libraries (peripheral and CPU drivers)
CORE_SRC  = $(wildcard $(NEORV32_SRC_PATH)/*.c)
CORE_SRC  = $(wildcard $(NEORV32_SRC_PATH)/*.c)
# Application start-up code
# Application start-up code
CORE_SRC += $(NEORV32_COM_PATH)/crt0.S
CORE_SRC += $(NEORV32_COM_PATH)/crt0.S
 
 
# Default linker script
# Linker script
LD_SCRIPT = $(NEORV32_COM_PATH)/neorv32.ld
LD_SCRIPT = $(NEORV32_COM_PATH)/neorv32.ld
 
 
# Main output files
# Main output files
APP_EXE  = neorv32_exe.bin
APP_EXE  = neorv32_exe.bin
APP_ASM  = main.asm
APP_ASM  = main.asm
Line 139... Line 139...
compile: $(APP_ASM) $(APP_EXE)
compile: $(APP_ASM) $(APP_EXE)
install: $(APP_ASM) $(APP_IMG)
install: $(APP_ASM) $(APP_IMG)
all:     $(APP_ASM) $(APP_EXE) $(APP_IMG)
all:     $(APP_ASM) $(APP_EXE) $(APP_IMG)
 
 
# Check if making bootloader
# Check if making bootloader
# This will disable some functions in crt0.S that are not relevant for the bootloader
# Use different base address and legth for instruction memory/"rom" (BOOTMEM instead of IMEM)
target bootloader: USER_FLAGS += -D__BOOTLOADER_START_CODE__
target bootloader: CC_OPTS += -Wl,--defsym=make_bootloader=1
target bootloader: LD_SCRIPT = $(NEORV32_COM_PATH)/bootloader_neorv32.ld
 
 
 
 
 
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Image generator targets
# Image generator targets
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
Line 260... Line 259...
        @echo "Include folder(s):     $(APP_INC)"
        @echo "Include folder(s):     $(APP_INC)"
        @echo "ASM include folder(s): $(ASM_INC)"
        @echo "ASM include folder(s): $(ASM_INC)"
        @echo "---------------- Info: NEORV32 ----------------"
        @echo "---------------- Info: NEORV32 ----------------"
        @echo "NEORV32 home folder (NEORV32_HOME): $(NEORV32_HOME)"
        @echo "NEORV32 home folder (NEORV32_HOME): $(NEORV32_HOME)"
        @echo "IMAGE_GEN: $(IMAGE_GEN)"
        @echo "IMAGE_GEN: $(IMAGE_GEN)"
        @echo "LD script: $(LD_SCRIPT)"
 
        @echo "Core source files:"
        @echo "Core source files:"
        @echo "$(CORE_SRC)"
        @echo "$(CORE_SRC)"
        @echo "Core include folder:"
        @echo "Core include folder:"
        @echo "$(NEORV32_INC_PATH)"
        @echo "$(NEORV32_INC_PATH)"
        @echo "---------------- Info: Objects ----------------"
        @echo "---------------- Info: Objects ----------------"

powered by: WebSVN 2.1.0

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