Skip to content

Commit 733a395

Browse files
committed
Merge pull request #1 from pebble/feature/S4-support
PBL-24486 S4 support
2 parents 755a782 + 9b3caaa commit 733a395

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

emulator.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,12 @@ def _spawn_qemu(self):
141141
"-pflash", self.spi_image.name,
142142
"-cpu", "cortex-m4",
143143
])
144+
elif self.platform == 'chalk':
145+
qemu_args.extend([
146+
"-machine", "pebble-s4-bb",
147+
"-pflash", self.spi_image.name,
148+
"-cpu", "cortex-m4",
149+
])
144150
self.qemu = subprocess.Popen(qemu_args, cwd=settings.QEMU_DIR, stdout=None, stdin=subprocess.PIPE, stderr=None)
145151
self.qemu.stdin.write("change vnc password\n")
146152
self.qemu.stdin.write("%s\n" % self.token[:8])

0 commit comments

Comments
 (0)