File tree Expand file tree Collapse file tree 10 files changed +23
-28
lines changed 
boards/arduino_101/environmental_sensing/sensor Expand file tree Collapse file tree 10 files changed +23
-28
lines changed Original file line number Diff line number Diff line change 1+ 
2+ zephyr_sources_ifdef(CONFIG_GROVE_LCD_RGB grove_lcd_rgb.c)
13zephyr_sources_ifdef(CONFIG_MICROBIT_DISPLAY
24	mb_display.c
35	mb_font.c
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ module = DISPLAY
1717module-str = display
1818source "subsys/logging/Kconfig.template.log_config"
1919
20+ source "drivers/display/Kconfig.grove"
21+ 
2022source "drivers/display/Kconfig.microbit"
2123
2224source "drivers/display/Kconfig.ili9340"
Original file line number Diff line number Diff line change 1+ 
2+ config GROVE_LCD_RGB
3+ 	bool "Enable the Seeed Grove LCD RGB Backlight"
4+ 	help
5+ 	  Setting this value will enable driver support for the Groove-LCD RGB
6+ 	  Backlight.
7+ 
8+ config GROVE_LCD_RGB_I2C_MASTER_DEV_NAME
9+ 	string "I2C Master where Grove LCD is connected"
10+ 	depends on GROVE_LCD_RGB
11+ 	default "I2C_0"
12+ 	help
13+ 	  Specify the device name of the I2C master device to which the
14+ 	  Grove LCD is connected.
Original file line number Diff line number Diff line change 1313#include  <display/grove_lcd.h> 
1414#include  <misc/util.h> 
1515
16- #define  LOG_LEVEL  CONFIG_GROVE_LOG_LEVEL 
16+ #define  LOG_LEVEL  CONFIG_DISPLAY_LOG_LEVEL 
1717#include  <logging/log.h> 
1818LOG_MODULE_REGISTER (grove_lcd );
1919
Original file line number Diff line number Diff line change 1- zephyr_sources_ifdef(CONFIG_GROVE_LCD_RGB		lcd_rgb.c)
21zephyr_sources_ifdef(CONFIG_GROVE_LIGHT_SENSOR		light_sensor.c)
32zephyr_sources_ifdef(CONFIG_GROVE_TEMPERATURE_SENSOR	temperature_sensor.c)
Original file line number Diff line number Diff line change 77#
88
99
10- menuconfig GROVE
11- 	bool "Grove Device Drivers"
12- 	help
13- 	  Check this box to enable the Seeed Grove device drivers
14- 
15- 
16- module = GROVE
17- module-str = grove
18- source "subsys/logging/Kconfig.template.log_config"
19- 
20- config GROVE_LCD_RGB
21- 	bool "Enable the Seeed Grove LCD RGB Backlight"
22- 	depends on GROVE
23- 	help
24- 	  Setting this value will enable driver support for the Groove-LCD RGB
25- 	  Backlight.
26- 
27- config GROVE_LCD_RGB_I2C_MASTER_DEV_NAME
28- 	string "I2C Master where Grove LCD is connected"
29- 	depends on GROVE_LCD_RGB
30- 	default "I2C_0"
31- 	help
32- 	  Specify the device name of the I2C master device to which the
33- 	  Grove LCD is connected.
3410
3511config GROVE_LIGHT_SENSOR
3612	bool "Enable the Seeed Grove Light Sensor"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ CONFIG_GPIO=y
1010CONFIG_SENSOR=y
1111
1212# remove Grove configs you don't want to use the LCD
13- CONFIG_GROVE =y
13+ CONFIG_DISPLAY =y
1414CONFIG_GROVE_LCD_RGB=y
1515
1616# change these configs if you want to use different sensors
Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ CONFIG_PRINTK=y
33
44CONFIG_I2C=y
55
6- CONFIG_GROVE =y
6+ CONFIG_DISPLAY =y
77CONFIG_GROVE_LCD_RGB=y
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ CONFIG_SENSOR=y
33CONFIG_I2C=y
44CONFIG_ADC=y
55CONFIG_NEWLIB_LIBC=y
6+ CONFIG_DISPLAY=y
67CONFIG_GROVE=y
78CONFIG_GROVE_TEMPERATURE_SENSOR_ADC_CHANNEL=10
89CONFIG_GROVE_TEMPERATURE_SENSOR=y
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ CONFIG_LOG=n
66CONFIG_SENSOR_LOG_LEVEL_DBG=y
77CONFIG_GROVE=y
88CONFIG_GROVE_LCD_RGB=y
9+ CONFIG_DISPLAY=y
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments