commit | a846e037dc7b7fd2683a806d8638817ad085e7ce | [log] [tgz] |
---|---|---|
author | David Lattimore <dml@google.com> | Thu Jun 02 04:06:07 2022 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 07 04:14:55 2022 |
tree | 0732d6bf450e8798fbad4e8038fa2c875893d601 | |
parent | 5aae9e6ea96a6f0a1a3faa1d98555087b900f287 [diff] |
scripts/run-tests-miri: Disable isolation fake_i2c's test_no_device_response calls std::thread::sleep, which fails the test if isolation is enabled. BUG=None TEST=./scripts/run-tests-miri Change-Id: I9cda254ecc0c90909e4f856060aae942dcdbcad9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/hps-firmware/+/3686110 Reviewed-by: Dan Callaghan <dcallagh@chromium.org> Tested-by: David Lattimore <dml@chromium.org> Commit-Queue: David Lattimore <dml@chromium.org> Reviewed-by: Jakub MĹ‚ynarczyk <jakubm@chromium.org>
See design document
Run the setup script. This will set up git submodules and prompt to install missing packages.
./scripts/setup
To install Radiant you can try to run directly from CLI the extracted binary. In some cases this may fail with “Floating point exception.” error.
In that case run: `./2.2.0.97.3_Radiant_lin.run --console --prefix ~/lscc/radiant/2.2` Analogously for any update binaries available.
RADIANT_DIR
to the path where it is installed. e.g. in your .bashrc, you might add:export RADIANT_DIR=$HOME/lscc/radiant/2.2/bin/lin64
sudo ~/lscc/radiant/2.2/programmer/data/vmdata/udevsetup_ubuntu
(or one of the other udevsetup scripts) to correctly configure USB subsystem for Radiant.If your editor has IDE features for Python (e.g. vscode with the Python extension installed), then you should open it with the appropriate environment variables set. e.g.:
(source environment; code .)