From 8b5d14c7dcf045b21083e55444c3cf08e03cdbd8 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 16 Jan 2022 06:52:30 +0100 Subject: fix app (non-kconfig) builds in some application Makefiles --- src/app/bme680-max44009-logger/Makefile.inc | 2 +- src/app/button-and-motion-logger/Makefile.inc | 4 +++- src/app/i2cdetect/Makefile.inc | 1 + src/app/mpu9250_motionlog/Makefile.inc | 4 +++- src/app/ssd1306test/Makefile.inc | 7 ++++++- src/app/wetterstation/Makefile.inc | 1 + 6 files changed, 15 insertions(+), 4 deletions(-) (limited to 'src/app') 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 -- cgit v1.2.3