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/hal-sdk/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ source "$PKGS_DIR/packages/peripherals/hal-sdk/nxp/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/nuvoton/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/gd32/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/hpmicro/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/fm33/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/ft32/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/novosns/Kconfig"
source "$PKGS_DIR/packages/peripherals/hal-sdk/n32/Kconfig"
Expand Down
9 changes: 9 additions & 0 deletions peripherals/hal-sdk/fm33/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
menu "FM33 Drivers"

# FM33LG0xx
source "$PKGS_DIR/packages/peripherals/hal-sdk/fm33/fm33lg0xx_fl_library/Kconfig"

# FM33LC0xx
# source "$PKGS_DIR/packages/peripherals/hal-sdk/fm33/fm33lc0xx_fl_library/Kconfig"

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


# Kconfig file for package fm33lg0xx_fl_library
menuconfig PKG_USING_FM33LG0XX_FL_LIBRARY
bool "FM33LG0xx FL Library package"
default n

if PKG_USING_FM33LG0XX_FL_LIBRARY

config PKG_FM33LG0XX_FL_LIBRARY_PATH
string
default "/packages/peripherals/hal-sdk/fm33/fm33lg0xx_fl_library"

choice
prompt "Version"
help
Select the package version

config PKG_USING_FM33LG0XX_FL_LIBRARY_V235
bool "v2.3.5"

config PKG_USING_FM33LG0XX_FL_LIBRARY_LATEST_VERSION
bool "latest"
endchoice

config PKG_FM33LG0XX_FL_LIBRARY_VER
string
default "v2.3.5" if PKG_USING_FM33LG0XX_FL_LIBRARY_V235
default "latest" if PKG_USING_FM33LG0XX_FL_LIBRARY_LATEST_VERSION

endif
34 changes: 34 additions & 0 deletions peripherals/hal-sdk/fm33/fm33lg0xx_fl_library/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "fm33lg0xx_fl_library",
"description": "FM33LG0xx FL Library package, Fudan Microelectronics official driver library v2.3.5",
"description_zh": "FM33LG0xx FL 驱动库,复旦微官方驱动库 v2.3.5",
"enable": "PKG_USING_FM33LG0XX_FL_LIBRARY",
"keywords": [
"fm33lg0xx_fl_library"
],
"category": "peripherals",
"author": {
"name": "WChengLei",
"email": "wang_chenglei@foxmail.com",
"github": "WChengLei"
},
"license": "Mulan PSL v2",
"repository": "https://github.com/WChengLei/fm33lg0xx_fl_library",
"icon": "unknown",
"homepage": "https://github.com/WChengLei/fm33lg0xx_fl_library#readme",
"doc": "unknown",
"site": [
{
"version": "v2.3.5",
"URL": "https://github.com/WChengLei/fm33lg0xx_fl_library.git",
"filename": "",
"VER_SHA": "40ff960c50b2469b7a925daf3be3ff437153e2c9"
},
{
"version": "latest",
"URL": "https://github.com/WChengLei/fm33lg0xx_fl_library.git",
"filename": "",
"VER_SHA": "master"
}
]
}