-
Notifications
You must be signed in to change notification settings - Fork 352
feat:添加tm1668软件包 #1963
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
base: master
Are you sure you want to change the base?
feat:添加tm1668软件包 #1963
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
|
|
||
| # Kconfig file for package TM1668 | ||
| menuconfig PKG_USING_TM1668 | ||
| bool "tm1668: led driver package based on 3 pin" | ||
| default n | ||
| help | ||
| Select this option to use the TM1668 LED driver package. | ||
|
|
||
| if PKG_USING_TM1668 | ||
| config PKG_TM1668_PATH | ||
| string | ||
| default "/packages/peripherals/tm1668" | ||
|
|
||
| choice | ||
| prompt "Version" | ||
| default PKG_USING_TM1668_LATEST_VERSION | ||
| help | ||
| Select the package version | ||
|
|
||
| config PKG_USING_TM1668_V100 | ||
| bool "v1.0.0" | ||
|
|
||
| config PKG_USING_TM1668_LATEST_VERSION | ||
| bool "latest" | ||
| endchoice | ||
|
|
||
| config PKG_TM1668_VER | ||
| string | ||
| default "v1.0.0" if PKG_USING_TM1668_V100 | ||
| default "latest" if PKG_USING_TM1668_LATEST_VERSION | ||
|
|
||
| config TM1668_STB_PIN_NAME | ||
| string "TM1668 STB pin name" | ||
| default "PB.12" | ||
| help | ||
| Pin name for TM1668 STB (NianDong Board PB.12). | ||
|
|
||
| config TM1668_CLK_PIN_NAME | ||
| string "TM1668 CLK pin name" | ||
| default "PE.12" | ||
| help | ||
| Pin name for TM1668 CLK (NianDong Board PE.12). | ||
|
|
||
| config TM1668_DIO_PIN_NAME | ||
| string "TM1668 DIO pin name" | ||
| default "PB.10" | ||
| help | ||
| Pin name for TM1668 DIO (NianDong Board PB.10). | ||
|
|
||
| config USING_TM1668_DEMO | ||
| bool "Enable TM1668 Demo (example folder)" | ||
| default n | ||
| help | ||
| Enable this option to compile the example code in the "example" folder. | ||
| endif |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| { | ||
GKoSon marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "name": "tm1668", | ||
| "description": "tm1668 driver based on 3 PIN", | ||
| "description_zh": "使用3个PIN脚 完成特定通讯时序从而驱动tm1668芯片", | ||
| "enable": "PKG_USING_TM1668", | ||
| "keywords": [ | ||
| "tm1668", | ||
| "lcd" | ||
| ], | ||
| "category": "peripherals", | ||
| "author": { | ||
| "name": "龚金华", | ||
| "email": "782730309@qq.com", | ||
| "github": "GKoSon" | ||
| }, | ||
| "license": "MIT", | ||
| "repository": "https://github.com/GKoSon/tm1668", | ||
| "homepage": "https://github.com/GKoSon/tm1668#readme", | ||
| "site": [ | ||
| { | ||
| "version": "v1.0.0", | ||
| "URL": "https://github.com/GKoSon/tm1668/archive/refs/tags/v1.0.0.zip", | ||
| "filename": "tm1668-1.0.0.zip" | ||
| }, | ||
| { | ||
| "version": "latest", | ||
| "URL": "https://github.com/GKoSon/tm1668.git", | ||
| "filename": "tm1668.zip", | ||
| "VER_SHA": "main" | ||
| } | ||
| ] | ||
|
Comment on lines
19
to
31
|
||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.