diff --git a/tools/Kconfig b/tools/Kconfig index 6a61921d0d..5f11dd57df 100644 --- a/tools/Kconfig +++ b/tools/Kconfig @@ -57,4 +57,5 @@ source "$PKGS_DIR/packages/tools/thread-metric/Kconfig" source "$PKGS_DIR/packages/tools/uORB/Kconfig" source "$PKGS_DIR/packages/tools/RT-Tunnel/Kconfig" source "$PKGS_DIR/packages/tools/Virtual-Terminal/Kconfig" +source "$PKGS_DIR/packages/tools/fee/Kconfig" endmenu diff --git a/tools/fee/Kconfig b/tools/fee/Kconfig new file mode 100644 index 0000000000..ae5920f026 --- /dev/null +++ b/tools/fee/Kconfig @@ -0,0 +1,44 @@ +# Kconfig file for package fee +menuconfig PKG_USING_FEE + bool "fee: fixed-block Flash EEPROM emulation package" + default n + +if PKG_USING_FEE + + config PKG_FEE_PATH + string + default "/packages/tools/fee" + + config FEE_MOCK_FLASH_SIZE + hex "RAM mock flash size" + default 0xA0000 + help + Size of the built-in RAM-backed mock flash used by the default + weak flash driver implementation in port/fee_port.c. + + config FEE_USING_SAMPLE + bool "Enable samples" + default n + depends on RT_USING_FINSH + help + Build the MSH-based smoke and diagnostic sample. + + choice + prompt "Version" + default PKG_USING_FEE_V0_1_0 + help + Select the package version + + config PKG_USING_FEE_V0_1_0 + bool "v0.1.0" + + config PKG_USING_FEE_LATEST_VERSION + bool "latest" + endchoice + + config PKG_FEE_VER + string + default "v0.1.0" if PKG_USING_FEE_V0_1_0 + default "latest" if PKG_USING_FEE_LATEST_VERSION + +endif diff --git a/tools/fee/package.json b/tools/fee/package.json new file mode 100644 index 0000000000..571e2aa836 --- /dev/null +++ b/tools/fee/package.json @@ -0,0 +1,38 @@ +{ + "name": "fee", + "description": "Fixed-block Flash EEPROM emulation component for RT-Thread", + "description_zh": "面向 RT-Thread 的固定逻辑块 Flash EEPROM Emulation 软件包", + "enable": "PKG_USING_FEE", + "keywords": [ + "flash", + "fee", + "eeprom emulation", + "storage", + "rt-thread" + ], + "category": "tools", + "author": { + "name": "O-O-BOOK", + "email": "127711564+O-O-BOOK@users.noreply.github.com", + "github": "O-O-BOOK" + }, + "license": "Apache-2.0", + "repository": "https://github.com/O-O-BOOK/fee", + "icon": "unknown", + "homepage": "https://github.com/O-O-BOOK/fee#readme", + "doc": "https://github.com/O-O-BOOK/fee/tree/main/docs", + "site": [ + { + "version": "v0.1.0", + "URL": "https://github.com/O-O-BOOK/fee.git", + "filename": "Null for git package", + "VER_SHA": "v0.1.0" + }, + { + "version": "latest", + "URL": "https://github.com/O-O-BOOK/fee.git", + "filename": "Null for git package", + "VER_SHA": "main" + } + ] +}