summaryrefslogtreecommitdiffstats
path: root/debug/risc-v-gsp-rm-vm/docs/03-SCRIPTING.md
diff options
context:
space:
mode:
Diffstat (limited to 'debug/risc-v-gsp-rm-vm/docs/03-SCRIPTING.md')
-rw-r--r--debug/risc-v-gsp-rm-vm/docs/03-SCRIPTING.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug/risc-v-gsp-rm-vm/docs/03-SCRIPTING.md b/debug/risc-v-gsp-rm-vm/docs/03-SCRIPTING.md
index c677c8d..89c61c4 100644
--- a/debug/risc-v-gsp-rm-vm/docs/03-SCRIPTING.md
+++ b/debug/risc-v-gsp-rm-vm/docs/03-SCRIPTING.md
@@ -4,7 +4,8 @@
green-eye scripts are ordinary Python programs run with
`./greeneye.sh run <script.py>` (or `python3 -m greeneye run …`). The
-names `ge`, `session`/`s`, `memory`, `symbols`, `recorder` are preloaded.
+names `ge`, `session`/`s`, `memory`, `symbols`, `recorder` are preloaded, and
+`__file__` points at the script path (use it to locate bundled assets).
## 1. Attach or launch