mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 20:27:53 +00:00
note/ram: support multiple noterams to dump data when panic occurs
When creating a noteram, you can choose whether to dump this noteram when the system crashes. Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
parent
7acb0df84f
commit
d3460aa111
2 changed files with 20 additions and 9 deletions
|
|
@ -112,7 +112,8 @@ extern struct noteram_driver_s g_noteram_driver;
|
|||
int noteram_register(void);
|
||||
|
||||
FAR struct note_driver_s *
|
||||
noteram_initialize(FAR const char *devpath, size_t bufsize, bool overwrite);
|
||||
noteram_initialize(FAR const char *devpath, size_t bufsize,
|
||||
bool overwrite, bool crashdump);
|
||||
#endif
|
||||
|
||||
#endif /* defined(__KERNEL__) || defined(CONFIG_BUILD_FLAT) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue