diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-07-07 20:22:12 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-07-07 20:22:12 (GMT) |
| commit | eac72188cf9e2ab4de60a368812fda261ad21d8b (patch) | |
| tree | a7b82fa786870b86423bb558d1f3e94a6cd1e96d | |
| parent | ae5743529f82d398876456b7e175defb19a6ccfc (diff) | |
simulator: Provide a special main.py for the simulator
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | wasp/boards/simulator/main.py | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -74,7 +74,7 @@ docs: sim: PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=.:wasp/boards/simulator:wasp \ - python3 -i wasp/main.py + python3 -i wasp/boards/simulator/main.py .PHONY: bootloader reloader docs micropython diff --git a/wasp/boards/simulator/main.py b/wasp/boards/simulator/main.py new file mode 100644 index 0000000..88fb87e --- /dev/null +++ b/wasp/boards/simulator/main.py @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-later +# Copyright (C) 2020 Daniel Thompson + +import wasp +wasp.system.run() |
