Skip to content
Open
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
1 change: 1 addition & 0 deletions peripherals/sensors/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ source "$PKGS_DIR/packages/peripherals/sensors/pmsxx/Kconfig"
source "$PKGS_DIR/packages/peripherals/sensors/rt3020/Kconfig"
source "$PKGS_DIR/packages/peripherals/sensors/mlx90632/Kconfig"
source "$PKGS_DIR/packages/peripherals/sensors/mlx90382/Kconfig"
source "$PKGS_DIR/packages/peripherals/sensors/mlx90384/Kconfig"
source "$PKGS_DIR/packages/peripherals/sensors/mlx90393/Kconfig"
source "$PKGS_DIR/packages/peripherals/sensors/mlx90392/Kconfig"
source "$PKGS_DIR/packages/peripherals/sensors/mlx90394/Kconfig"
Expand Down
40 changes: 40 additions & 0 deletions peripherals/sensors/mlx90384/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Kconfig file for package mlx90384
menuconfig PKG_USING_MLX90384
bool "a mlx90384 package for rt-thread."
default n

if PKG_USING_MLX90384

config PKG_MLX90384_USING_SENSOR_V1
bool "Enable sensor divce framework"
select RT_USING_SENSOR
default n

config PKG_MLX90384_PATH
string
default "/packages/peripherals/sensors/mlx90384"

choice
prompt "Version"
default PKG_USING_MLX90384_LATEST_VERSION
help
Select the package version

config PKG_USING_MLX90384_V100
bool "v1.0.0"

config PKG_USING_MLX90384_LATEST_VERSION
bool "latest"
endchoice

config PKG_MLX90384_VER
string
default "v1.0.0" if PKG_USING_MLX90384_V100
default "latest" if PKG_USING_MLX90384_LATEST_VERSION

config PKG_USING_MLX90384_SAMPLE
bool "Enable mlx90384 sample"
default n

endif

28 changes: 28 additions & 0 deletions peripherals/sensors/mlx90384/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "mlx90384",
"description": "The MLX90384 is a high resolution(18 bits) magnetic encoder(Arcminaxis)",
"description_zh": "MLX90384 是来自迈来芯公司的一颗高分辨率(18 Bits)磁编码器",
"enable": "PKG_USING_MLX90384",
"keywords": [
"mlx90384"
],
"category": "peripherals/sensors",
"author": {
"name": "lgnq",
"email": "dzzxzz@gmail.com",
"github": "lgnq"
},
"license": "Apache-2.0",
"repository": "https://github.com/lgnq/mlx90384",
"icon": "unknown",
"homepage": "https://github.com/lgnq/mlx90384",
"doc": "unknown",
"site": [
{
"version": "latest",
"URL": "https://github.com/lgnq/mlx90384.git",
"filename": "mlx90384.zip",
"VER_SHA": "main"
}
]
}