zephyr/modules/Kconfig.st
Ulf Magnusson 975de21858 kconfig: Global whitespace/consistency cleanup
Clean up space errors and use a consistent style throughout the Kconfig
files. This makes reading the Kconfig files more distraction-free, helps
with grepping, and encourages the same style getting copied around
everywhere (meaning another pass hopefully won't be needed).

Go for the most common style:

 - Indent properties with a single tab, including for choices.

   Properties on choices work exactly the same syntactically as
   properties on symbols, so not sure how the no-indentation thing
   happened.

 - Indent help texts with a tab followed by two spaces

 - Put a space between 'config' and the symbol name, not a tab. This
   also helps when grepping for definitions.

 - Do '# A comment' instead of '#A comment'

I tweaked Kconfiglib a bit to find most of the stuff.

Some help texts were reflowed to 79 columns with 'gq' in Vim as well,
though not all, because I was afraid I'd accidentally mess up
formatting.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-11-01 15:53:23 +01:00

155 lines
1.6 KiB
Smalltalk

# Kconfig - STLIB config
# Copyright (c) 2017 STMicroelectronics
config HAS_STLIB
bool
config HAS_STMEMSC
bool
if HAS_STMEMSC
config USE_STDC_A3G4250D
bool
config USE_STDC_AIS2DW12
bool
config USE_STDC_AIS328DQ
bool
config USE_STDC_AIS3624DQ
bool
config USE_STDC_H3LIS331DL
bool
config USE_STDC_HTS221
bool
config USE_STDC_I3G4250D
bool
config USE_STDC_IIS2DH
bool
config USE_STDC_IIS2DLPC
bool
config USE_STDC_IIS2MDC
bool
config USE_STDC_IIS328DQ
bool
config USE_STDC_IIS3DHHC
bool
config USE_STDC_IIS3DWB
bool
config USE_STDC_ISM303DAC
bool
config USE_STDC_ISM330DHCX
bool
config USE_STDC_ISM330DLC
bool
config USE_STDC_L20G20IS
bool
config USE_STDC_L3GD20H
bool
config USE_STDC_LIS2DE12
bool
config USE_STDC_LIS2DH12
bool
config USE_STDC_LIS2DS12
bool
config USE_STDC_LIS2DTW12
bool
config USE_STDC_LIS2DW12
bool
config USE_STDC_LIS2HH12
bool
config USE_STDC_LIS2MDL
bool
config USE_STDC_LIS331DLH
bool
config USE_STDC_LIS3DE
bool
config USE_STDC_LIS3DHH
bool
config USE_STDC_LIS3DH
bool
config USE_STDC_LIS3MDL
bool
config USE_STDC_LPS22HB
bool
config USE_STDC_LPS22HH
bool
config USE_STDC_LPS25HB
bool
config USE_STDC_LPS27HHW
bool
config USE_STDC_LPS33HW
bool
config USE_STDC_LPS33W
bool
config USE_STDC_LSM303AGR
bool
config USE_STDC_LSM303AH
bool
config USE_STDC_LSM6DS3
bool
config USE_STDC_LSM6DS3TR
bool
config USE_STDC_LSM6DSL
bool
config USE_STDC_LSM6DSM
bool
config USE_STDC_LSM6DSO
bool
config USE_STDC_LSM6DSOX
bool
config USE_STDC_LSM6DSR
bool
config USE_STDC_LSM9DS1
bool
config USE_STDC_STTS751
bool
endif # HAS_STMEMSC