zephyr/boards/arm/efr32mg_sltb004a/CMakeLists.txt
Christian Taedcke 2872af1a93 boards: efr32mg_sltb004a: Add support for sensor ccs811
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>
2020-07-08 15:31:03 -05:00

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()