diff --git a/ai/llmchat/Kconfig b/ai/llmchat/Kconfig index c86b7fb2a6..7ee87bcff7 100644 --- a/ai/llmchat/Kconfig +++ b/ai/llmchat/Kconfig @@ -115,6 +115,15 @@ if PKG_USING_LLMCHAT bool "Enable llmchat history payload" default n + config PKG_LLMCHAT_WEBNET_MODE + bool "Enable llmchat webnet mode" + select PKG_USING_WEBNET + select WEBNET_USING_CGI + default n + help + After using the WebNet model, + you can communicate with the llm using a browser webpage. + config PKG_LLMCHAT_DBG bool "Enable llmchat debug" default n diff --git a/iot/RyanMqtt/Kconfig b/iot/RyanMqtt/Kconfig index cd424b06b1..5c434cd4ba 100644 --- a/iot/RyanMqtt/Kconfig +++ b/iot/RyanMqtt/Kconfig @@ -35,6 +35,9 @@ if PKG_USING_RYANMQTT config PKG_USING_RYANMQTT_V120 bool "v1.2.0" + config PKG_USING_RYANMQTT_V121 + bool "v1.2.1" + config PKG_USING_RYANMQTT_LATEST_VERSION bool "latest" endchoice @@ -45,6 +48,7 @@ if PKG_USING_RYANMQTT default "v1.0.0" if PKG_USING_RYANMQTT_V100 default "v1.1.0" if PKG_USING_RYANMQTT_V110 default "v1.2.0" if PKG_USING_RYANMQTT_V120 + default "v1.2.1" if PKG_USING_RYANMQTT_V121 default "latest" if PKG_USING_RYANMQTT_LATEST_VERSION config PKG_RYANMQTT_VER_NUM @@ -53,6 +57,7 @@ if PKG_USING_RYANMQTT default 0x100 if PKG_USING_RYANMQTT_V100 default 0x110 if PKG_USING_RYANMQTT_V110 default 0x120 if PKG_USING_RYANMQTT_V120 + default 0x121 if PKG_USING_RYANMQTT_V121 default 0xfff if PKG_USING_RYANMQTT_LATEST_VERSION endif diff --git a/iot/RyanMqtt/package.json b/iot/RyanMqtt/package.json index bf8b69b526..27afc3cebb 100644 --- a/iot/RyanMqtt/package.json +++ b/iot/RyanMqtt/package.json @@ -39,6 +39,11 @@ "URL": "https://github.com/Ryan-CW-Code/RyanMqtt/archive/refs/tags/v1.2.0.zip", "filename": "v1.2.0.zip" }, + { + "version": "v1.2.1", + "URL": "https://github.com/Ryan-CW-Code/RyanMqtt/archive/refs/tags/v1.2.1.zip", + "filename": "v1.2.1.zip" + }, { "version": "latest", "URL": "https://github.com/Ryan-CW-Code/RyanMqtt.git", diff --git a/peripherals/hal-sdk/Kconfig b/peripherals/hal-sdk/Kconfig index dafc25a7c0..d4648533d4 100644 --- a/peripherals/hal-sdk/Kconfig +++ b/peripherals/hal-sdk/Kconfig @@ -9,6 +9,7 @@ source "$PKGS_DIR/packages/peripherals/hal-sdk/kendryte-sdk/Kconfig" source "$PKGS_DIR/packages/peripherals/hal-sdk/nrf5x_sdk/Kconfig" source "$PKGS_DIR/packages/peripherals/hal-sdk/nrfx/Kconfig" source "$PKGS_DIR/packages/peripherals/hal-sdk/nuclei_sdk/Kconfig" +source "$PKGS_DIR/packages/peripherals/hal-sdk/raspberrypi-pico-rp2350-sdk/Kconfig" source "$PKGS_DIR/packages/peripherals/hal-sdk/raspberrypi-pico-sdk/Kconfig" source "$PKGS_DIR/packages/peripherals/mm32/Kconfig" source "$PKGS_DIR/packages/peripherals/hal-sdk/wch/Kconfig" @@ -17,4 +18,5 @@ source "$PKGS_DIR/packages/peripherals/hal-sdk/hc32/Kconfig" 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" endmenu diff --git a/peripherals/hal-sdk/hpmicro/Kconfig b/peripherals/hal-sdk/hpmicro/Kconfig new file mode 100644 index 0000000000..28f6b0a6de --- /dev/null +++ b/peripherals/hal-sdk/hpmicro/Kconfig @@ -0,0 +1,5 @@ +menu "HPMicro SDK" + +source "$PKGS_DIR/packages/peripherals/hal-sdk/hpmicro/hpm_sdk/Kconfig" + +endmenu diff --git a/peripherals/hal-sdk/hpmicro/hpm_sdk/Kconfig b/peripherals/hal-sdk/hpmicro/hpm_sdk/Kconfig new file mode 100644 index 0000000000..6f447f8b78 --- /dev/null +++ b/peripherals/hal-sdk/hpmicro/hpm_sdk/Kconfig @@ -0,0 +1,31 @@ + +# Kconfig file for package hpm_sdk +menuconfig PKG_USING_HPM_SDK + bool "HPM_SDK" + default n + +if PKG_USING_HPM_SDK + + config PKG_HPM_SDK_PATH + string + default "/packages/peripherals/hal-sdk/hpmicro/hpm_sdk" + + choice + prompt "Version" + help + Select the package version + + config PKG_USING_HPM_SDK_V110 + bool "v1.10.0" + + config PKG_USING_HPM_SDK_LATEST_VERSION + bool "latest" + endchoice + + config PKG_HPM_SDK_VER + string + default "v1.10.0" if PKG_USING_HPM_SDK_V110 + default "latest" if PKG_USING_HPM_SDK_LATEST_VERSION + +endif + diff --git a/peripherals/hal-sdk/hpmicro/hpm_sdk/package.json b/peripherals/hal-sdk/hpmicro/hpm_sdk/package.json new file mode 100644 index 0000000000..131edfdc21 --- /dev/null +++ b/peripherals/hal-sdk/hpmicro/hpm_sdk/package.json @@ -0,0 +1,33 @@ +{ + "name": "hpm_sdk", + "description": "hpm_sdk for rt-thread", + "description_zh": "hpm_sdk for rt-thread", + "enable": "PKG_USING_HPM_SDK", + "keywords": [ + "hpm_sdk" + ], + "category": "peripherals", + "author": { + "name": "hpmicro", + "email": "oss@hpmicro.com", + "github": "hpmicro" + }, + "license": "BSD-3-Clause", + "repository": "https://github.com/hpmicro/rtt-pkg-hpm-sdk", + "icon": "unknown", + "homepage": "https://github.com/hpmicro/rtt-pkg-hpm-sdk#readme", + "doc": "unknown", + "site": [ + { + "version": "v1.10.0", + "URL": "https://github.com/hpmicro/rtt-pkg-hpm-sdk/archive/refs/tags/v1.10.0.zip", + "filename": "hpm_sdk-for-rtt-v1.10.0.zip" + }, + { + "version": "latest", + "URL": "https://github.com/hpmicro/rtt-pkg-hpm-sdk.git", + "filename": "", + "VER_SHA": "main" + } + ] +} diff --git a/peripherals/hal-sdk/raspberrypi-pico-rp2350-sdk/Kconfig b/peripherals/hal-sdk/raspberrypi-pico-rp2350-sdk/Kconfig new file mode 100644 index 0000000000..cd5104739a --- /dev/null +++ b/peripherals/hal-sdk/raspberrypi-pico-rp2350-sdk/Kconfig @@ -0,0 +1,28 @@ + +# Kconfig file for package raspberrypi rp2350 +menuconfig PKG_USING_RASPBERRYPI_PICO_RP2350_SDK + bool "Raspberry Pi Pico RP2350 SDK" + default n + +if PKG_USING_RASPBERRYPI_PICO_RP2350_SDK + + config PKG_RASPBERRYPI_PICO_RP2350_SDK_PATH + string + default "/packages/peripherals/hal-sdk/raspberrypi-pico-rp2350-sdk" + + choice + prompt "Version" + default PKG_USING_RASPBERRYPI_PICO_RP2350_SDK_LATEST_VERSION + help + Select the package version + + config PKG_USING_RASPBERRYPI_PICO_RP2350_SDK_LATEST_VERSION + bool "latest" + endchoice + + config PKG_RASPBERRYPI_PICO_RP2350_SDK_VER + string + default "latest" if PKG_USING_RASPBERRYPI_PICO_RP2350_SDK_LATEST_VERSION + +endif + diff --git a/peripherals/hal-sdk/raspberrypi-pico-rp2350-sdk/package.json b/peripherals/hal-sdk/raspberrypi-pico-rp2350-sdk/package.json new file mode 100644 index 0000000000..7723c9c146 --- /dev/null +++ b/peripherals/hal-sdk/raspberrypi-pico-rp2350-sdk/package.json @@ -0,0 +1,30 @@ +{ + "name": "raspberrypi-pico-rp2350-sdk", + "description": "Raspberry Pi Pico RP2350 SDK", + "description_zh": "Raspberry Pi Pico RP2350 SDK", + "enable": "PKG_USING_RASPBERRYPI_PICO_RP2350_SDK", + "keywords": [ + "raspberrypi", + "rp2350", + "sdk" + ], + "category": "peripherals", + "author": { + "name": "RT-Thread-packages", + "email": "package_team@rt-thread.com", + "github": "RT-Thread-packages" + }, + "license": "BSD-3-Clause", + "repository": "https://github.com/RT-Thread-packages/raspberrypi-pico-rp2350-sdk", + "icon": "unknown", + "homepage": "https://github.com/RT-Thread-packages/raspberrypi-pico-rp2350-sdk#readme", + "doc": "unknown", + "site": [ + { + "version": "latest", + "URL": "https://github.com/RT-Thread-packages/raspberrypi-pico-rp2350-sdk.git", + "filename": "", + "VER_SHA": "master" + } + ] +} diff --git a/peripherals/sensors/Kconfig b/peripherals/sensors/Kconfig index 45229b6b89..9e8daec6a6 100755 --- a/peripherals/sensors/Kconfig +++ b/peripherals/sensors/Kconfig @@ -43,6 +43,7 @@ source "$PKGS_DIR/packages/peripherals/sensors/mlx90382/Kconfig" source "$PKGS_DIR/packages/peripherals/sensors/mlx90393/Kconfig" source "$PKGS_DIR/packages/peripherals/sensors/mlx90392/Kconfig" source "$PKGS_DIR/packages/peripherals/sensors/mlx90394/Kconfig" +source "$PKGS_DIR/packages/peripherals/sensors/mlx90396/Kconfig" source "$PKGS_DIR/packages/peripherals/sensors/mlx90397/Kconfig" source "$PKGS_DIR/packages/peripherals/sensors/ms5611/Kconfig" source "$PKGS_DIR/packages/peripherals/sensors/max31865/Kconfig" diff --git a/peripherals/sensors/mlx90396/Kconfig b/peripherals/sensors/mlx90396/Kconfig new file mode 100644 index 0000000000..737399a185 --- /dev/null +++ b/peripherals/sensors/mlx90396/Kconfig @@ -0,0 +1,41 @@ + +# Kconfig file for package mlx90396 +menuconfig PKG_USING_MLX90396 + bool "MLX90396: 3D magnetometer sensor" + default n + +if PKG_USING_MLX90396 + + config PKG_MLX90396_PATH + string + default "/packages/peripherals/sensors/mlx90396" + + config PKG_MLX90396_USING_SENSOR_V1 + bool "Enable sensor_v1 device framework" + select RT_USING_SENSOR + default n + + config PKG_USING_MLX90396_SAMPLE + bool "Enable MLX90396 Sample" + default n + + choice + prompt "Version" + default PKG_USING_MLX90396_LATEST_VERSION + help + Select the package version + + config PKG_USING_MLX90396_V100 + bool "v1.0.0" + + config PKG_USING_MLX90396_LATEST_VERSION + bool "latest" + endchoice + + config PKG_MLX90396_VER + string + default "v1.0.0" if PKG_USING_MLX90396_V100 + default "latest" if PKG_USING_MLX90396_LATEST_VERSION + +endif + diff --git a/peripherals/sensors/mlx90396/package.json b/peripherals/sensors/mlx90396/package.json new file mode 100644 index 0000000000..f78de6386a --- /dev/null +++ b/peripherals/sensors/mlx90396/package.json @@ -0,0 +1,28 @@ +{ + "name": "mlx90396", + "description": "The MLX90396 is a magnetometer sensor from Melexis", + "description_zh": "MLX90396 是来自迈来芯公司的一颗3D磁力计", + "enable": "PKG_USING_MLX90396", + "keywords": [ + "mlx90396" + ], + "category": "peripherals/sensors", + "author": { + "name": "lgnq", + "email": "dzzxzz@gmail.com", + "github": "lgnq" + }, + "license": "Apache-2.0", + "repository": "https://github.com/lgnq/mlx90396", + "icon": "unknown", + "homepage": "https://github.com/lgnq/mlx90396`", + "doc": "unknown", + "site": [ + { + "version": "latest", + "URL": "https://github.com/lgnq/mlx90396.git", + "filename": "mlx90396.zip", + "VER_SHA": "main" + } + ] +} diff --git a/system/CherryECAT/Kconfig b/system/CherryECAT/Kconfig new file mode 100644 index 0000000000..c65fbd2c33 --- /dev/null +++ b/system/CherryECAT/Kconfig @@ -0,0 +1,36 @@ +# Kconfig file for package CherryECAT +menuconfig PKG_USING_CHERRYECAT + bool "CherryECAT: a tiny and beautiful, high real-time and low-jitter EtherCAT master stack, specially designed for MCUs running with RTOS" + default n + +if PKG_USING_CHERRYECAT + + choice + prompt "select net device driver" + default PKG_CHERRYECAT_NETDEV_CUSTOM + config PKG_CHERRYECAT_NETDEV_CUSTOM + bool "CUSTOM (Implement it yourself)" + config PKG_CHERRYECAT_NETDEV_HPMICRO + bool "hpmicro" + config PKG_CHERRYECAT_NETDEV_RENESAS + bool "renesas" + endchoice + + config PKG_CHERRYECAT_PATH + string + default "/packages/system/CherryECAT" + + choice + prompt "Version" + default PKG_USING_CHERRYECAT_LATEST_VERSION + help + Select the package version + + config PKG_USING_CHERRYECAT_LATEST_VERSION + bool "latest" + endchoice + + config PKG_CHERRYECAT_VER + string + default "latest" if PKG_USING_CHERRYECAT_LATEST_VERSION +endif diff --git a/system/CherryECAT/package.json b/system/CherryECAT/package.json new file mode 100644 index 0000000000..4c743b783a --- /dev/null +++ b/system/CherryECAT/package.json @@ -0,0 +1,29 @@ +{ + "name": "CherryECAT", + "description": "Tiny and beautiful, high real-time and low-jitter EtherCAT master stack, specially designed for MCUs running with RTOS", + "description_zh": "小而美的、高实时性、低抖动的 EtherCAT 主机协议栈,专为跑在 RTOS 下的 MCU 设计", + "enable": "PKG_USING_CHERRYECAT", + "keywords": [ + "CherryECAT", + "EtherCAT" + ], + "category": "system", + "author": { + "name": "sakumisu", + "email": "1203593632@qq.com", + "github": "sakumisu" + }, + "license": "Apache-2.0", + "repository": "https://github.com/cherry-embedded/CherryECAT", + "icon": "unknown", + "homepage": "https://github.com/cherry-embedded/CherryECAT#readme", + "doc": "unknown", + "site": [ + { + "version": "latest", + "URL": "https://github.com/cherry-embedded/CherryECAT.git", + "filename": "Null for git package", + "VER_SHA": "master" + } + ] +} diff --git a/system/CherryUSB/Kconfig b/system/CherryUSB/Kconfig index 7f7862ba47..e5a0e430a5 100644 --- a/system/CherryUSB/Kconfig +++ b/system/CherryUSB/Kconfig @@ -465,12 +465,14 @@ if PKG_USING_CHERRYUSB choice prompt "Version" - default PKG_USING_CHERRYUSB_V010500 + default PKG_USING_CHERRYUSB_V010502 help Select the package version config PKG_USING_CHERRYUSB_LATEST_VERSION bool "latest" + config PKG_USING_CHERRYUSB_V010502 + bool "v1.5.2" config PKG_USING_CHERRYUSB_V010501 bool "v1.5.1" config PKG_USING_CHERRYUSB_V010500 @@ -488,6 +490,7 @@ if PKG_USING_CHERRYUSB config PKG_CHERRYUSB_VER string default "latest" if PKG_USING_CHERRYUSB_LATEST_VERSION + default "v1.5.2" if PKG_USING_CHERRYUSB_V010502 default "v1.5.1" if PKG_USING_CHERRYUSB_V010501 default "v1.5.0" if PKG_USING_CHERRYUSB_V010500 default "v1.4.3" if PKG_USING_CHERRYUSB_V010403 diff --git a/system/CherryUSB/package.json b/system/CherryUSB/package.json index d5a99d00f3..40ece7e15a 100644 --- a/system/CherryUSB/package.json +++ b/system/CherryUSB/package.json @@ -25,6 +25,11 @@ "filename": "Null for git package", "VER_SHA": "master" }, + { + "version": "v1.5.2", + "URL": "https://github.com/cherry-embedded/CherryUSB/archive/refs/tags/v1.5.2.zip", + "filename": "CherryUSB-1.5.2.zip" + }, { "version": "v1.5.1", "URL": "https://github.com/cherry-embedded/CherryUSB/archive/refs/tags/v1.5.1.zip", diff --git a/system/Kconfig b/system/Kconfig index c427a63954..37fa913e31 100644 --- a/system/Kconfig +++ b/system/Kconfig @@ -57,4 +57,5 @@ source "$PKGS_DIR/packages/system/rmp/Kconfig" source "$PKGS_DIR/packages/system/r-rhealstone/Kconfig" source "$PKGS_DIR/packages/system/heartbeat/Kconfig" source "$PKGS_DIR/packages/system/micro_ros_local/Kconfig" +source "$PKGS_DIR/packages/system/CherryECAT/Kconfig" endmenu diff --git a/system/littlefs/Kconfig b/system/littlefs/Kconfig index 1d93a9e581..586a3cc1b7 100644 --- a/system/littlefs/Kconfig +++ b/system/littlefs/Kconfig @@ -48,6 +48,12 @@ if PKG_USING_LITTLEFS config PKG_USING_LITTLEFS_V250 bool "v2.5.0" + config PKG_USING_LITTLEFS_V293 + bool "v2.9.3" + + config PKG_USING_LITTLEFS_V2112 + bool "v2.11.2" + config PKG_USING_LITTLEFS_LATEST_VERSION bool "latest" endchoice @@ -119,6 +125,8 @@ if PKG_USING_LITTLEFS default "v2.2.1" if PKG_USING_LITTLEFS_V221 default "v2.3.0" if PKG_USING_LITTLEFS_V230 default "v2.5.0" if PKG_USING_LITTLEFS_V250 + default "v2.9.3" if PKG_USING_LITTLEFS_V293 + default "v2.11.2" if PKG_USING_LITTLEFS_V2112 default "latest" if PKG_USING_LITTLEFS_LATEST_VERSION endif diff --git a/system/littlefs/package.json b/system/littlefs/package.json index 5926c2491f..88623d747f 100644 --- a/system/littlefs/package.json +++ b/system/littlefs/package.json @@ -100,6 +100,18 @@ "filename": "v2.5.0_for_rtthread.zip", "VER_SHA": "" }, + { + "version": "v2.9.3", + "URL": "https://github.com/RT-Thread-packages/littlefs/archive/refs/tags/v2.9.3.zip", + "filename": "v2.9.3.zip", + "VER_SHA": "" + }, + { + "version": "v2.11.2", + "URL": "https://github.com/RT-Thread-packages/littlefs/archive/refs/tags/v2.11.2.zip", + "filename": "v2.11.2.zip", + "VER_SHA": "" + }, { "version": "latest", "URL": "https://github.com/RT-Thread-packages/littlefs.git", diff --git a/system/qboot/Kconfig b/system/qboot/Kconfig index 779c98e25b..daf9131bfa 100644 --- a/system/qboot/Kconfig +++ b/system/qboot/Kconfig @@ -67,9 +67,59 @@ if PKG_USING_QBOOT select PKG_USING_FASTLZ default n + config QBOOT_USING_HPATCHLITE + bool "using hpatch-lite decompress" + select PKG_USING_HPATCHLITE + default n + + if QBOOT_USING_HPATCHLITE + choice + prompt "HPatchLite In-Place Update Strategy" + default QBOOT_HPATCH_USE_FLASH_SWAP + help + Select the buffer strategy for in-place firmware updates. + - FLASH SWAP: Uses a dedicated flash partition as a buffer. Slower but saves RAM. + - RAM BUFFER: Uses RAM as a buffer. Faster but consumes significant RAM. + + config QBOOT_HPATCH_USE_FLASH_SWAP + bool "Use a FLASH partition as swap buffer" + + config QBOOT_HPATCH_USE_RAM_BUFFER + bool "Use a RAM buffer (Faster, consumes RAM)" + endchoice + + if QBOOT_HPATCH_USE_FLASH_SWAP + config QBOOT_HPATCH_SWAP_PART_NAME + string "Swap partition name for HPatchLite" + default "swap" + + config QBOOT_HPATCH_SWAP_OFFSET + int "Offset within the swap partition to use as a buffer" + default 0 + help + Specify the starting offset within the swap partition. + This allows only a portion of the swap partition to be used as a buffer. + Note that it is defined according to the sector erase granularity. + + config QBOOT_HPATCH_COPY_BUFFER_SIZE + int "RAM buffer size for flash-to-flash copy operations" + default 4096 + help + Size of the temporary RAM buffer used for copying data between flash partitions. + A larger size may improve copy speed but consumes more RAM. + endif + + if QBOOT_HPATCH_USE_RAM_BUFFER + config QBOOT_HPATCH_RAM_BUFFER_SIZE + int "RAM buffer size for HPatchLite (must be >= sector size)" + default 4096 + endif + endif + config QBOOT_USING_SHELL bool "using shell command of qboot" default y + select RT_USING_MSH if QBOOT_USING_SHELL config QBOOT_SHELL_KEY_CHK_TMO @@ -198,4 +248,3 @@ if PKG_USING_QBOOT default "v1.00" if PKG_USING_QBOOT_V100 endif - diff --git a/system/rti/Kconfig b/system/rti/Kconfig index c6b1896f7d..dd0ee8ed2f 100644 --- a/system/rti/Kconfig +++ b/system/rti/Kconfig @@ -1,5 +1,3 @@ - -# Kconfig file for package rti menuconfig PKG_USING_RTI bool "RT-Thread Insight: probe tool for RT-Thread" select RT_USING_HOOK @@ -12,6 +10,7 @@ if PKG_USING_RTI string default "/packages/system/rti" + # 版本选择 choice prompt "Version" help @@ -20,6 +19,9 @@ if PKG_USING_RTI config PKG_USING_RTI_V100 bool "v1.0.0" + config PKG_USING_RTI_V200 + bool "v2.0.0" + config PKG_USING_RTI_LATEST_VERSION bool "latest" endchoice @@ -27,42 +29,60 @@ if PKG_USING_RTI config PKG_RTI_VER string default "v1.0.0" if PKG_USING_RTI_V100 + default "v2.0.0" if PKG_USING_RTI_V200 default "latest" if PKG_USING_RTI_LATEST_VERSION - config PKG_RTI_APP_NAME - string "App name" - default "RT-Thread RTI" - - config PKG_RTI_BUFFER_SIZE - int "RTI buffer size" - default 4096 - - config PKG_RTI_RAM_BASE - hex "RAM base" - default 0x20000000 - ---help--- - The lowest RAM address used for IDs (pointers) - - config PKG_RTI_ID_SHIFT - int "Event ID offset" - default 2 - - config PKG_RTI_SYS_DESC0 - string "System description 0" - default "I#15=systick" - ---help--- - format is "I#%num%=%name%, ..." number is IRQ number, name is IRQ name - - config PKG_RTI_SYS_DESC1 - string "System description 1" - default "" - ---help--- - format is "I#%num%=%name%, ..." number is IRQ number, name is IRQ name - - config PKG_USING_RTI_UART_SAMPLE - bool "Using UART Sample" - default n - ---help--- - Use serial port to transmit data to SystemView. - -endif + # ---------------------------- + # v2版本仅显示CPU频率配置 + # ---------------------------- + config BOARD_SYSTICK_FREQ_IN_HZ + int "CPU frequency (Hz)" + default 168000000 + depends on PKG_USING_RTI_V200 || PKG_USING_RTI_LATEST_VERSION # 仅v2和latest版本可见 + help + Required for v2.0.0+ version: CPU clock frequency, used for timestamp calculation. + + # ---------------------------- + # v1版本显示原有其他配置 + # ---------------------------- + if PKG_USING_RTI_V100 # 仅v1.0.0版本可见 + + config PKG_RTI_APP_NAME + string "App name" + default "RT-Thread RTI" + + config PKG_RTI_BUFFER_SIZE + int "RTI buffer size" + default 4096 + + config PKG_RTI_RAM_BASE + hex "RAM base" + default 0x20000000 + ---help--- + The lowest RAM address used for IDs (pointers) + + config PKG_RTI_ID_SHIFT + int "Event ID offset" + default 2 + + config PKG_RTI_SYS_DESC0 + string "System description 0" + default "I#15=systick" + ---help--- + format is "I#%num%=%name%, ..." number is IRQ number, name is IRQ name + + config PKG_RTI_SYS_DESC1 + string "System description 1" + default "" + ---help--- + format is "I#%num%=%name%, ..." number is IRQ number, name is IRQ name + + config PKG_USING_RTI_UART_SAMPLE + bool "Using UART Sample" + default n + ---help--- + Use serial port to transmit data to SystemView. + + endif + +endif \ No newline at end of file diff --git a/system/rti/package.json b/system/rti/package.json index 6ea5a706cf..78b2c87969 100644 --- a/system/rti/package.json +++ b/system/rti/package.json @@ -9,6 +9,7 @@ }, "enable": "PKG_USING_RTI", "keywords": [ + "insight", "rti", "system" ], @@ -21,9 +22,13 @@ "site": [ { "version": "v1.0.0", - "URL": "https://github.com/RT-Thread-packages/rti.git", - "filename": "rti-1.0.0.zip", - "VER_SHA": "8621858c735086879dc445c9baf9ad34763e301d" + "URL": "https://github.com/RT-Thread-packages/rti/archive/refs/tags/1.0.0.zip", + "filename": "rti-1.0.0.zip" + }, + { + "version": "v2.0.0", + "URL": "https://github.com/RT-Thread-packages/rti/archive/refs/tags/2.0.0.zip", + "filename": "rti-2.0.0.zip" }, { "version": "latest", diff --git a/tools/Kconfig b/tools/Kconfig index 8800f09888..e58a437150 100644 --- a/tools/Kconfig +++ b/tools/Kconfig @@ -1,6 +1,7 @@ menu "tools packages" source "$PKGS_DIR/packages/tools/CmBacktrace/Kconfig" +source "$PKGS_DIR/packages/tools/MCoreDump/Kconfig" source "$PKGS_DIR/packages/tools/EasyFlash/Kconfig" source "$PKGS_DIR/packages/tools/EasyLogger/Kconfig" source "$PKGS_DIR/packages/tools/SystemView/Kconfig" @@ -50,4 +51,7 @@ source "$PKGS_DIR/packages/tools/zdebug/Kconfig" source "$PKGS_DIR/packages/tools/RVBacktrace/Kconfig" source "$PKGS_DIR/packages/tools/hpatchlite-wrapper/Kconfig" 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" endmenu diff --git a/tools/MCoreDump/Kconfig b/tools/MCoreDump/Kconfig new file mode 100644 index 0000000000..fb8aa2ebab --- /dev/null +++ b/tools/MCoreDump/Kconfig @@ -0,0 +1,85 @@ + +menuconfig PKG_USING_MCOREDUMP + bool "MCoreDump: Advanced fault backtrace library for ARM Cortex-M series MCU." + default n + +if PKG_USING_MCOREDUMP + + if PKG_USING_MCOREDUMP + + choice + prompt "Select the arch" + default PKG_USING_MCOREDUMP_ARCH_ARMV7M + help + Select the arch + + config PKG_USING_MCOREDUMP_ARCH_ARMV7M + bool "armv7m" + + config PKG_USING_MCOREDUMP_ARCH_ARMV8M + bool "armv8m" + endchoice + + config PKG_USING_MCOREDUMP_EXAMPLE + bool "Using coredump example" + default y + help + Enable MCoreDump example code + + config PKG_MCOREDUMP_MEMORY_SIZE + int "Coredump memory buffer size (bytes)" + default 8192 + range 1024 65536 + help + Size of the static memory buffer for coredump storage. + This buffer is placed in .noinit section and persists across resets. + Minimum: 1KB, Default: 8KB + + config PKG_USING_MCOREDUMP_FILESYSTEM + bool "Using filesystem for coredump storage" + default n + depends on RT_USING_DFS + help + Enable filesystem support for saving coredumps to files. + Requires DFS (Device File System) to be enabled. + If not enabled, filesystem-related functions will be disabled. + + if PKG_USING_MCOREDUMP_FILESYSTEM + + config PKG_MCOREDUMP_FILESYSTEM_DIR + string "Coredump directory path" + default "/sdcard" + help + Directory path where coredump files will be saved. + + config PKG_MCOREDUMP_FILESYSTEM_PREFIX + string "Coredump file prefix" + default "core_" + help + Prefix for coredump filenames. + endif + endif + + config PKG_MCOREDUMP_PATH + string + default "/packages/tools/MCoreDump" + + choice + prompt "Version" + default PKG_USING_MCOREDUMP_LATEST_VERSION + help + Select the this package version + + config PKG_USING_MCOREDUMP_LATEST_VERSION + bool "latest" + endchoice + + config PKG_MCOREDUMP_VER + string + default "latest" if PKG_USING_MCOREDUMP_LATEST_VERSION + + config PKG_MCOREDUMP_VER_NUM + hex + default 0x99999 if PKG_USING_MCOREDUMP_LATEST_VERSION + +endif diff --git a/tools/MCoreDump/package.json b/tools/MCoreDump/package.json new file mode 100644 index 0000000000..635c7267c8 --- /dev/null +++ b/tools/MCoreDump/package.json @@ -0,0 +1,34 @@ +{ + "name": "MCoreDump", + "description": "MCoreDump (mini-coredump) is a fault dump (CoreDump) component designed specifically for embedded systems. It automatically generates standard ELF format core dump files when the system encounters a hard fault, assertion failure, or other abnormal conditions, which can be used for offline debugging and fault analysis.", + "description_zh": "MCoreDump(mini-coredump) 是专为嵌入式系统设计的故障转储(CoreDump)组件,能够在系统发生硬故障(Hard Fault)、断言失败或其他异常情况时,自动生成标准 ELF 格式的核心转储文件,用于离线调试和故障分析。", + "enable": "PKG_USING_MCOREDUMP", + "keywords": [ + "ARM", + "Cortex-M", + "Cortex", + "coredump", + "backtrace", + "callstack", + "hardfault" + ], + "category": "tools", + "author": { + "name": "Rbb666", + "email": "751061401@qq.com", + "github": "Rbb666" + }, + "license": "Apache-2.0", + "repository": "https://github.com/Rbb666/MCoreDump", + "homepage": "https://github.com/Rbb666/MCoreDump#readme", + "doc": "https://github.com/Rbb666/MCoreDump/blob/master/README.md", + "readme": "MCoreDump (mini-coredump) is a fault dump (CoreDump) component designed specifically for embedded systems. It automatically generates standard ELF format core dump files when the system encounters a hard fault, assertion failure, or other abnormal conditions, which can be used for offline debugging and fault analysis.", + "site": [ + { + "version": "latest", + "URL": "https://github.com/Rbb666/MCoreDump.git", + "filename": "MCoreDump.zip", + "VER_SHA": "master" + } + ] +} diff --git a/tools/RT-Tunnel/Kconfig b/tools/RT-Tunnel/Kconfig new file mode 100644 index 0000000000..ff4e987bad --- /dev/null +++ b/tools/RT-Tunnel/Kconfig @@ -0,0 +1,41 @@ + +# Kconfig file for package RT-Tunnel +menuconfig PKG_USING_RT_TUNNEL + bool "RT-Tunnel: Auxiliary communication with RT-Trace tool and the target." + default n + +if PKG_USING_RT_TUNNEL + + config PKG_RT_TUNNEL_PATH + string + default "/packages/tools/RT-Tunnel" + + config TUNNEL_NUM + int "Tunnel number" + default 3 + + config TUNNEL_BUFFER_SIZE + int "Tunnel buffer size (bytes)" + default 8192 + help + Configure the buffer size for each tunnel. + + choice + prompt "Version" + help + Select the package version + + config PKG_USING_RT_TUNNEL_V100 + bool "v1.0.0" + + config PKG_USING_RT_TUNNEL_LATEST_VERSION + bool "latest" + endchoice + + config PKG_RT_TUNNEL_VER + string + default "v1.0.0" if PKG_USING_RT_TUNNEL_V100 + default "latest" if PKG_USING_RT_TUNNEL_LATEST_VERSION + +endif + diff --git a/tools/RT-Tunnel/package.json b/tools/RT-Tunnel/package.json new file mode 100644 index 0000000000..d9b49aef3e --- /dev/null +++ b/tools/RT-Tunnel/package.json @@ -0,0 +1,33 @@ +{ + "name": "RT-Tunnel", + "description": "RT-Tunnel: Auxiliary communication with RT-Trace tool and the target", + "description_zh": "RT-Tunnel: 辅助RT-Trace工具和目标板通信", + "enable": "PKG_USING_RT_TUNNEL", + "keywords": [ + "RT-Tunnel" + ], + "category": "tools", + "author": { + "name": "RealThread", + "email": "package_team@rt-thread.com", + "github": "RealThread" + }, + "license": "Apache-2.0", + "repository": "https://github.com/RT-Thread-packages/RT-Tunnel.git", + "icon": "unknown", + "homepage": "https://github.com/RT-Thread-packages/RT-Tunnel.git#readme", + "doc": "unknown", + "site": [ + { + "version": "v1.0.0", + "URL": "https://github.com/RT-Thread-packages/RT-Tunnel/archive/refs/tags/1.0.0.zip", + "filename": "RT-Tunnel-1.0.0.zip" + }, + { + "version": "latest", + "URL": "https://github.com/RT-Thread-packages/RT-Tunnel.git", + "filename": "RT-Tunnel-latest.zip", + "VER_SHA": "master" + } + ] +} diff --git a/tools/Virtual-Terminal/Kconfig b/tools/Virtual-Terminal/Kconfig new file mode 100644 index 0000000000..42027d085a --- /dev/null +++ b/tools/Virtual-Terminal/Kconfig @@ -0,0 +1,31 @@ + +# Kconfig file for package Virtual-Terminal +menuconfig PKG_USING_VIRTUAL_TERMINAL + bool "Virtual-Terminal: High-speed virtual terminal" + default n + +if PKG_USING_VIRTUAL_TERMINAL + + config PKG_VIRTUAL_TERMINAL_PATH + string + default "/packages/tools/Virtual-Terminal" + + choice + prompt "Version" + help + Select the package version + + config PKG_USING_VIRTUAL_TERMINAL_V100 + bool "v1.0.0" + + config PKG_USING_VIRTUAL_TERMINAL_LATEST_VERSION + bool "latest" + endchoice + + config PKG_VIRTUAL_TERMINAL_VER + string + default "v1.0.0" if PKG_USING_VIRTUAL_TERMINAL_V100 + default "latest" if PKG_USING_VIRTUAL_TERMINAL_LATEST_VERSION + +endif + diff --git a/tools/Virtual-Terminal/package.json b/tools/Virtual-Terminal/package.json new file mode 100644 index 0000000000..a87e756056 --- /dev/null +++ b/tools/Virtual-Terminal/package.json @@ -0,0 +1,33 @@ +{ + "name": "Virtual-Terminal", + "description": "Virtual-Terminal: High-speed virtual terminal", + "description_zh": "Virtual-Terminal: 高速虚拟终端", + "enable": "PKG_USING_VIRTUAL_TERMINAL", + "keywords": [ + "Virtual-Terminal" + ], + "category": "tools", + "author": { + "name": "RealThread", + "email": "package_team@rt-thread.com", + "github": "RealThread" + }, + "license": "Apache-2.0", + "repository": "https://github.com/RT-Thread-packages/Virtual-Terminal.git", + "icon": "unknown", + "homepage": "https://github.com/RT-Thread-packages/Virtual-Terminal.git#readme", + "doc": "unknown", + "site": [ + { + "version": "v1.0.0", + "URL": "https://github.com/RT-Thread-packages/Virtual-Terminal/archive/refs/tags/1.0.0.zip", + "filename": "Virtual-Terminal-1.0.0.zip" + }, + { + "version": "latest", + "URL": "https://github.com/RT-Thread-packages/Virtual-Terminal.git", + "filename": "Virtual-Terminal-latest.zip", + "VER_SHA": "master" + } + ] +} diff --git a/tools/hpatchlite-wrapper/Kconfig b/tools/hpatchlite-wrapper/Kconfig index da25bf0837..59fc117e3f 100644 --- a/tools/hpatchlite-wrapper/Kconfig +++ b/tools/hpatchlite-wrapper/Kconfig @@ -1,7 +1,7 @@ - menuconfig PKG_USING_HPATCHLITE bool "hpatchlite-wrapper: A lightweight and user-friendly wrapper for the HPatchLite." default n + select RT_USING_HEAP if PKG_USING_HPATCHLITE @@ -9,6 +9,22 @@ if PKG_USING_HPATCHLITE string default "/packages/tools/hpatchlite-wrapper" + menu "Decompressor Options" + + config PKG_HPATCHLITE_DECOMPRESSER_TUZ + bool "Enable tinyuz (tuz) decompressor support" + default n # By default, enable the smallest decompressor + help + Select this to include support for the tinyuz (.tuz) compressed patch format. + This is a lightweight decompressor, ideal for resource-constrained devices. + + # You can add other decompressors here in the future + # config PKG_HPATCHLITE_DECOMPRESSER_ZLIB + # bool "Enable zlib decompressor support" + # default n + + endmenu + choice prompt "Version" default PKG_USING_HPATCHLITE_LATEST_VERSION diff --git a/tools/uORB/Kconfig b/tools/uORB/Kconfig new file mode 100644 index 0000000000..c3b90de969 --- /dev/null +++ b/tools/uORB/Kconfig @@ -0,0 +1,28 @@ + +# Kconfig file for package uORB +menuconfig PKG_USING_UORB + bool "uORB is a light-weight and powerful IPC library based on the publisher/subscriber model." + default n + +if PKG_USING_UORB + + config PKG_UORB_PATH + string + default "/packages/tools/uORB" + + choice + prompt "Version" + default PKG_USING_UORB_LATEST_VERSION + help + Select the package version + + config PKG_USING_UORB_LATEST_VERSION + bool "latest" + endchoice + + config PKG_UORB_VER + string + default "latest" if PKG_USING_UORB_LATEST_VERSION + +endif + diff --git a/tools/uORB/package.json b/tools/uORB/package.json new file mode 100644 index 0000000000..1771ed8dd6 --- /dev/null +++ b/tools/uORB/package.json @@ -0,0 +1,28 @@ +{ + "name": "uORB", + "description": "uORB is a light-weight and powerful IPC module based on the publisher/subscriber model.", + "description_zh": "uORB是一个基于发布者/订阅者模式的轻量级且功能强大的跨线程/进程通信模块。", + "enable": "PKG_USING_UORB", + "keywords": [ + "uORB" + ], + "category": "tools", + "author": { + "name": "Solonix-Chu", + "email": "rosemake.csc@outlook.com", + "github": "Solonix-Chu" + }, + "license": "Apache-2.0", + "repository": "https://github.com/Solonix-Chu/uORB_RTT", + "icon": "unknown", + "homepage": "unknown", + "doc": "unknown", + "site": [ + { + "version": "latest", + "URL": "https://github.com/Solonix-Chu/uORB_RTT.git", + "filename": "uORB_RTT.zip", + "VER_SHA": "main" + } + ] +}