v2.0.0
stdio_semihosting.h
1/*
2 * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef _PICO_STDIO_SEMIHOSTING_H
8#define _PICO_STDIO_SEMIHOSTING_H
9
10#include "pico/stdio.h"
11
20// PICO_CONFIG: PICO_STDIO_SEMIHOSTING_DEFAULT_CRLF, Default state of CR/LF translation for semihosting output, type=bool, default=PICO_STDIO_DEFAULT_CRLF, group=pico_stdio_semihosting
21#ifndef PICO_STDIO_SEMIHOSTING_DEFAULT_CRLF
22#define PICO_STDIO_SEMIHOSTING_DEFAULT_CRLF PICO_STDIO_DEFAULT_CRLF
23#endif
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29extern stdio_driver_t stdio_semihosting;
30
36void stdio_semihosting_init(void);
37
43void stdio_semihosting_deinit(void);
44
45#ifdef __cplusplus
46}
47#endif
48
49#endif
stdio_semihosting_deinit
void stdio_semihosting_deinit(void)
Explicitly deinitialize stdout over semihosting and add it to the current set of stdout targets.
Definition: stdio_semihosting.c:75
stdio_semihosting_init
void stdio_semihosting_init(void)
Explicitly initialize stdout over semihosting and add it to the current set of stdout targets.
Definition: stdio_semihosting.c:68
stdio.h
stdio_driver
Definition: driver.h:12