console.c 830 字节
Newer Older
M
Ming, Bai 已提交
1
/*
2
 * Copyright (c) 2006-2021, RT-Thread Development Team
M
Ming, Bai 已提交
3
 *
4
 * SPDX-License-Identifier: Apache-2.0
M
Ming, Bai 已提交
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
 *
 * Change Logs:
 * Date           Author       Notes
 * 2011-05-23     aozima       first implementation for PIC32.
 */
#include <rtthread.h>

// Warning:
// if you want to use DBPRINTF in PIC32 Ethernet Starter Kit,
// you project must globl define PIC32_STARTER_KIT and debug in MPLAB.
// but,if you want run app without debug mode,you must remove this features.

// Adds support for PIC32 Peripheral library functions and macros
#include <plib.h>

void rt_hw_console_init(void)
{
22 23
    //Initialize the DB_UTILS IO channel
//  DBINIT();
M
Ming, Bai 已提交
24 25 26 27 28 29 30 31 32 33 34 35
}

/**
 * This function is used by rt_kprintf to display a string on console.
 *
 * @param str the displayed string
 */
void rt_hw_console_output(const char* str)
{
//    DBPRINTF(str);
}