summaryrefslogtreecommitdiff
path: root/src/app/bme680-max44009-logger/Makefile.inc
blob: 53e32ad82010e585538b8a9e7ffb5a069fdc2f06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# vim:ft=make
#
# Copyright 2020 Birte Kristina Friesel
#
# SPDX-License-Identifier: CC0-1.0

ifdef app
	loop = 1
	override arch_drivers += ,i2c
	CONFIG_driver_bme680 = y
	CONFIG_driver_max44009 = y
	COMMON_FLAGS += -DCONFIG_driver_bme680 -DCONFIG_driver_max44009 -DCONFIG_meta_driver_i2c -DCONFIG_meta_driver_hardware_i2c
endif

ifdef CONFIG_arch_posix
	CXX_TARGETS += src/app/${app_dir}/posix.cc
else
	CXX_TARGETS += src/app/${app_dir}/generic.cc
	COMMON_FLAGS += -DBME680_FLOAT_POINT_COMPENSATION
endif