David Lattimore | 60e282a | 2021-05-26 11:27:48 +1000 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | # Copyright 2021 The Chromium OS Authors. All rights reserved. |
| 4 | # Use of this source code is governed by a BSD-style license that can be |
| 5 | # found in the LICENSE file. |
| 6 | |
David Lattimore | 751558c | 2022-09-05 14:57:00 +1000 | [diff] [blame^] | 7 | # 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 Lattimore | 60e282a | 2021-05-26 11:27:48 +1000 | [diff] [blame] | 9 | |
| 10 | set -e |
| 11 | |
| 12 | PROJECT_ROOT=$(git rev-parse --show-toplevel) |
David Lattimore | 60e282a | 2021-05-26 11:27:48 +1000 | [diff] [blame] | 13 | |
David Lattimore | 751558c | 2022-09-05 14:57:00 +1000 | [diff] [blame^] | 14 | "${PROJECT_ROOT}/scripts/run-dev" --nomcu "$@" |