Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sensor_v1] ms5805 pkg adapt sensor_v1 frame #1784

Merged
merged 2 commits into from
Sep 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions peripherals/sensors/ms5805/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,23 @@ if PKG_USING_MS5805
string
default "/packages/peripherals/sensors/ms5805"

config MS5805_USING_TEMP
bool "Enable MS5805 temperature"
config PKG_MS5805_USING_SENSOR_V1
bool "Enable sensor_v1 device framework"
select RT_USING_SENSOR
default n

config MS5805_USING_BARO
bool "Enable MS5805 pressure"
if PKG_MS5805_USING_SENSOR_V1
config PKG_USING_MS5805_SAMPLE
bool "Enable MS5805 sensor_v1 example"
default n
endif

config PKG_MS5805_USING_TEMP
bool "Enable MS5805 temperature"
default n

config PKG_USING_MS5805_SAMPLE
bool "Enable ms5805 example"
config PKG_MS5805_USING_BARO
bool "Enable MS5805 pressure"
default n

choice
Expand Down
Loading