Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #10 from sifive/xc3sprog-integration-2
Browse files Browse the repository at this point in the history
Xc3sprog integration and a few other updates
  • Loading branch information
cgsfv authored Aug 6, 2019
2 parents 688fe4b + 3c23b23 commit be074c1
Show file tree
Hide file tree
Showing 9 changed files with 235 additions and 47 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@
[submodule "src/riscv-qemu"]
path = src/riscv-qemu
url = git://github.com/sifive/riscv-qemu.git
[submodule "src/xc3sprog"]
path = src/xc3sprog
url = git://github.com/sifive/xc3sprog.git
269 changes: 224 additions & 45 deletions Makefile

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions scripts/qemu-sifive-e.sed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
s/\[SIFIVE_E_DTIM\] = { 0x80000000, 0x4000 }/\[SIFIVE_E_DTIM\] = { 0x80000000, 0x400000 }/
2 changes: 1 addition & 1 deletion scripts/qemu-vl.sed
Original file line number Diff line number Diff line change
@@ -1 +1 @@
:a;N;$!ba;s/case QEMU_OPTION_version:.*case QEMU_OPTION_m:/case QEMU_OPTION_version: version\(\)\; if \(argc < 3\) \{ exit\(0\)\; \} break\; case QEMU_OPTION_m:/
:a;N;$!ba;s/case QEMU_OPTION_version:.*case QEMU_OPTION_m:/case QEMU_OPTION_version: version\(\)\; fflush\(stdout\)\; if \(argc < 3\) \{ exit\(0\)\; \} break\; case QEMU_OPTION_m:/
1 change: 1 addition & 0 deletions scripts/xc3sprog-cmake.sed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target_link_libraries/s/${CONDITIONAL_LIBS}/${CONDITIONAL_LIBS} ${CMAKE_DL_LIBS} ${LIBRT_LIBRARIES}/g
1 change: 1 addition & 0 deletions scripts/xc3sprog-mingw32.sed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
s/i686-w64-mingw32/x86_64-w64-mingw32/
2 changes: 2 additions & 0 deletions scripts/xc3sprog.sed
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
s/xc3sprog project \$Rev\$ OS/xc3sprog project \(SIFIVE_PACKAGE_VERSION\)\ OS/
s/http:\/\/sourceforge\.net\/mail\/?group_id=170565 /https:\/\/github.com\/sifive\/freedom-tools\/issues/
2 changes: 1 addition & 1 deletion src/riscv-openocd
Submodule riscv-openocd updated from c05ad1 to 7eaf60
1 change: 1 addition & 0 deletions src/xc3sprog
Submodule xc3sprog added at 6841cc

0 comments on commit be074c1

Please sign in to comment.