2872af1a93
The on-board sensor has a enable pin that must be pulled high in order to power the sensor. Since no i2c sensor connected to ENV_I2C is supported by zephyr yet, changed the pins of i2c1 to be connected to CCS811_I2C pins. Signed-off-by: Christian Taedcke <christian.taedcke@lemonbeat.com>
9 lines
225 B
CMake
9 lines
225 B
CMake
# Copyright (c) 2020 Christian Taedcke
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if(CONFIG_CCS811)
|
|
zephyr_library()
|
|
zephyr_library_sources(board.c)
|
|
zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers)
|
|
endif()
|