When there is no grove sensor driver enabled, cmake warns that the library has no sources. Fix that by adding a new kconfig to be used by CMake to selectively include the grove directory. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
8 lines
164 B
Plaintext
8 lines
164 B
Plaintext
CONFIG_ADC=y
|
|
CONFIG_SENSOR=y
|
|
CONFIG_GROVE_SENSORS=y
|
|
CONFIG_GROVE_LIGHT_SENSOR=y
|
|
CONFIG_NEWLIB_LIBC=y
|
|
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
|
|
CONFIG_CBPRINTF_FP_SUPPORT=y
|