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> |
||
---|---|---|
.. | ||
boards | ||
src | ||
CMakeLists.txt | ||
README.rst | ||
dts.fixup | ||
prj.conf | ||
sample.yaml | ||
stm32373c_eval.overlay |
README.rst
.. _pca9633: PCA9633: 4-Channel RGB ###################### Overview ******** This sample controls 4 LEDs connected to a PCA9633 driver, using the following pattern: 1. turn on LEDs 2. turn off LEDs 3. set the brightness to 50% 4. turn off LEDs 5. blink the LEDs 6. turn off LEDs Building and Running ******************** Build the application for the :ref:`stm32373c_eval_board` board, and connect a PCA9633 LED driver on the bus I2C-1 at the address 0x62. .. zephyr-app-commands:: :zephyr-app: samples/drivers/led_pca9633 :board: stm32373c_eval :goals: build :compact: For flashing the application, refer to the Flashing section of the :ref:`stm32373c_eval_board` board documentation. References ********** - PCA9633: https://www.nxp.com/docs/en/data-sheet/PCA9633.pdf