You've already forked crosspoint-reader
mirror of
https://github.com/crosspoint-reader/crosspoint-reader.git
synced 2026-04-29 10:26:52 -07:00
21 lines
326 B
C++
21 lines
326 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <cstdint>
|
||
|
|
#include <string>
|
||
|
|
|
||
|
|
namespace HalSystem {
|
||
|
|
struct StackFrame {
|
||
|
|
uint32_t sp;
|
||
|
|
uint32_t spp[8];
|
||
|
|
};
|
||
|
|
|
||
|
|
void begin();
|
||
|
|
|
||
|
|
// Dump panic info to SD card if necessary
|
||
|
|
void checkPanic();
|
||
|
|
void clearPanic();
|
||
|
|
|
||
|
|
std::string getPanicInfo(bool full = false);
|
||
|
|
bool isRebootFromPanic();
|
||
|
|
} // namespace HalSystem
|