Skip to content

Commit

Permalink
Merge pull request joeycastillo#27 from DinkleMinded/patch-1
Browse files Browse the repository at this point in the history
Add instructions for simulator build
  • Loading branch information
joeycastillo authored Sep 20, 2024
2 parents 906ff20 + 5eb0fcb commit 99d26ce
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion content/en/docs/movement/emulator.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,21 @@ title: "Building Firmware for the Sensor Watch Emulator"
linkTitle: "Building Firmware for the Sensor Watch Emulator"
weight: 40
---
TODO

Install the Emscriptem (WASM) cross-compiling toolchain on Linux
----------------------------------------------------------------

* Debian/Ubuntu: `apt install emscripten`

Compile firmware
----------------

* From within the [repo](https://github.com/joeycastillo/Sensor-Watch):
* edit make_alternate_fw.sh to select which build(s) you want
* `cd movement/make`
* `./make_alternate_fw.sh`

The built firmware will be at `movement/make/firmware/simulate/standard`. You can now run this firmware in your browser with `emrun`:

* `cd movement/make/firmware/simulate/standard`
* `emrun index.html`

0 comments on commit 99d26ce

Please sign in to comment.