Minor changes

This commit is contained in:
Loic Guegan 2022-09-11 14:48:59 +02:00
parent f4f1d97504
commit a8281ebfd3
4 changed files with 19 additions and 3 deletions

View file

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

View file

@ -0,0 +1,6 @@
def callback(simulator):
print("Called :)")

View file

@ -4,4 +4,5 @@ from esds.helpers.platform import YAMLPlatformFile
simulator=YAMLPlatformFile("platform.yaml")
s=YAMLPlatformFile("platform.yaml")
s.run()