Table of Content
1. Toolchain setup
1.1 install python
Version : python-3.9.0-amd64.exe
1.2 Install apio with the following command:
> python -m pip install apio==0.8.1
1.3 Install Tool Suite
> apio install --all --platform windows_amd64
> apio install drivers
2. Upload examples
2.1 list available examples
> mkdir d:\apio
> cd apio
apio > apio examples -l
Alhambra-II\Blinky
-----------------------------------------------------------------------------------------------------------------------------------------------------
Blinking LED 7
......
To get an example, use the command:
apio examples -d/-f name
Example of use:
apio examples -f leds
Copy the leds example files to the current directory
2.2 Create the icestick/leds example (copy from examples)
apio > apio examples -d icestick\leds
> cd icestick/leds
> apio verify
> apio sim
2.3 build and upload to board
> cd icestick/leds
> apio build
> apio upload