Skip to content

Commit

Permalink
[sensor_v1] ms5805 pkg adapt sensor_v1 frame (#1784)
Browse files Browse the repository at this point in the history
* [sensor_v1] ms5805 pkg adapt sensor_v1 frame

* [sensor_v1] ms5805 pkg adapt sensor_v1 frame modify
  • Loading branch information
hydevcode authored Sep 23, 2024
1 parent 37f1d1a commit 01af069
Showing 1 changed file with 13 additions and 6 deletions.
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

0 comments on commit 01af069

Please sign in to comment.