Skip to content

Commit

Permalink
[peripherals][embARC_bsp] add synopsys embARC_bsp support
Browse files Browse the repository at this point in the history
The embARC Board support Package (BSP) is a software distributions
aimed at facilitating the development and evaluation of embedded
systems based on Synopsys ARCv2 processors, which is designed to
provide a minimal board support package for ARC users by defining
consistent and simple software interfaces to the processors
and onboard devices.

Signed-off-by: Watson Zeng <[email protected]>
  • Loading branch information
IRISZZW committed Feb 28, 2020
1 parent 2b0ea8b commit 0bd6dc2
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions peripherals/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ source "$PKGS_DIR/packages/peripherals/max17048/Kconfig"
source "$PKGS_DIR/packages/peripherals/rplidar/Kconfig"
source "$PKGS_DIR/packages/peripherals/as608/Kconfig"
source "$PKGS_DIR/packages/peripherals/rc522/Kconfig"
source "$PKGS_DIR/packages/peripherals/embARC_bsp/Kconfig"

endmenu
31 changes: 31 additions & 0 deletions peripherals/embARC_bsp/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

# Kconfig file for package embARC_bsp
menuconfig PKG_USING_EMBARC_BSP
bool "embARC_bsp(Synopsys ARC Processer Board Support Package Software) package"
default n

if PKG_USING_EMBARC_BSP

config PKG_EMBARC_BSP_PATH
string
default "/packages/peripherals/embARC_bsp"

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

config PKG_USING_EMBARC_BSP_UPSTREAM_VERSION
bool "upstream"
config PKG_USING_EMBARC_BSP_MASTER_VERSION
bool "master"
endchoice

config PKG_EMBARC_BSP_VER
string
default "upstream" if PKG_USING_EMBARC_BSP_UPSTREAM_VERSION
default "master" if PKG_USING_EMBARC_BSP_MASTER_VERSION

endif

31 changes: 31 additions & 0 deletions peripherals/embARC_bsp/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "embARC_bsp",
"description": "embARC_bsp(Synopsys ARC Processer Board Support Package Software ) package",
"description_zh": "Synopsys ARC 处理器 板级支持包",
"enable": "PKG_USING_EMBARC_BSP",
"keywords": [
"Synopsys ARC",
"embARC_bsp"
],
"category": "peripherals",
"author": {
"name": "Watson Zeng",
"email": "[email protected]"
},
"license": "Apache-2.0",
"repository": "https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_bsp",
"site": [
{
"version": "upstream",
"URL": "https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_bsp.git",
"filename": "embarc_bsp-upstream.zip",
"VER_SHA": "upstream"
},
{
"version": "master",
"URL": "https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_bsp.git",
"filename": "embarc_bsp-master.zip",
"VER_SHA": "master"
}
]
}

0 comments on commit 0bd6dc2

Please sign in to comment.