/* libpicosdk/pico_platform_panic.c - Integrate pico_platform_panic with libmisc * * Copyright (C) 2025 Luke T. Shumaker * SPDX-License-Identifier: AGPL-3.0-or-later */ #include [[noreturn]] void assert_panic(const char *fmt, ...) { /* Most of the panic()s in pico-sdk are simple strings, very * few use printf-style formatters. And those that do are * still readable if we ignore the formatting. */ assert_notreached(fmt); }