1 Star 0 Fork 0

IcingTomato/raspberry-pi-i2c-sen5x

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 593 Bytes
一键复制 编辑 原始数据 按行查看 历史
lfierz 提交于 2021-12-28 12:25 . update to fw 1.0 - driver generator output
common_sources = sensirion_config.h sensirion_common.h sensirion_common.c
i2c_sources = sensirion_i2c_hal.h sensirion_i2c.h sensirion_i2c.c
sen5x_sources = sen5x_i2c.h sen5x_i2c.c
i2c_implementation ?= sensirion_i2c_hal.c
CFLAGS = -Os -Wall -fstrict-aliasing -Wstrict-aliasing=1 -Wsign-conversion -fPIC -I.
ifdef CI
CFLAGS += -Werror
endif
.PHONY: all clean
all: sen5x_i2c_example_usage
sen5x_i2c_example_usage: clean
$(CC) $(CFLAGS) -o $@ ${sen5x_sources} ${i2c_sources} \
${i2c_implementation} ${common_sources} sen5x_i2c_example_usage.c
clean:
$(RM) sen5x_i2c_example_usage
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/IcingTomato/raspberry-pi-i2c-sen5x.git
git@gitee.com:IcingTomato/raspberry-pi-i2c-sen5x.git
IcingTomato
raspberry-pi-i2c-sen5x
raspberry-pi-i2c-sen5x
master

搜索帮助