first
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
menuconfig SPL06
|
||||
bool "SPL06-001 / DPS310 pressure sensor"
|
||||
depends on DT_HAS_MISAKI_SPL06_ENABLED || DT_HAS_INFINEON_DPS310_ENABLED
|
||||
select I2C
|
||||
select SENSOR
|
||||
default y
|
||||
help
|
||||
Goertek SPL06-001 / Infineon DPS310 barometric pressure sensor
|
||||
over I2C (same die, identical registers/compensation).
|
||||
Background continuous measurement at 32 Hz, Betaflight-equivalent
|
||||
parameters. Supports both "misaki,spl06" and "infineon,dps310"
|
||||
compatibles.
|
||||
|
||||
if SPL06
|
||||
|
||||
config SPL06_LOG_LEVEL
|
||||
int "SPL06 log level"
|
||||
depends on LOG
|
||||
range 0 4
|
||||
default 3
|
||||
|
||||
config SPL06_CLAIM_DPS310
|
||||
bool "Drive infineon,dps310 nodes with this driver"
|
||||
default y
|
||||
help
|
||||
When enabled, this driver also binds "infineon,dps310" nodes, so
|
||||
CONFIG_DPS310 must stay 'n'. Set this to 'n' (and CONFIG_DPS310=y)
|
||||
to hand DPS310 nodes back to Zephyr's upstream infineon,dps310
|
||||
driver (command mode). Useful for A/B comparison.
|
||||
|
||||
endif # SPL06
|
||||
Reference in New Issue
Block a user