Skip to content

Commit 1e32378

Browse files
committed
Add first documentation on MIO
1 parent a0335d1 commit 1e32378

File tree

8 files changed

+83
-8
lines changed

8 files changed

+83
-8
lines changed

warduino/.vitepress/components/home.vue

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const {frontmatter: fm} = useData()
6666
</div>
6767
</div>
6868
<p><a href="./reference/architecture.html">-&gt; WARDuino architecture</a></p>
69-
<p><a href="./reference/primitives.html">-&gt; Built-in primitives</a></p>
69+
<p><a href="./reference/actions/index.html">-&gt; Built-in actions</a></p>
7070
<p><a href="./reference/debug-protocol.html">-&gt; Remote debug protocol</a></p>
7171
<p><a href="./reference/edward/index.html">-&gt; EDWARD debugger</a></p>
7272
<p><a href="./latch/index.html">-&gt; Latch testing</a></p>
@@ -115,7 +115,17 @@ const {frontmatter: fm} = useData()
115115
<p><a href="https://github.com/TOPLLab/as-warduino-template" target="_blank">-&gt; AssemblyScript <span
116116
class="material-symbols-rounded">open_in_new</span></a></p>
117117
</article>
118-
<div></div>
118+
<article class="list">
119+
<div class="heading">
120+
<div class="icon">
121+
<span class="material-symbols-rounded">newsstand</span>
122+
</div>
123+
<div>
124+
<h4>Blog posts</h4>
125+
</div>
126+
</div>
127+
<p><a style="font-size: 14px" href="./blog/multiverse.html">-&gt; Applications for the MIO debugger</a></p>
128+
</article>
119129
</div>
120130
</div>
121131

warduino/.vitepress/config.data.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@ export default {
22
load() {
33
return {
44
vm: {
5-
version: '0.6.1'
5+
version: '0.7.1'
66
},
77
plugin: {
88
version: '0.4.1'
99
},
1010
latch: {
1111
version: '0.3.1'
12+
},
13+
mio: {
14+
version: '0.1.1'
1215
}
1316
}
1417
}

warduino/.vitepress/config.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,12 @@ export default defineConfig({
8787
items: [
8888
{ text: 'Overview', link: '/reference/' },
8989
{ text: 'Architecture', link: '/reference/architecture' },
90-
{ text: 'Primitives', link: '/reference/primitives' },
90+
{ text: 'Actions',
91+
collapsed: true,
92+
items: [
93+
{ text: 'Overview', link: '/reference/actions/' },
94+
]
95+
},
9196
{ text: 'Debug Protocol', link: '/reference/debug-protocol' },
9297
{
9398
text: 'EDWARD',
@@ -115,6 +120,14 @@ export default defineConfig({
115120
]
116121
},
117122

123+
{
124+
text: "Blog Posts",
125+
collapsed: true,
126+
items: [
127+
{ text: 'Applications for the MIO debugger', link: '/blog/multiverse' },
128+
]
129+
},
130+
118131
{
119132
text: 'Published Articles',
120133
link: '/articles/'

warduino/.vitepress/theme/style.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,15 @@ html::-webkit-scrollbar-thumb:hover, pre::-webkit-scrollbar-thumb:hover, aside::
150150
--vp-custom-block-danger-bg: rgba(var(--catppuccin-red), 0.15);
151151
}
152152

153+
/**
154+
* General restyling
155+
* -------------------------------------------------------------------------- */
156+
.vp-doc h2 {
157+
border-top: none;
158+
margin: 16px 0 16px;
159+
}
160+
161+
153162
/**
154163
* Component: Button
155164
* -------------------------------------------------------------------------- */
@@ -295,4 +304,4 @@ html:not(.dark) img.inline-icon.light {
295304
display: inline-block;
296305
vertical-align: middle;
297306
margin-right: 5px;
298-
}
307+
}

warduino/blog/multiverse.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<script setup>
2+
import { data } from '../.vitepress/config.data.ts'
3+
import citation from '../.vitepress/components/citation.vue'
4+
</script>
5+
6+
# Applications for the MIO Debugger
7+
8+
_Multiverse debugging was first proposed back in 2019, but now we are finally seeing real world applications.
9+
Diverse categories of embedded software for microcontrollers can be debugged using the MIO multiverse debugger._
10+
11+
::: info Auxiliary Material
12+
13+
This blog post is additional material for the *"MIO: Multiverse Debugging in the face of Input/Output"* paper.
14+
15+
:::
16+
17+
<span style="font-size: var(--vp-custom-block-font-size);">
18+
<b>Tom Lauwaerts and Maarten Steevens · <a href="https://github.com/tolauwae">@tolauwae</a> <a href="https://github.com/MaartenS11">@MaartenS11</a></b><br>
19+
November 14, 2024 | 4 min read
20+
</span>
21+
22+
***
23+
24+
In this blog post, we discuss the wide applicability of the [MIO multiverse debugger]() in WARDuino.
25+
26+
## Binary Counter with LEDs
27+
28+
29+
## Lego Mindstorms Color Dial
30+
31+
## Related posts
32+
33+
***
34+

warduino/reference/primitives.md renamed to warduino/reference/actions/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Built-in Primitives
1+
# Built-in Actions
22

33
::: tip Programming in high-level languages
44

warduino/reference/contributing.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ border-color: rgba(46, 160, 67, 0.4);
2323

2424
## ✨ How Can I Contribute?
2525

26-
If you want to help with development, issues on the [roadmap](https://github.com/orgs/TOPLLab/projects/1) with low priority are a good starting point.
27-
2826
Any sort of contribution is welcome! Including, but not limited to:
2927

3028
- Report a bug you identified

warduino/reference/debug-protocol.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,11 @@ The `Halt (02)` debug message stops the virtual machine, while the `Reset (13)`
126126

127127
WARDuino also supports out-of-place debugging through the EDWARD debugger. A similar overview of the debug messages for EDWARD can be found in [this reference sheet](/reference/edward/protocol).
128128

129+
### Transfer state
130+
131+
Write `ffff` followed by `aaaa` to the start of the memory.
132+
133+
```plaintext
134+
520002060002ffff060204aaaa
135+
```
136+

0 commit comments

Comments
 (0)