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
10.syntax unified
11.cpu cortex-m0plus
12.thumb
13
14wrapper_func sprintf
15wrapper_func snprintf
16wrapper_func vsnprintf
17regular_func printf_none_assert
18    push {lr}       // keep stack trace sane
19    ldr r0, =str
20    bl panic
21
22str:
23    .asciz "printf support is disabled"