-
Notifications
You must be signed in to change notification settings - Fork 350
添加mcoredump软件包索引 #1920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
添加mcoredump软件包索引 #1920
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -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 | ||||||||||||||
|
||||||||||||||
| default 0x99999 if PKG_USING_MCOREDUMP_LATEST_VERSION | |
| default "latest" if PKG_USING_MCORE_DUMP_LATEST_VERSION | |
| config PKG_MCOREDUMP_VER_NUM | |
| hex | |
| default 0x99999 if PKG_USING_MCORE_DUMP_LATEST_VERSION |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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": "[email protected]", | ||
| "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" | ||
| } | ||
| ] | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The condition references 'PKG_USING_MCOREDUMP_LATEST_VERSION' but the actual config name defined above is 'PKG_USING_MCORE_DUMP_LATEST_VERSION'. This will cause the default value to never be applied.