commit | b42193a9b85b61a40c0dbff43a6378ccee89aa25 | [log] [tgz] |
---|---|---|
author | Dan Callaghan <dcallagh@google.com> | Mon May 02 06:14:04 2022 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 02 21:55:09 2022 |
tree | 9d66eebdf503c83bd7943a3097746479ebcecdbf | |
parent | 07c6831e82b156f887ef8f7c3ff9af7b2fe77e8a [diff] |
PRESUBMIT.cfg: don't run Rust builds and tests Don't run scripts/run-tests on every commit before upload. The important stuff in that script is now covered by CQ (namely: compiling HPS MCU firmware, FPGA firmware, host tools, and running Rust unit tests and gateware unit tests) which is the best place for it. Developers can continue to invoke scripts/run-tests or some more specific test commands locally to validate their changes. But we don't need to force everyone to do it on every commit. BUG=b:215275939 TEST=repo upload Change-Id: I16b33aacac559d2b2052ef984ed3d6548b3e3667 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/hps-firmware/+/3617828 Tested-by: Dan Callaghan <dcallagh@chromium.org> Commit-Queue: Dan Callaghan <dcallagh@chromium.org> Reviewed-by: David Lattimore <dml@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 .)