summaryrefslogtreecommitdiff
path: root/tools/asm-differ/diff_settings.py
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2024-01-30 21:25:15 +0100
committerGitHub <noreply@github.com>2024-01-30 15:25:15 -0500
commit17f08788aa3ea0ab2c8699671f3122c786ae2e5f (patch)
treeca3085d10e8d18c22b62e8a06a0115e2f48a1070 /tools/asm-differ/diff_settings.py
parent18b7030534c5e6ba68abeb0b37c267bd344de426 (diff)
subrepo and update asm-differ (#1664)
* git subrepo clone git@github.com:simonlindholm/asm-differ.git tools/asm-differ subrepo: subdir: "tools/asm-differ" merged: "11eee5916" upstream: origin: "git@github.com:simonlindholm/asm-differ.git" branch: "main" commit: "11eee5916" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "110b9eb" * ln -s ./tools/asm-differ/diff.py diff.py
Diffstat (limited to 'tools/asm-differ/diff_settings.py')
-rw-r--r--tools/asm-differ/diff_settings.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/asm-differ/diff_settings.py b/tools/asm-differ/diff_settings.py
new file mode 100644
index 000000000..19d67d548
--- /dev/null
+++ b/tools/asm-differ/diff_settings.py
@@ -0,0 +1,12 @@
+def apply(config, args):
+ config["baseimg"] = "target.bin"
+ config["myimg"] = "source.bin"
+ config["mapfile"] = "build.map"
+ config["source_directories"] = ["."]
+ # config["show_line_numbers_default"] = True
+ # config["arch"] = "mips"
+ # config["map_format"] = "gnu" # gnu, mw, ms
+ # config["build_dir"] = "build/" # only needed for mw and ms map format
+ # config["expected_dir"] = "expected/" # needed for -o
+ # config["makeflags"] = []
+ # config["objdump_executable"] = ""