commit | 801df2541634795541431d0eeaf61c5710f5f621 | [log] [tgz] |
---|---|---|
author | Jakub Mlynarczyk <jakubm@chromium.org> | Tue Oct 05 03:24:35 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Oct 05 03:39:08 2021 |
tree | 6e7850e189a5b2a4939e05cba336b9f9c911b098 | |
parent | 38eb80f2f19a13a81c9b5929e24e21e7f745574a [diff] |
third_party: Update TFLM with CFU-Playground HPS ops (part 2) Forgot to amend very important change in path... It was building locally, but I did not notice that missing file. BUG=b:200217830 TEST=scripts/soc-load --build; scripts/proto2-run; scripts/proto2-mon (classification on); scripts/pyrun scripts/proto2-term Change-Id: I1b5b93e0eaa7f5ebcb473c1e9071cb288da0df89 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/hps-firmware/+/3203722 Tested-by: Jakub Młynarczyk <jakubm@chromium.org> Reviewed-by: Dan Callaghan <dcallagh@chromium.org> Reviewed-by: Alan Green <avg@chromium.org> Commit-Queue: 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 .)