Clone this repo:

Branches

  1. d85e967 scripts/setup: Install thumbv7em-none-eabihf for rust by David Lattimore · 5 hours ago main
  2. 180a8b4 mcu_rom/stage1: Canonicalise hal crate import by Edward O'Callaghan · 7 hours ago
  3. cdb59ab factory_tester: Check more bytes of image data by David Lattimore · 7 hours ago
  4. c19e40b mcu_rom/stage1: Allow for freestanding builds by Edward O'Callaghan · 7 hours ago
  5. 6f42d5f mcu_rom/stm32g0_application: Drop dead proto0 code by Edward O'Callaghan · 7 hours ago

ChromiumOS HPS

See design document

Initial Setup

  1. Run the setup script. This will set up git submodules and prompt to install missing packages.

    1. ./scripts/setup
  2. 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.
    
    1. Set RADIANT_DIR to the path where it is installed. e.g. in your .bashrc, you might add:
      1. export RADIANT_DIR=$HOME/lscc/radiant/2.2/bin/lin64
    2. Run sudo ~/lscc/radiant/2.2/programmer/data/vmdata/udevsetup_ubuntu (or one of the other udevsetup scripts) to correctly configure USB subsystem for Radiant.

Building and programming:

Editing code

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 .)