mirror of
https://github.com/Minres/RISCV-VP.git
synced 2025-12-17 08:51:35 +00:00
updates memory map and prebuilt fw
This commit is contained in:
6
fw/hello-world/.gitignore
vendored
6
fw/hello-world/.gitignore
vendored
@@ -1,3 +1,3 @@
|
||||
/hello
|
||||
/hello.dis
|
||||
/firmware.map
|
||||
/*.elf
|
||||
/*.dis
|
||||
/*.map
|
||||
|
||||
@@ -4,13 +4,13 @@ C_SRCS = $(wildcard *.c)
|
||||
HEADERS = $(wildcard *.h)
|
||||
CFLAGS += -O0 -g
|
||||
|
||||
BOARD=tgc_vp
|
||||
LINK_TARGET=link
|
||||
BOARD=riscv_vp
|
||||
LINK_TARGET=flash
|
||||
RISCV_ARCH:=rv32imc
|
||||
RISCV_ABI:=ilp32
|
||||
LDFLAGS := -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI)
|
||||
|
||||
compiler := $(shell which riscv32-unknown-elf-gcc)
|
||||
compiler := $(shell which riscv64-unknown-elf-gcc)
|
||||
TOOL_DIR=$(dir $(compiler))
|
||||
|
||||
BSP_BASE = ../bsp
|
||||
|
||||
BIN
fw/hello-world/hello.elf
Executable file
BIN
fw/hello-world/hello.elf
Executable file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user