Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #457 from sifive/freertos-metal-venv-fixes
Browse files Browse the repository at this point in the history
Tell FreeRTOS-metal to re-use Freedom E SDK's virtualenv
  • Loading branch information
nategraff-sifive authored Apr 6, 2020
2 parents 18678e1 + efbc3db commit 774f8b5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion FreeRTOS-metal
Submodule FreeRTOS-metal updated 2 files
+12 −10 Makefile
+2 −2 requirements.txt
5 changes: 4 additions & 1 deletion scripts/standalone.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ SRC_DIR ?= $(abspath src)
export FREERTOS_SOURCE_PATH = $(abspath FreeRTOS-metal)
# FREERTOS_SOURCE_PATH sets the path to the SEGGER SystemView source directory
export SYSTEMVIEW_SOURCE_PATH = $(abspath Segger_SystemView-metal)
# Set FREERTOS_METAL_VENV_PATH to re-use Freedom E SDK's virtualenv
export FREERTOS_METAL_VENV_PATH = $(FREEDOM_E_SDK_VENV_PATH)

#############################################################
# BSP loading
Expand Down Expand Up @@ -215,7 +217,8 @@ $(PROGRAM_ELF): \
CXXFLAGS="$(RISCV_CXXFLAGS)" \
XCFLAGS="$(RISCV_XCFLAGS)" \
LDFLAGS="$(RISCV_LDFLAGS)" \
LDLIBS="$(RISCV_LDLIBS)"
LDLIBS="$(RISCV_LDLIBS)" \
FREERTOS_METAL_VENV_PATH="$(FREERTOS_METAL_VENV_PATH)"
mv $(SRC_DIR)/$(basename $(notdir $@)) $@
mv $(SRC_DIR)/$(basename $(notdir $@)).map $(dir $@)
touch -c $@
Expand Down
2 changes: 1 addition & 1 deletion scripts/virtualenv.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# By default, the Python virtualenv is created in the `venv` folder at the root
# of freedom-e-sdk. If you want your virtualenv to be placed somewhere else,
# set the FREEDOM_E_SDK_VENV_PATH environment variable.
FREEDOM_E_SDK_VENV_PATH ?= venv
FREEDOM_E_SDK_VENV_PATH ?= $(CURDIR)/venv

.PHONY: virtualenv
virtualenv: $(FREEDOM_E_SDK_VENV_PATH)/.stamp
Expand Down
2 changes: 1 addition & 1 deletion wit-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
"source": "git@github.com:sifive/benchmark-mem-latency.git"
},
{
"commit": "5446e8fcfe89d240c50399640ef37ced78715794",
"commit": "4ea863345d4f77a6aabdb06da4443d7d7abc7f88",
"name": "FreeRTOS-metal",
"source": "git@github.com:sifive/FreeRTOS-metal.git"
},
Expand Down

0 comments on commit 774f8b5

Please sign in to comment.