VSF Documented
vsf_debugger.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2022 by VSF Team *
3 * *
4 * Licensed under the Apache License, Version 2.0 (the "License"); *
5 * you may not use this file except in compliance with the License. *
6 * You may obtain a copy of the License at *
7 * *
8 * http://www.apache.org/licenses/LICENSE-2.0 *
9 * *
10 * Unless required by applicable law or agreed to in writing, software *
11 * distributed under the License is distributed on an "AS IS" BASIS, *
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13 * See the License for the specific language governing permissions and *
14 * limitations under the License. *
15 * *
16 ****************************************************************************/
17
18#ifndef __VSF_DEBUGGER_H__
19#define __VSF_DEBUGGER_H__
20
21/*============================ INCLUDES ======================================*/
22
23#include "./vsf_debugger_cfg.h"
24
25#ifdef VSF_DEBUGGER_CFG_CONSOLE
26
27#include "service/vsf_service.h"
28
29#if VSF_DEBUGGER_CFG_CONSOLE == VSF_DEBUGGER_CFG_CONSOLE_SEGGER_RTT
31#elif VSF_DEBUGGER_CFG_CONSOLE == VSF_DEBUGGER_CFG_CONSOLE_NULINK_NUCONSOLE
33#elif VSF_DEBUGGER_CFG_CONSOLE == VSF_DEBUGGER_CFG_CONSOLE_USER
34
35# ifdef __cplusplus
36extern "C" {
37# endif
38
39# ifdef VSF_DEBUGGER_CFG_STREAM_TX_T
40 extern VSF_DEBUGGER_CFG_STREAM_TX_T VSF_DEBUG_STREAM_TX;
41# endif
42# ifdef VSF_DEBUGGER_CFG_STREAM_RX_T
43 extern VSF_DEBUGGER_CFG_STREAM_RX_T VSF_DEBUG_STREAM_RX;
44# endif
45
46# ifdef __cplusplus
47}
48# endif
49
50#endif
51
52/*============================ MACROS ========================================*/
53/*============================ MACROFIED FUNCTIONS ===========================*/
54/*============================ TYPES =========================================*/
55/*============================ GLOBAL VARIABLES ==============================*/
56/*============================ INCLUDES ======================================*/
57/*============================ PROTOTYPES ====================================*/
58
59#endif // VSF_DEBUGGER_CFG_CONSOLE
60#endif // __VSF_DEBUGGER_H__
vsf_mem_stream_t VSF_DEBUG_STREAM_RX
Definition NuConsole_stream.c:87
vsf_stream_t VSF_DEBUG_STREAM_TX
Definition NuConsole_stream.c:83