pulp-runtime: Fix default boot mode (JTAG)

This commit is contained in:
Alessandro Ottaviano 2021-03-22 16:16:07 +01:00
parent 5b07d28b93
commit 8b65617277

View file

@ -8,6 +8,7 @@ override runner_args += --config-opt=**/runner/verbose=true
endif
platform ?= rtl
boot ?= JTAG
ifdef PULP_RUNTIME_GCC_TOOLCHAIN
@ -225,8 +226,6 @@ $(TARGET_BUILD_DIR)/waves:
run: $(TARGET_BUILD_DIR)/modelsim.ini $(TARGET_BUILD_DIR)/boot $(TARGET_BUILD_DIR)/tcl_files $(TARGET_BUILD_DIR)/waves
$(PULPRT_HOME)/bin/stim_utils.py --binary=$(TARGETS) --vectors=$(TARGET_BUILD_DIR)/vectors/stim.txt
boot ?= JTAG
ifdef gui
cd $(TARGET_BUILD_DIR) && export VSIM_RUNNER_FLAGS="+ENTRY_POINT=0x1c008080 -gLOAD_L2=$(boot) -dpicpppath /usr/bin/g++ -permit_unmatched_virtual_intf -gBAUDRATE=115200" && export VOPT_ACC_ENA="YES" && vsim -64 -do 'source $(VSIM_PATH)/tcl_files/config/run_and_exit.tcl' -do 'source $(VSIM_PATH)/tcl_files/run.tcl; '
else