simulator: Provide a special main.py for the simulator
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
parent
ae5743529f
commit
eac72188cf
2 changed files with 6 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
||||
|
|
5
wasp/boards/simulator/main.py
Normal file
5
wasp/boards/simulator/main.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
# SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
# Copyright (C) 2020 Daniel Thompson
|
||||
|
||||
import wasp
|
||||
wasp.system.run()
|
Loading…
Reference in a new issue