2 Star 2 Fork 6

罗楚楚/红外测温

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
BUILD.gn 2.22 KB
一键复制 编辑 原始数据 按行查看 历史
Jordontsk 提交于 2022-04-02 10:36 +08:00 . 红外测温源码
# Copyright (c) 2021 Chinasoft International Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//build/lite/config/component/lite_component.gni")
import("//build/lite/config/subsystem/applications/config.gni")
lite_component("app") {
features = []
if (enable_traffic_light == true) {
features += [ "traffic_light" ]
}
if (enable_oled == true) {
features += [ "oled" ]
}
if (enable_nfc == true) {
features += [ "nfc" ]
}
if (enable_max30102 == true) {
features += [ "MAX30102" ]
}
if (enable_BMP280 == true) {
features += [ "BMP280" ]
}
if (enable_TCS230 == true) {
features += [ "TCS230" ]
}
if (enable_TP_401PW == true) {
features += [ "TP_401PW" ]
}
if (enable_CCS811 == true) {
features += [ "CCS811" ]
}
if (enable_fire == true) {
features += [ "fire" ]
}
if (enable_Bluetooth == true) {
features += [ "Bluetooth" ]
}
if (enable_Soil == true) {
features += [ "Soil" ]
}
if (enable_SHT40 == true) {
features += [ "sht40" ]
}
if (enable_IR_MeasureTemp == true) {
features += [ "IR_MeasureTemp" ]
}
if(enable_Alcohol == true) {
features += [ "Alcohol" ]
}
if(enable_Buzzer == true) {
features += [ "Buzzer" ]
}
if(enable_Key == true) {
features += [ "Key" ]
}
if(enable_Led == true) {
features += [ "Led" ]
}
if(enable_Adc == true) {
features += [ "Adc" ]
}
if(enable_PIR == true) {
features += [ "PIR" ]
}
if(enable_Gas == true) {
features += [ "Gas" ]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/skh_7_0/Infrared-temperature-measurement.git
git@gitee.com:skh_7_0/Infrared-temperature-measurement.git
skh_7_0
Infrared-temperature-measurement
红外测温
master

搜索帮助