commit | b11642b9147ca6cffb74a29c409a0c1b41dfad2a | [log] [tgz] |
---|---|---|
author | Dan Callaghan <dcallagh@google.com> | Fri Feb 11 02:41:27 2022 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 11 18:20:46 2022 |
tree | d0675feb4b3979c2bab49f9a4e793a6bf1974d26 | |
parent | cf4ece76794f529cdf3e8ad1300647d249f1401d [diff] |
fpga_rom: make TfLM linker args conditional on 'tflm' feature This lets us build hps-factory (which turns off the 'tflm' feature) without a RISC-V C++ compiler available. BUG=b:206034105 TEST=scripts/build-fpga-rom TEST=scripts/build-hps-factory-static Change-Id: Id79dc28b3629859e6454143557239be668447ffe Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/hps-firmware/+/3452523 Tested-by: Dan Callaghan <dcallagh@chromium.org> Reviewed-by: David Lattimore <dml@chromium.org> Commit-Queue: Dan Callaghan <dcallagh@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 .)