summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app/bme680-max44009-logger/Makefile.inc2
-rw-r--r--src/app/button-and-motion-logger/Makefile.inc4
-rw-r--r--src/app/i2cdetect/Makefile.inc1
-rw-r--r--src/app/mpu9250_motionlog/Makefile.inc4
-rw-r--r--src/app/ssd1306test/Makefile.inc7
-rw-r--r--src/app/wetterstation/Makefile.inc1
6 files changed, 15 insertions, 4 deletions
diff --git a/src/app/bme680-max44009-logger/Makefile.inc b/src/app/bme680-max44009-logger/Makefile.inc
index 33d05b0..d98dad2 100644
--- a/src/app/bme680-max44009-logger/Makefile.inc
+++ b/src/app/bme680-max44009-logger/Makefile.inc
@@ -9,7 +9,7 @@ ifdef app
override arch_drivers += ,i2c
CONFIG_driver_bme680 = y
CONFIG_driver_max44009 = y
- COMMON_FLAGS += -DCONFIG_driver_bme680 -DCONFIG_driver_max44009
+ COMMON_FLAGS += -DCONFIG_driver_bme680 -DCONFIG_driver_max44009 -DCONFIG_meta_driver_i2c -DCONFIG_meta_driver_hardware_i2c
endif
ifdef CONFIG_arch_posix
diff --git a/src/app/button-and-motion-logger/Makefile.inc b/src/app/button-and-motion-logger/Makefile.inc
index 65916ac..803ef62 100644
--- a/src/app/button-and-motion-logger/Makefile.inc
+++ b/src/app/button-and-motion-logger/Makefile.inc
@@ -7,5 +7,7 @@
ifdef app
override arch_drivers += ,adc,i2c
CONFIG_driver_mpu9250 = y
- COMMON_FLAGS += -DCONFIG_driver_mpu9250
+ CONFIG_meta_driver_i2c = y
+ CONFIG_meta_driver_hardware_i2c = y
+ COMMON_FLAGS += -DCONFIG_driver_mpu9250 -DCONFIG_meta_driver_i2c -DCONFIG_meta_driver_hardware_i2c
endif
diff --git a/src/app/i2cdetect/Makefile.inc b/src/app/i2cdetect/Makefile.inc
index 8a0b64e..0ce00f1 100644
--- a/src/app/i2cdetect/Makefile.inc
+++ b/src/app/i2cdetect/Makefile.inc
@@ -8,4 +8,5 @@ ifdef app
override arch_drivers += ,i2c
CONFIG_meta_driver_i2c = y
CONFIG_meta_driver_hardware_i2c = y
+ COMMON_FLAGS += -DCONFIG_meta_driver_i2c -DCONFIG_meta_driver_hardware_i2c
endif
diff --git a/src/app/mpu9250_motionlog/Makefile.inc b/src/app/mpu9250_motionlog/Makefile.inc
index 93b8d33..7d5621b 100644
--- a/src/app/mpu9250_motionlog/Makefile.inc
+++ b/src/app/mpu9250_motionlog/Makefile.inc
@@ -7,5 +7,7 @@
ifdef app
override arch_drivers += ,i2c
CONFIG_driver_mpu9250 = y
- COMMON_FLAGS += -DCONFIG_driver_mpu9250
+ CONFIG_meta_driver_i2c = y
+ CONFIG_meta_driver_hardware_i2c = y
+ COMMON_FLAGS += -DCONFIG_driver_mpu9250 -DCONFIG_meta_driver_i2c -DCONFIG_meta_driver_hardware_i2c
endif
diff --git a/src/app/ssd1306test/Makefile.inc b/src/app/ssd1306test/Makefile.inc
index 8c4936b..3f0e13e 100644
--- a/src/app/ssd1306test/Makefile.inc
+++ b/src/app/ssd1306test/Makefile.inc
@@ -7,8 +7,13 @@
ifdef app
loop = 1
override arch_drivers += ,i2c
+ CONFIG_meta_driver_i2c = y
+ CONFIG_meta_driver_hardware_i2c = y
CONFIG_driver_ssd1306 = y
- COMMON_FLAGS += -DCONFIG_driver_ssd1306
CONFIG_driver_ssd1306_width = 128
CONFIG_driver_ssd1306_height = 64
+ CONFIG_framebuffer = y
+ CONFIG_framebuffer_width = 128
+ CONFIG_framebuffer_height = 64
+ COMMON_FLAGS += -DCONFIG_driver_ssd1306 -DCONFIG_meta_driver_i2c -DCONFIG_meta_driver_hardware_i2c -DCONFIG_driver_ssd1306 -DCONFIG_driver_ssd1306_width=128 -DCONFIG_driver_ssd1306_height=64 -DCONFIG_framebuffer -DCONFIG_framebuffer_width=128 -DCONFIG_framebuffer_height=64
endif
diff --git a/src/app/wetterstation/Makefile.inc b/src/app/wetterstation/Makefile.inc
index 0eea52a..c32523a 100644
--- a/src/app/wetterstation/Makefile.inc
+++ b/src/app/wetterstation/Makefile.inc
@@ -6,4 +6,5 @@
ifdef app
loop = 1
+ override arch_drivers += ,adc
endif