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

Scons hmc5883 kconfig #1840

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
7 changes: 5 additions & 2 deletions peripherals/sensors/df220/Kconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# Kconfig file for package df220
menuconfig PKG_USING_DF220
bool "df220 sensor driver package, support: force sensor."
Expand All @@ -10,6 +9,11 @@ if PKG_USING_DF220
string
default "/packages/peripherals/sensors/df220"

config PKG_DF220_USING_SENSOR_V1
bool "Enable sensor_v1 divce framework"
select RT_USING_SENSOR
default n

choice
prompt "Version"
default PKG_USING_DF220_LATEST_VERSION
Expand All @@ -29,4 +33,3 @@ if PKG_USING_DF220
default "latest" if PKG_USING_DF220_LATEST_VERSION

endif

5 changes: 5 additions & 0 deletions peripherals/sensors/gy271/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ if PKG_USING_GY271
string
default "/packages/peripherals/sensors/gy271"

config PKG_HONEY_GY271_USING_SENSOR_V1
bool "Enable sensor_v1 divce framework"
select RT_USING_SENSOR
default n

choice
prompt "Version"
default PKG_USING_GY271_LATEST_VERSION
Expand Down
4 changes: 4 additions & 0 deletions peripherals/sensors/hdc1000/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ if PKG_USING_HDC1000
string
default "/packages/peripherals/sensors/hdc1000"

config PKG_HDC1000_USING_SENSOR_V1
bool "Enable sensor_v1 divce framework"
select RT_USING_SENSOR
default n
choice
prompt "Version"
default PKG_USING_HDC1000_LATEST_VERSION
Expand Down
4 changes: 4 additions & 0 deletions peripherals/sensors/hmc5883/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ if PKG_USING_HMC5883
string
default "/packages/peripherals/sensors/hmc5883"

config PKG_INTF_HMC5883_USING_SENSOR_V1
bool "Enable sensor_v1 divce framework"
select RT_USING_SENSOR
default n
choice
prompt "Version"
default PKG_USING_HMC5883_LATEST_VERSION
Expand Down
Loading