-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Melexis MLX90382 package (#1848)
- Loading branch information
Showing
3 changed files
with
61 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,32 @@ | ||
|
||
# Kconfig file for package mlx90382 | ||
menuconfig PKG_USING_MLX90382 | ||
bool "a mlx90382 package for rt-thread." | ||
default n | ||
|
||
if PKG_USING_MLX90382 | ||
|
||
config PKG_MLX90382_PATH | ||
string | ||
default "/packages/peripherals/sensors/mlx90382" | ||
|
||
choice | ||
prompt "Version" | ||
default PKG_USING_MLX90382_LATEST_VERSION | ||
help | ||
Select the package version | ||
|
||
config PKG_USING_MLX90382_V100 | ||
bool "v1.0.0" | ||
|
||
config PKG_USING_MLX90382_LATEST_VERSION | ||
bool "latest" | ||
endchoice | ||
|
||
config PKG_MLX90382_VER | ||
string | ||
default "v1.0.0" if PKG_USING_MLX90382_V100 | ||
default "latest" if PKG_USING_MLX90382_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,28 @@ | ||
{ | ||
"name": "mlx90382", | ||
"description": "The MLX90382 is a compact, absolute magnetic encoder IC. It features stray field immunity, supports both on-axis and off-axis sensing, 14-bit resolution, differential outputs and a speed range of up to 200k e-RPM", | ||
"description_zh": "MLX90382 是来自迈来芯公司的一颗高速磁编码器", | ||
"enable": "PKG_USING_MLX90382", | ||
"keywords": [ | ||
"mlx90382" | ||
], | ||
"category": "peripherals/sensors", | ||
"author": { | ||
"name": "lgnq", | ||
"email": "[email protected]", | ||
"github": "lgnq" | ||
}, | ||
"license": "Apache-2.0", | ||
"repository": "https://github.com/lgnq/mlx90382", | ||
"icon": "unknown", | ||
"homepage": "https://github.com/lgnq/mlx90382", | ||
"doc": "unknown", | ||
"site": [ | ||
{ | ||
"version": "latest", | ||
"URL": "https://github.com/lgnq/mlx90382.git", | ||
"filename": "mlx90382.zip", | ||
"VER_SHA": "main" | ||
} | ||
] | ||
} |