-
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.
* 1. add mm32 package; * 1. modified Kconfig file; * 1. fix package.json;
- Loading branch information
Showing
3 changed files
with
65 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,31 @@ | ||
|
||
# Kconfig file for package mm32 | ||
menuconfig PKG_USING_MM32 | ||
bool "mm32 official independent peripheral driver library for rt-thread." | ||
default n | ||
|
||
if PKG_USING_MM32 | ||
|
||
config PKG_MM32_PATH | ||
string | ||
default "/packages/peripherals/mm32" | ||
|
||
choice | ||
prompt "Version" | ||
help | ||
Select the package version | ||
|
||
config PKG_USING_MM32_V100 | ||
bool "v1.0.0" | ||
|
||
config PKG_USING_MM32_LATEST_VERSION | ||
bool "latest" | ||
endchoice | ||
|
||
config PKG_MM32_VER | ||
string | ||
default "v1.0.0" if PKG_USING_MM32_V100 | ||
default "latest" if PKG_USING_MM32_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,33 @@ | ||
{ | ||
"name": "mm32", | ||
"description": "mm32 official independent peripheral driver library.", | ||
"description_zh": "mm32官方独立外设驱动库。", | ||
"enable": "PKG_USING_MM32", | ||
"keywords": [ | ||
"mm32" | ||
], | ||
"category": "peripherals", | ||
"author": { | ||
"name": "Maihuanyi", | ||
"email": "[email protected]", | ||
"github": "Maihuanyi" | ||
}, | ||
"license": "BSD-3-Clause", | ||
"repository": "https://github.com/Maihuanyi/mm32", | ||
"icon": "unknown", | ||
"homepage": "https://github.com/Maihuanyi/mm32#readme", | ||
"doc": "unknown", | ||
"site": [ | ||
{ | ||
"version": "v1.0.0", | ||
"URL": "https://github.com/Maihuanyi/mm32/archive/refs/tags/1.0.0.zip", | ||
"filename": "mm32-1.0.0.zip" | ||
}, | ||
{ | ||
"version": "latest", | ||
"URL": "https://github.com/Maihuanyi/mm32.git", | ||
"filename": "", | ||
"VER_SHA": "master" | ||
} | ||
] | ||
} |