Skip to content

Commit

Permalink
Merge pull request #1 from pebble/feature/S4-support
Browse files Browse the repository at this point in the history
PBL-24486 S4 support
  • Loading branch information
Katharine committed Sep 22, 2015
2 parents 755a782 + 9b3caaa commit 733a395
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions emulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ def _spawn_qemu(self):
"-pflash", self.spi_image.name,
"-cpu", "cortex-m4",
])
elif self.platform == 'chalk':
qemu_args.extend([
"-machine", "pebble-s4-bb",
"-pflash", self.spi_image.name,
"-cpu", "cortex-m4",
])
self.qemu = subprocess.Popen(qemu_args, cwd=settings.QEMU_DIR, stdout=None, stdin=subprocess.PIPE, stderr=None)
self.qemu.stdin.write("change vnc password\n")
self.qemu.stdin.write("%s\n" % self.token[:8])
Expand Down

0 comments on commit 733a395

Please sign in to comment.