这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
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/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ menu "peripheral libraries and drivers"
source "$PKGS_DIR/packages/peripherals/hal-sdk/Kconfig"
source "$PKGS_DIR/packages/peripherals/sensors/Kconfig"
source "$PKGS_DIR/packages/peripherals/touch/Kconfig"
source "$PKGS_DIR/packages/peripherals/realtek_ameba/Kconfig"
source "$PKGS_DIR/packages/peripherals/button/Kconfig"
source "$PKGS_DIR/packages/peripherals/pcf8574/Kconfig"
source "$PKGS_DIR/packages/peripherals/sx12xx/Kconfig"
Expand Down
31 changes: 31 additions & 0 deletions peripherals/realtek_ameba/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

# Kconfig file for package realtek_ameba
config PKG_USING_REALTEK_AMEBA
bool "realtek_ameba: ameba sdk package for rt-thread"
default n

if PKG_USING_REALTEK_AMEBA

config PKG_REALTEK_AMEBA_PATH
string
default "/packages/peripherals/realtek_ameba"

choice
prompt "realtek_ameba version"
help
Select the realtek_ameba version

config PKG_USING_REALTEK_AMEBA_LATEST_VERSION
bool "latest"

config PKG_USING_REALTEK_AMEBA_V100
bool "v1.0.0"
endchoice

config PKG_REALTEK_AMEBA_VER
string
default "v1.0.0" if PKG_USING_REALTEK_AMEBA_V100
default "latest" if PKG_USING_REALTEK_AMEBA_LATEST_VERSION

endif

31 changes: 31 additions & 0 deletions peripherals/realtek_ameba/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "realtek_ameba",
"description": "realtek_ameba package on RT-Thread",
"description_zh": "realtek 的 ameba 软件包在 RT-Thread 上的移植",
"enable": "PKG_USING_REALTEK_AMEBA",
"keywords": [
"realtek_ameba"
],
"category": "peripherals",
"author": {
"name": "flyingcys",
"email": "294102238@qq.com",
"github": "flyingcys"
},
"license": "LGPL-2.1",
"repository": "https://github.com/RT-Thread-packages/realtek_ameba",
"homepage": "https://github.com/RT-Thread-packages/realtek_ameba#readme",
"site": [
{
"version": "v1.0.0",
"URL": "https://github.com/RT-Thread-packages/realtek_ameba/archive/refs/tags/1.0.0.zip",
"filename": "realtek_ameba-1.0.0.zip"
},
{
"version": "latest",
"URL": "https://github.com/RT-Thread-packages/realtek_ameba.git",
"filename": "realtek_ameba.zip",
"VER_SHA": "master"
}
]
}
Loading