summaryrefslogtreecommitdiffstats
path: root/arch/riscv/boards/riscvemu/defaultenv-riscvemu/data/tutorial/17-env-saveenv
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/boards/riscvemu/defaultenv-riscvemu/data/tutorial/17-env-saveenv')
-rw-r--r--arch/riscv/boards/riscvemu/defaultenv-riscvemu/data/tutorial/17-env-saveenv7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/riscv/boards/riscvemu/defaultenv-riscvemu/data/tutorial/17-env-saveenv b/arch/riscv/boards/riscvemu/defaultenv-riscvemu/data/tutorial/17-env-saveenv
new file mode 100644
index 0000000000..f929838138
--- /dev/null
+++ b/arch/riscv/boards/riscvemu/defaultenv-riscvemu/data/tutorial/17-env-saveenv
@@ -0,0 +1,7 @@
+
+Now that we have written a normal script and an init script, add a
+nv variable to the mix, save the environment and reset to see them
+all in action:
+```
+nv tutorial.step=$global.tutorial.step; saveenv; reset
+```