55ee53ce91
Prepend the text 'cmake_minimum_required(VERSION 3.8.2)' into the application and test build scripts. Modern versions of CMake will spam users with a deprecation warning when the toplevel CMakeLists.txt does not specify a CMake version. This is documented in bug #8355. To resolve this we include a cmake_minimum_required() line into the toplevel build scripts. Additionally, cmake_minimum_required is invoked from within boilerplate.cmake. The highest version will be enforced. This patch allows us to afterwards change CMake policy CMP000 from OLD to NEW which in turn finally rids us of the verbose warning. The extra boilerplate is considered more acceptable than the verbosity of the CMP0000 policy. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
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