commit | 751558c832cead8b4e10939200489591ff7a7f3f | [log] [tgz] |
---|---|---|
author | David Lattimore <dml@google.com> | Mon Sep 05 04:57:00 2022 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 08 22:57:15 2022 |
tree | 31a5f904497b6af42844a39ed2768977c2a57ec9 | |
parent | 594a72c893cf5b48a39e01d425651d077fe03a21 [diff] |
Improve workflow for running the MCU program Old workflow: * Run ./scripts/proto2-run in one terminal * Run ./scripts/proto2-mon in a separate terminal to see output Each time you made a change, you needed to rerun both. New workflow: * Run ./scripts/proto2-openocd in one terminal. * Run ./scripts/mcu-run in a second terminal. Each time you make a change, you only need to rerun scripts/mcu-run. This builds and displays output using hps-mon. In addition to reducing the number of terminals that you need to interact with when you make a code change, this also makes the workflow more similar to scripts/fpga-rom, which already had this workflow. In order to keep the instructions for the test-models script simple, we just have it flash both the MCU and FPGA ROMs. BUG=b:245032828 TEST=./scripts/proto2-openocd TEST=./scripts/mcu-run Change-Id: Id7dc60d25728e75f86f45ec990a1e467ba47f519 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/hps-firmware/+/3874627 Commit-Queue: David Lattimore <dml@chromium.org> Tested-by: David Lattimore <dml@chromium.org> Reviewed-by: Dan Callaghan <dcallagh@chromium.org>
The ChromiumOS Human Presence Sensor is a hardware peripheral which can detect the presence of one or more humans in front of the Chromebook.
This repository contains source code for the firmware which runs on the peripheral.
For more information, refer to the design document (Googlers only).