summaryrefslogtreecommitdiff
path: root/platforms/chibios/vendors/RP/pico_sdk_shims.c
blob: 239155c0865314de627f2f43d119ded384e6b351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2022 Stefan Kerkmann
// SPDX-License-Identifier: GPL-2.0-or-later

#include <stdbool.h>
#include <ch.h>

void panic(const char *fmt, ...) {
    chSysHalt(fmt);
}

void hard_assertion_failure(void) {
    panic("hard assert");
}