zephyr/samples/boards/altera_max10/pio
Anas Nashif a2fd7d70ec cleanup: include/: move misc/util.h to sys/util.h
move misc/util.h to sys/util.h and
create a shim for backward-compatibility.

No functional changes to the headers.
A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES.

Related to #16539

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-06-27 22:55:49 -04:00
..
src cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
README.rst
prj.conf
sample.yaml

README.rst

.. _altera_max10_pio-sample:

Altera Nios-II PIO sample
###############################

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

Requirements
************

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

Building
********

.. zephyr-app-commands::
   :zephyr-app: samples/boards/altera_max10/pio
   :board: altera_max10
   :goals: build
   :compact:

Sample Output
=============

nios2 core output
-----------------

.. code-block:: console

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