aboutsummaryrefslogtreecommitdiff
path: root/pw_emu/py/pw_emu/pigweed_emulators.py
diff options
context:
space:
mode:
Diffstat (limited to 'pw_emu/py/pw_emu/pigweed_emulators.py')
-rw-r--r--pw_emu/py/pw_emu/pigweed_emulators.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/pw_emu/py/pw_emu/pigweed_emulators.py b/pw_emu/py/pw_emu/pigweed_emulators.py
new file mode 100644
index 000000000..764ed2ace
--- /dev/null
+++ b/pw_emu/py/pw_emu/pigweed_emulators.py
@@ -0,0 +1,27 @@
+# Copyright 2023 The Pigweed Authors
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may not
+# use this file except in compliance with the License. You may obtain a copy of
+# the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations under
+# the License.
+"""Pigweed built-in emulators frontends."""
+
+from typing import Dict
+
+pigweed_emulators: Dict[str, Dict[str, str]] = {
+ 'qemu': {
+ 'connector': 'pw_emu.qemu.QemuConnector',
+ 'launcher': 'pw_emu.qemu.QemuLauncher',
+ },
+ 'renode': {
+ 'connector': 'pw_emu.renode.RenodeConnector',
+ 'launcher': 'pw_emu.renode.RenodeLauncher',
+ },
+}