59bc1c52a5
Enable the pca9555 chip on mec172xevb to test the I2C function 1. Add tests/boards/mec172xevb_assy6906/i2c_api 2. The HW connections are described in README.txt 3. Use I2C01 to connect the PCA9555, as I2C00 is for UART2 Signed-off-by: Hu Zhenyu <zhenyu.hu@intel.com>
9 lines
224 B
CMake
9 lines
224 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(i2c_api)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|