提交 c63a2e0a 编写于 作者: wuyangyong's avatar wuyangyong

add #define RT_USING_CONSOLE for Nios II bsp

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1388 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 d4fcf794
...@@ -70,7 +70,7 @@ static void rt_hw_show_info(void) ...@@ -70,7 +70,7 @@ static void rt_hw_show_info(void)
rt_kprintf("\r\n\r\n---------- board info ----------\r\n"); rt_kprintf("\r\n\r\n---------- board info ----------\r\n");
rt_kprintf("ALT_DEVICE_FAMILY: %s\r\n",ALT_DEVICE_FAMILY); rt_kprintf("ALT_DEVICE_FAMILY: %s\r\n",ALT_DEVICE_FAMILY);
rt_kprintf("ALT_CPU_ARCHITECTURE: %s\r\n",ALT_CPU_ARCHITECTURE); rt_kprintf("ALT_CPU_ARCHITECTURE: %s\r\n",ALT_CPU_ARCHITECTURE);
rt_kprintf("ALT_CPU_CPU_FREQ: %u\r\n",ALT_CPU_CPU_FREQ); rt_kprintf("ALT_CPU_CPU_FREQ: %uHz\r\n",ALT_CPU_CPU_FREQ);
rt_kprintf("memory size: at 0x%08X 0x%08X byte\r\n",SDRAM_BASE,SDRAM_SPAN); rt_kprintf("memory size: at 0x%08X 0x%08X byte\r\n",SDRAM_BASE,SDRAM_SPAN);
} }
......
@echo off
@echo get and update finsh
svn co https://rt-thread.googlecode.com/svn/trunk/components/finsh/ ./rt-thread/components/finsh
pause
#!/bin/sh
echo "get and update finsh"
svn co https://rt-thread.googlecode.com/svn/trunk/components/finsh/ ./rt-thread/components/finsh
@echo off
@echo get and update RT-Thread kernel source
svn co https://rt-thread.googlecode.com/svn/trunk/src/ ./rt-thread/src
@echo get and update RT-Thread include file
svn co https://rt-thread.googlecode.com/svn/trunk/include/ ./rt-thread/include
@echo get and update Nios II architecture for RT-Thread
svn co https://rt-thread.googlecode.com/svn/trunk/libcpu/nios/nios_ii/ ./rt-thread/libcpu/nios/nios_ii
pause
#!/bin/sh
echo "get and update RT-Thread kernel source"
svn co https://rt-thread.googlecode.com/svn/trunk/src/ ./rt-thread/src
echo "get and update RT-Thread include file"
svn co https://rt-thread.googlecode.com/svn/trunk/include/ ./rt-thread/include
echo "get and update Nios II architecture for RT-Thread"
svn co https://rt-thread.googlecode.com/svn/trunk/libcpu/nios/nios_ii/ ./rt-thread/libcpu/nios/nios_ii
...@@ -67,6 +67,7 @@ ...@@ -67,6 +67,7 @@
#define RT_USING_UART1 #define RT_USING_UART1
/* SECTION: Console options */ /* SECTION: Console options */
#define RT_USING_CONSOLE
/* the buffer size of console*/ /* the buffer size of console*/
#define RT_CONSOLEBUF_SIZE 128 #define RT_CONSOLEBUF_SIZE 128
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册