forked from RT-Thread/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[arduino][seeed] 添加bmm150驱动库 (RT-Thread#1509)
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
- Loading branch information
Showing
3 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
# Kconfig file for package Seeed-BBM150 | ||
menuconfig PKG_USING_ARDUINO_SEEED_BBM150 | ||
bool "Seeed BBM150: digital compass sensor" | ||
select PKG_USING_RTDUINO | ||
select RTDUINO_USING_WIRE | ||
default n | ||
|
||
if PKG_USING_ARDUINO_SEEED_BBM150 | ||
|
||
config PKG_ARDUINO_SEEED_BBM150_PATH | ||
string | ||
default "/packages/arduino/sensors/Seeed-BBM150" | ||
|
||
choice | ||
prompt "Version" | ||
default PKG_USING_ARDUINO_SEEED_BBM150_LATEST_VERSION | ||
help | ||
Select the package version | ||
|
||
config PKG_USING_ARDUINO_SEEED_BBM150_LATEST_VERSION | ||
bool "latest" | ||
endchoice | ||
|
||
config PKG_ARDUINO_SEEED_BBM150_VER | ||
string | ||
default "latest" if PKG_USING_ARDUINO_SEEED_BBM150_LATEST_VERSION | ||
|
||
endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"name": "Seeed-BBM150", | ||
"description": "Seeed BBM150 digital compass sensor", | ||
"description_zh": "Seeed BBM150 数字罗盘传感器驱动", | ||
"enable": "PKG_USING_ARDUINO_SEEED_BBM150", | ||
"keywords": [ | ||
"Seeed-BBM150", | ||
"Sensors", | ||
"Seeed", | ||
"Arduino", | ||
"BBM150", | ||
"3-axis", | ||
"compass", | ||
"Geomagnetic" | ||
], | ||
"category": "arduino/sensors", | ||
"author": { | ||
"name": "Seeed-Studio", | ||
"email": "techsupport@seeed.cc", | ||
"github": "Seeed-Studio" | ||
}, | ||
"license": "MIT", | ||
"repository": "https://github.com/Seeed-Studio/Grove_3_Axis_Compass_V2.0_BMM150", | ||
"icon": "unknown", | ||
"homepage": "https://github.com/Seeed-Studio/Grove_3_Axis_Compass_V2.0_BMM150#readme", | ||
"doc": "unknown", | ||
"site": [ | ||
{ | ||
"version": "latest", | ||
"URL": "https://github.com/Seeed-Studio/Grove_3_Axis_Compass_V2.0_BMM150.git", | ||
"filename": "", | ||
"VER_SHA": "master" | ||
} | ||
] | ||
} |