1/*
2 * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include "pico/asm_helper.S"
8#include "pico/bootrom/sf_table.h"
9
10pico_default_asm_setup
11
12wrapper_func sprintf
13wrapper_func snprintf
14wrapper_func vsnprintf
15regular_func printf_none_assert
16    push {lr}       // keep stack trace sane
17    ldr r0, =str
18    bl panic
19
20str:
21    .asciz "printf support is disabled"