You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* If we don't do anything, the system will halt upon return. */
163
-
/* A debug box handler such as this one can also decide to reboot the whole
164
-
* system. This is only allowed from the debug box. */
165
-
NVIC_SystemReset();
166
-
}
167
-
168
-
static void box_debug_main(const void *)
169
-
{
170
-
/* Debug box driver -- Version 0 */
171
-
static const TUvisorDebugDriver driver = {
172
-
get_version,
173
-
halt_error
174
-
};
175
-
176
-
/* Register the debug box with uVisor. */
177
-
uvisor_debug_init(&driver);
178
-
}
179
-
```
130
+
For a reference implementation of a debug box please refer to [mbed-os-example-uvisor-debug-fault repository](https://github.com/ARMmbed/mbed-os-example-uvisor-debug-fault)
0 commit comments