simulator: Provide a special main.py for the simulator

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
Daniel Thompson 2020-07-07 21:22:12 +01:00
parent ae5743529f
commit eac72188cf
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -0,0 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
# Copyright (C) 2020 Daniel Thompson
import wasp
wasp.system.run()