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 #431 from sifive/vcu118
Browse files Browse the repository at this point in the history
Add support for VCU118 FPGAs
  • Loading branch information
nategraff-sifive authored Apr 9, 2020
2 parents 774f8b5 + 86acdea commit 4b760cb
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions bsp/sifive-hifive-unleashed/settings.mk
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Copyright (C) 2020 SiFive Inc
# SPDX-License-Identifier: Apache-2.0

RISCV_ARCH = rv64imafdc
RISCV_ABI = lp64d
RISCV_ARCH = rv64imac
RISCV_ABI = lp64
RISCV_CMODEL = medany
RISCV_SERIES = sifive-5-series

Expand Down
4 changes: 2 additions & 2 deletions bsp/update-targets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ help() {
$0: BSP Generator for the SiFive Freedom E SDK
--help Prints this help text.
--target-name Specify bsp target name.
--target-type Specify bsp target type [rtl | arty | vc707].
--target-type Specify bsp target type [rtl | arty | vc707 | vcu118].
--sdk-path=* The path to the freedom-e-sdk clone directory, public or private.
--target-dts=*.dts The path to the target device tree that will be used.
EOF
Expand Down Expand Up @@ -131,7 +131,7 @@ update_target() {
pushd $TARGET && $BARE_HEADER_GENERATOR -d $DTB_FILENAME -o $BARE_HEADER_FILENAME || warn "Failed to produce $TARGET/$BARE_HEADER_FILENAME" && popd
. ${FREEDOM_E_SDK_VENV_PATH}/bin/activate && $CMSIS_SVD_GENERATOR -d $TARGET/$DESIGN_DTS_FILENAME -o $TARGET/$CMSIS_SVD_FILENAME || warn "Failed to produce $TARGET/$CMSIS_SVD_FILENAME"

if [[ "$TARGET_TYPE" =~ "arty" || "$TARGET_TYPE" =~ "vc707" || "$TARGET_TYPE" =~ "hifive" ]] ; then
if [[ "$TARGET_TYPE" =~ "arty" || "$TARGET_TYPE" =~ "vc707" || "$TARGET_TYPE" =~ "vcu118" || "$TARGET_TYPE" =~ "hifive" ]] ; then
if [ `grep -c "jlink" $TARGET/$SETTINGS_FILENAME` -ne 1 ] ; then
echo "generating $OPENOCDCFG_FILENAME"
. ${FREEDOM_E_SDK_VENV_PATH}/bin/activate && $OPENOCDCFG_GENERATOR -d $TARGET/$DESIGN_DTS_FILENAME -b $TARGET_TYPE -o $TARGET/$OPENOCDCFG_FILENAME || warn "Failed to produce $TARGET/$OPENOCDCFG_FILENAME"
Expand Down
2 changes: 1 addition & 1 deletion scripts/devicetree-overlay-generator
2 changes: 1 addition & 1 deletion scripts/openocdcfg-generator
6 changes: 3 additions & 3 deletions wit-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"source": "git@github.com:sifive/elf2hex.git"
},
{
"commit": "c294344b115b926d0c7b03073593cc417a6f5db7",
"commit": "69650c55fe381b642e493e93a7408038e1b5d434",
"name": "devicetree-overlay-generator",
"source": "git@github.com:sifive/devicetree-overlay-generator.git"
},
Expand All @@ -30,12 +30,12 @@
"source": "git@github.com:sifive/cmsis-svd-generator.git"
},
{
"commit": "e91034b8b8e7994b2c23f9e7e7cfff36bf031a91",
"commit": "b766f5cd74f6ab0980079dfded145144189e4325",
"name": "openocdcfg-generator",
"source": "git@github.com:sifive/openocdcfg-generator.git"
},
{
"commit": "c974863998bf05d96d25bbb153a6f6e80ffd90e2",
"commit": "9e82c3473032481e6a6d969b9d168b2bbe109744",
"name": "esdk-settings-generator",
"source": "git@github.com:sifive/esdk-settings-generator.git"
},
Expand Down

0 comments on commit 4b760cb

Please sign in to comment.