mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-04-19 03:59:45 +00:00
Minor changes
This commit is contained in:
parent
f4f1d97504
commit
a8281ebfd3
4 changed files with 19 additions and 3 deletions
|
@ -7,7 +7,7 @@ general:
|
|||
breakpoints_every: 0
|
||||
# Define the callback to call when the simulator reach a breakpoint
|
||||
breakpoints_callback:
|
||||
file: "platform_test.py"
|
||||
file: "platform_callback.py"
|
||||
callback: "callback"
|
||||
# Turn on/off the debugging of esds
|
||||
debug: off
|
||||
|
|
6
example/platform_callback.py
Normal file
6
example/platform_callback.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
def callback(simulator):
|
||||
print("Called :)")
|
|
@ -4,4 +4,5 @@ from esds.helpers.platform import YAMLPlatformFile
|
|||
|
||||
|
||||
|
||||
simulator=YAMLPlatformFile("platform.yaml")
|
||||
s=YAMLPlatformFile("platform.yaml")
|
||||
s.run()
|
Loading…
Add table
Add a link
Reference in a new issue