mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08: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:
@@ -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) */
|
||||
|
||||
Reference in New Issue
Block a user