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

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [bootloader/] [makefile] - Diff between revs 32 and 34

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

Rev 32 Rev 34
Line 57... Line 57...
MABI  ?= -mabi=ilp32
MABI  ?= -mabi=ilp32
 
 
# User flags for additional configuration (will be added to compiler flags)
# User flags for additional configuration (will be added to compiler flags)
USER_FLAGS ?=
USER_FLAGS ?=
 
 
 
# Serial port for executable upload via bootloer
 
COM_PORT ?= /dev/ttyUSB0
 
 
# Relative or absolute path to the NEORV32 home folder
# Relative or absolute path to the NEORV32 home folder
NEORV32_HOME ?= ../..
NEORV32_HOME ?= ../..
# *****************************************************************************
# *****************************************************************************
 
 
 
 
Line 251... Line 254...
        @echo
        @echo
        @echo "Toolchain check OK"
        @echo "Toolchain check OK"
 
 
 
 
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
 
# Upload executable via serial port to bootloader
 
# -----------------------------------------------------------------------------
 
upload: $(APP_EXE)
 
        @sh $(NEORV32_EXG_PATH)/uart_upload.sh $(COM_PORT) $(APP_EXE)
 
 
 
 
 
# -----------------------------------------------------------------------------
# Show configuration
# Show configuration
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
info:
info:
        @echo "---------------- Info: Project ----------------"
        @echo "---------------- Info: Project ----------------"
        @echo "Project folder:        $(shell basename $(CURDIR))"
        @echo "Project folder:        $(shell basename $(CURDIR))"
Line 313... Line 323...
        @echo " install    - compile, generate and install VHDL IMEM boot image (for application)"
        @echo " install    - compile, generate and install VHDL IMEM boot image (for application)"
        @echo " all        - compile and generate  executable for upload via bootloader and generate and install VHDL IMEM boot image (for application)"
        @echo " all        - compile and generate  executable for upload via bootloader and generate and install VHDL IMEM boot image (for application)"
        @echo " clean      - clean up project"
        @echo " clean      - clean up project"
        @echo " clean_all  - clean up project, core libraries and image generator"
        @echo " clean_all  - clean up project, core libraries and image generator"
        @echo " bootloader - compile, generate and install VHDL BOOTROM boot image (for bootloader only!)"
        @echo " bootloader - compile, generate and install VHDL BOOTROM boot image (for bootloader only!)"
 
        @echo " upload     - upload  executable via serial port  to bootloader"
 
 
 
 
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Clean up
# Clean up
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------

powered by: WebSVN 2.1.0

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