Skip to content

Commit

Permalink
[add] bouffalolab mcu sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
balanceTWK committed Sep 28, 2021
1 parent ba65bf8 commit 20e6bb5
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions peripherals/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@ source "$PKGS_DIR/packages/peripherals/bluetrum_sdk/Kconfig"
source "$PKGS_DIR/packages/peripherals/Misaka_AT24CXX/Kconfig"
source "$PKGS_DIR/packages/peripherals/Misaka_RGB_Bling/Kconfig"
source "$PKGS_DIR/packages/peripherals/lora_gw_driver_lib/Kconfig"
source "$PKGS_DIR/packages/peripherals/bouffalolab_sdk/Kconfig"
endmenu
27 changes: 27 additions & 0 deletions peripherals/bouffalolab_sdk/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Kconfig file for package bouffalolab_sdk

menuconfig PKG_USING_BL_MCU_SDK
bool "bouffalolab: bl_mcu_sdk"
default n

if PKG_USING_BL_MCU_SDK

config PKG_BL_MCU_SDK_PATH
string
default "/packages/peripherals/bouffalolab_sdk"

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

config PKG_USING_BL_MCU_SDK_LATEST_VERSION
bool "latest"
endchoice

config PKG_BL_MCU_SDK_VER
string
default "latest" if PKG_USING_BL_MCU_SDK_LATEST_VERSION

endif
29 changes: 29 additions & 0 deletions peripherals/bouffalolab_sdk/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "bouffalolab_sdk",
"description": "bouffalolab: bl_mcu_sdk",
"description_zh": "博流 处理器对应的外设驱动包",
"enable": "PKG_USING_BL_MCU_SDK",
"keywords": [
"bouffalolab",
"bl602",
"riscv",
"IoT"
],
"category": "peripherals",
"author": {
"name": "BalanceTWK",
"email": "[email protected]",
"github": "balanceTWK"
},
"license": "Apache-2.0",
"repository": "https://github.com/balanceTWK/bouffalolab_sdk.git",
"homepage": "https://github.com/balanceTWK/bouffalolab_sdk.git",
"site": [
{
"version": "latest",
"URL": "https://github.com/balanceTWK/bouffalolab_sdk.git",
"filename": "bouffalolab_sdk.zip",
"VER_SHA": "master"
}
]
}

0 comments on commit 20e6bb5

Please sign in to comment.