fix: dump crash log without usb plugged, bump release log to INFO (#1332)
## Summary Follow-up https://github.com/crosspoint-reader/crosspoint-reader/pull/1145 - Fix log not being record without USB connected - Bump release log to INFO for more logging details --- ### AI Usage While CrossPoint doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it helps set the right context for reviewers. Did you use AI tools to help write this code? **NO** --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -17,6 +17,9 @@ RTC_NOINIT_ATTR HalSystem::StackFrame panicStack[MAX_PANIC_STACK_DEPTH];
|
||||
|
||||
extern "C" {
|
||||
|
||||
void __real_panic_abort(const char* message);
|
||||
void __real_panic_print_backtrace(const void* frame, int core);
|
||||
|
||||
static DRAM_ATTR const char PANIC_REASON_UNKNOWN[] = "(unknown panic reason)";
|
||||
void IRAM_ATTR __wrap_panic_abort(const char* message) {
|
||||
if (!message) message = PANIC_REASON_UNKNOWN;
|
||||
|
||||
Reference in New Issue
Block a user