blob: 83302fa5e687749e4499a455b867e68115e72a34 [file] [log] [blame]
David Lattimore60e282a2021-05-26 11:27:48 +10001#!/bin/bash
2
David Lattimore3b6faa22022-10-18 14:10:43 +11003# Copyright 2021 The ChromiumOS Authors
David Lattimore60e282a2021-05-26 11:27:48 +10004# Use of this source code is governed by a BSD-style license that can be
5# found in the LICENSE file.
6
David Lattimore751558c2022-09-05 14:57:00 +10007# Builds and runs the Rust SOC ROM. ./scripts/proto2-openocd should already be
8# running in a separate shell and the MCU ROM should already be flashed.
David Lattimore60e282a2021-05-26 11:27:48 +10009
10set -e
11
12PROJECT_ROOT=$(git rev-parse --show-toplevel)
David Lattimore60e282a2021-05-26 11:27:48 +100013
David Lattimore751558c2022-09-05 14:57:00 +100014"${PROJECT_ROOT}/scripts/run-dev" --nomcu "$@"