Skip to content
Snippets Groups Projects
Commit 5f219f05 authored by Zbigniew Bodek's avatar Zbigniew Bodek
Browse files

zephyr-demo-smarthome-led: Introduce LED board image


Demo consists of two IOT endpoints: sensors board
and bulb/LED board.
Add image to specialize base settings to the LED board's
configuration. In this case settings related to LCD display
and sensors are disabled.

Signed-off-by: default avatarZbigniew Bodek <zbigniew.bodek@huawei.com>
parent c0f34a01
No related branches found
No related tags found
No related merge requests found
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
require zephyr-demo-smarthome-base.bb
SUMMARY = "SmartHome demo image: smart LED"
DESCRIPTION = "Zephyr based image targeting smart LED board"
LICENSE = "Apache-2.0"
# Comment out features not used by this image
do_configure_append() {
sed -i '/^CONFIG_I2C/ s/./#&/' ${ZEPHYR_SRC_DIR}/prj.conf
sed -i '/^CONFIG_DISPLAY/ s/./#&/' ${ZEPHYR_SRC_DIR}/prj.conf
sed -i '/^CONFIG_GROVE_LCD_RGB/ s/./#&/' ${ZEPHYR_SRC_DIR}/prj.conf
sed -i '/^CONFIG_SENSOR/ s/./#&/' ${ZEPHYR_SRC_DIR}/prj.conf
sed -i '/^CONFIG_DHT/ s/./#&/' ${ZEPHYR_SRC_DIR}/prj.conf
sed -i '/^CONFIG_GROVE_HPS/ s/./#&/' ${ZEPHYR_SRC_DIR}/prj.conf
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment