Skip to content

Commit c23a001

Browse files
WChengLeiWangChenglei
andauthored
[add] fm33lg0xx_fl_library: FM33LG0xx FL Library package (#2030)
* add fm33lg0xx_fl_library package index Add FM33LG0xx FL Library package to hal-sdk category: - peripherals/hal-sdk/fm33/fm33lg0xx_fl_library/{Kconfig, package.json} - peripherals/hal-sdk/fm33/Kconfig (vendor level menu) - register in peripherals/hal-sdk/Kconfig * fm33lg0xx_fl_library: add v2.3.5 version entry - package.json site: add v2.3.5 (VER_SHA v2.3.5), keep latest - Kconfig: add version choice for v2.3.5 * fm33lg0xx_fl_library: fix VER_SHA to full commit SHA CI (ci.py) validates VER_SHA via git ls-remote --heads (branch only) or api.github.com/.../git/commits/{sha} (full SHA only); tag name is not accepted. Use the full commit SHA of tag v2.3.5 (40ff960). --------- Co-authored-by: WangChenglei <wang_chenglei@foxmail.com>
1 parent 3de338c commit c23a001

4 files changed

Lines changed: 75 additions & 0 deletions

File tree

‎peripherals/hal-sdk/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ source "$PKGS_DIR/packages/peripherals/hal-sdk/nxp/Kconfig"
1919
source "$PKGS_DIR/packages/peripherals/hal-sdk/nuvoton/Kconfig"
2020
source "$PKGS_DIR/packages/peripherals/hal-sdk/gd32/Kconfig"
2121
source "$PKGS_DIR/packages/peripherals/hal-sdk/hpmicro/Kconfig"
22+
source "$PKGS_DIR/packages/peripherals/hal-sdk/fm33/Kconfig"
2223
source "$PKGS_DIR/packages/peripherals/hal-sdk/ft32/Kconfig"
2324
source "$PKGS_DIR/packages/peripherals/hal-sdk/novosns/Kconfig"
2425
source "$PKGS_DIR/packages/peripherals/hal-sdk/n32/Kconfig"

‎peripherals/hal-sdk/fm33/Kconfig‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
menu "FM33 Drivers"
2+
3+
# FM33LG0xx
4+
source "$PKGS_DIR/packages/peripherals/hal-sdk/fm33/fm33lg0xx_fl_library/Kconfig"
5+
6+
# FM33LC0xx
7+
# source "$PKGS_DIR/packages/peripherals/hal-sdk/fm33/fm33lc0xx_fl_library/Kconfig"
8+
9+
endmenu
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
3+
# Kconfig file for package fm33lg0xx_fl_library
4+
menuconfig PKG_USING_FM33LG0XX_FL_LIBRARY
5+
bool "FM33LG0xx FL Library package"
6+
default n
7+
8+
if PKG_USING_FM33LG0XX_FL_LIBRARY
9+
10+
config PKG_FM33LG0XX_FL_LIBRARY_PATH
11+
string
12+
default "/packages/peripherals/hal-sdk/fm33/fm33lg0xx_fl_library"
13+
14+
choice
15+
prompt "Version"
16+
help
17+
Select the package version
18+
19+
config PKG_USING_FM33LG0XX_FL_LIBRARY_V235
20+
bool "v2.3.5"
21+
22+
config PKG_USING_FM33LG0XX_FL_LIBRARY_LATEST_VERSION
23+
bool "latest"
24+
endchoice
25+
26+
config PKG_FM33LG0XX_FL_LIBRARY_VER
27+
string
28+
default "v2.3.5" if PKG_USING_FM33LG0XX_FL_LIBRARY_V235
29+
default "latest" if PKG_USING_FM33LG0XX_FL_LIBRARY_LATEST_VERSION
30+
31+
endif
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"name": "fm33lg0xx_fl_library",
3+
"description": "FM33LG0xx FL Library package, Fudan Microelectronics official driver library v2.3.5",
4+
"description_zh": "FM33LG0xx FL 驱动库,复旦微官方驱动库 v2.3.5",
5+
"enable": "PKG_USING_FM33LG0XX_FL_LIBRARY",
6+
"keywords": [
7+
"fm33lg0xx_fl_library"
8+
],
9+
"category": "peripherals",
10+
"author": {
11+
"name": "WChengLei",
12+
"email": "wang_chenglei@foxmail.com",
13+
"github": "WChengLei"
14+
},
15+
"license": "Mulan PSL v2",
16+
"repository": "https://github.com/WChengLei/fm33lg0xx_fl_library",
17+
"icon": "unknown",
18+
"homepage": "https://github.com/WChengLei/fm33lg0xx_fl_library#readme",
19+
"doc": "unknown",
20+
"site": [
21+
{
22+
"version": "v2.3.5",
23+
"URL": "https://github.com/WChengLei/fm33lg0xx_fl_library.git",
24+
"filename": "",
25+
"VER_SHA": "40ff960c50b2469b7a925daf3be3ff437153e2c9"
26+
},
27+
{
28+
"version": "latest",
29+
"URL": "https://github.com/WChengLei/fm33lg0xx_fl_library.git",
30+
"filename": "",
31+
"VER_SHA": "master"
32+
}
33+
]
34+
}

0 commit comments

Comments
 (0)