Line 325... |
Line 325... |
|
|
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
# Help
|
# Help
|
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
help:
|
help:
|
@echo "<<< NEORV32 Application Makefile >>>"
|
@echo "<<< NEORV32 SW Application Makefile >>>"
|
@echo "Make sure to add the bin folder of RISC-V GCC to your PATH variable."
|
@echo "Make sure to add the bin folder of RISC-V GCC to your PATH variable."
|
@echo "Targets:"
|
@echo ""
|
|
@echo "== Targets =="
|
@echo " help - show this text"
|
@echo " help - show this text"
|
@echo " check - check toolchain"
|
@echo " check - check toolchain"
|
@echo " info - show makefile/toolchain configuration"
|
@echo " info - show makefile/toolchain configuration"
|
@echo " exe - compile and generate executable for upload via bootloader"
|
@echo " exe - compile and generate executable for upload via bootloader"
|
@echo " hex - compile and generate executable raw file"
|
@echo " hex - compile and generate executable raw file"
|
Line 342... |
Line 343... |
@echo " elf_info - show ELF layout info"
|
@echo " elf_info - show ELF layout info"
|
@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 " bl_image - compile and generate VHDL BOOTROM boot image (for bootloader only!) in local folder"
|
@echo " bl_image - compile and generate VHDL BOOTROM boot image (for bootloader only!) in local folder"
|
@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 ""
|
|
@echo "== Variables =="
|
|
@echo " USER_FLAGS - Custom toolchain flags [append only], default \"$(USER_FLAGS)\""
|
|
@echo " EFFORT - Optimization level, default \"$(EFFORT)\""
|
|
@echo " MARCH - Machine architecture, default \"$(MARCH)\""
|
|
@echo " MABI - Machine binary interface, default \"$(MABI)\""
|
|
@echo " APP_INC - C include folder(s) [append only], default \"$(APP_INC)\""
|
|
@echo " ASM_INC - ASM include folder(s) [append only], default \"$(ASM_INC)\""
|
|
@echo " RISCV_PREFIX - Toolchain prefix, default \"$(RISCV_PREFIX)\""
|
|
@echo " NEORV32_HOME - NEORV32 home folder, default \"$(NEORV32_HOME)\""
|
|
@echo ""
|
|
|
|
|
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
# Clean up
|
# Clean up
|
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|