#ifdef CONFIG_LIS3DSH /* Create a lis3dsh driver instance fitting the chip built into * stm32f4discovery */ ret = board_lis3dsh_initialize(0, 1); if (ret < 0) { serr("ERROR: Failed to initialize LIS3DSH driver: %d\n", ret); } #endif
1.5.483 CONFIG_LIS3DSH: STMicro LIS3DSH 3-Axis accelerometer support Type: Boolean Default: n Selects: CONFIG_SPI Dependencies: CONFIG_SENSORS Kconfig file: ./drivers/sensors/Kconfig Enable driver support for the STMicro LIS3DSH 3-Axis accelerometer.