Altera Nios-II PIO sample


This sample application demonstrates the usage of Nios-II Parallel Input/Output (PIO) soft IP by controlling the LEDs on an Altera MAX10 board.


This application uses an Altera MAX10 development board for the demo.


# On Linux/macOS
cd $ZEPHYR_BASE/samples/boards/altera_max10/pio
mkdir build && cd build
# On Windows
cd %ZEPHYR_BASE%\samples\boards\altera_max10\pio
mkdir build & cd build
cmake -GNinja -DBOARD=altera_max10 ..

Sample Output

nios2 core output

Turning off all LEDs
Turn On LED[0]
Turn On LED[1]
Turn On LED[2]
Turn On LED[3]
Turning on all LEDs