- Install PlatformIO
- Download source code with examples
- Extract ZIP archive
- Run these commands:
# Change directory to example
> cd platformio-examples/lattice_ice40/lattice_ice40-leds
# Process example project (bitstream generation)
> platformio run
# Upload the bitstream into the FPGA
> platformio run --target upload