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 #423 from sifive/vc707
Browse files Browse the repository at this point in the history
Add support for VC707 FPGA targets
  • Loading branch information
bsousi5 authored Dec 20, 2019
2 parents c163b98 + 72f9d5a commit 4c93cba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bsp/update-targets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,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].
--target-type Specify bsp target type [rtl | arty | vc707].
--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 @@ -119,7 +119,7 @@ update_target() {
pushd $TARGET && $MAKEATTRIB_GENERATOR -d $DTB_FILENAME -b $TARGET_TYPE -o $SETTINGS_FILENAME || warn "Failed to produce $TARGET/$SETTINGS_FILENAME" && popd
pushd $TARGET && $BARE_HEADER_GENERATOR -d $DTB_FILENAME -o $BARE_HEADER_FILENAME || warn "Failed to produce $TARGET/$BARE_HEADER_FILENAME" && popd

if [[ "$TARGET_TYPE" =~ "arty" || "$TARGET_TYPE" =~ "hifive" ]] ; then
if [[ "$TARGET_TYPE" =~ "arty" || "$TARGET_TYPE" =~ "vc707" || "$TARGET_TYPE" =~ "hifive" ]] ; then
if [ `grep -c "jlink" $TARGET/$SETTINGS_FILENAME` -ne 1 ] ; then
echo "generating $OPENOCDCFG_FILENAME"
$OPENOCDCFG_GENERATOR -d $TARGET/$DTB_FILENAME -b $TARGET_TYPE -o $TARGET/$OPENOCDCFG_FILENAME || warn "Failed to produce $TARGET/$OPENOCDCFG_FILENAME"
Expand Down
2 changes: 1 addition & 1 deletion wit-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"commit": "98d0909b0df295ec9af04cc30a69bd5297e0a8eb",
"commit": "d96b0a2f9dc40c2e5468aec3f21a31c42946d6e6",
"name": "freedom-devicetree-tools",
"source": "git@github.com:sifive/freedom-devicetree-tools.git"
},
Expand Down

0 comments on commit 4c93cba

Please sign in to comment.