Skip to content

Commit

Permalink
Merge pull request #806 from tcal-x/fix_renode_integration
Browse files Browse the repository at this point in the history
Fixes for Renode changes that had blocked automatic updates
  • Loading branch information
mithro authored Nov 16, 2023
2 parents 011f00e + 56f7f75 commit 094d4e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions common/renode-verilator-integration/renode_h.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ Since `renode.h` comes from VerilatorPlugin then its include path is relative to
This patch ensures that `renode_imports.h` will be looked for in a correct place.
--- a/src/renode.h
+++ b/src/renode.h
@@ -8,7 +8,7 @@
#define RENODE_H
@@ -9,6 +9,7 @@
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
-#include "../../../../Infrastructure/src/Emulator/Cores/renode/include/renode_imports.h"
+#include "../renode_imports.h"

// Protocol must be in sync with Renode's ProtocolMessage
Expand Down
2 changes: 1 addition & 1 deletion conf/renode.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.13.3+20230418git6bf17cf0
1.14.0+20231102git998250fe
1 change: 1 addition & 0 deletions scripts/setup
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ if [ ! -e "${VIL_DIR}" ]; then
wget -O ${VIL_DIR}/src/renode_cfu.cpp https://raw.githubusercontent.com/renode/renode/${RENODE_VERSION_SHA}/src/Plugins/VerilatorPlugin/VerilatorIntegrationLibrary/src/renode_cfu.cpp
wget -O ${VIL_DIR}/src/renode_cfu.h https://raw.githubusercontent.com/renode/renode/${RENODE_VERSION_SHA}/src/Plugins/VerilatorPlugin/VerilatorIntegrationLibrary/src/renode_cfu.h
wget -O ${VIL_DIR}/src/renode.h https://raw.githubusercontent.com/renode/renode/${RENODE_VERSION_SHA}/src/Plugins/VerilatorPlugin/VerilatorIntegrationLibrary/src/renode.h
wget -O ${VIL_DIR}/src/renode_action_enumerators.txt https://raw.githubusercontent.com/renode/renode/${RENODE_VERSION_SHA}/src/Plugins/VerilatorPlugin/VerilatorIntegrationLibrary/src/renode_action_enumerators.txt
wget -O ${VIL_DIR}/src/buses/cfu.cpp https://raw.githubusercontent.com/renode/renode/${RENODE_VERSION_SHA}/src/Plugins/VerilatorPlugin/VerilatorIntegrationLibrary/src/buses/cfu.cpp
wget -O ${VIL_DIR}/src/buses/cfu.h https://raw.githubusercontent.com/renode/renode/${RENODE_VERSION_SHA}/src/Plugins/VerilatorPlugin/VerilatorIntegrationLibrary/src/buses/cfu.h
wget -O ${VIL_DIR}/src/buses/bus.h https://raw.githubusercontent.com/renode/renode/${RENODE_VERSION_SHA}/src/Plugins/VerilatorPlugin/VerilatorIntegrationLibrary/src/buses/bus.h
Expand Down

0 comments on commit 094d4e8

Please sign in to comment.