summaryrefslogtreecommitdiffstats
path: root/arch/riscv/boards/riscvemu/defaultenv-riscvemu/data/tutorial/13-env-bin
blob: 34b7ab554b7fe42cb0157071ce0ffa85ba7d4216 (plain)
1
2
3
4
5
6
7
8
9
10
11

Let's modify the environment to add a new script (Remember
`help` can show you the usage, e.g. `help mw`):
```
cd /env/bin
echo -o putc '#!/bin/sh'
echo -a putc 'mw -l 0x40008000 $1'
echo -a putc 'mw -l 0x40008004 0x01010000'
cd /
putc 0x40 # Print an @ character
```