/* Some pico-sdk drivers call panic on fatal error. This alternative implementation of panic handles the panic through Zephyr.  */
void __attribute__((noreturn))
/* Some pico-sdk drivers call panic on fatal error. This alternative implementation of panic handles the panic through Zephyr.  */
void __attribute__((noreturn))
{
	va_list args;
	va_start(args, fmt);
	vprintf(fmt, args);
	k_fatal_halt(K_ERR_CPU_EXCEPTION);
}