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
This commit is contained in:
parent
d4fcf79423
commit
c63a2e0a89
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
@echo off
|
||||||
|
@echo get and update finsh
|
||||||
|
svn co https://rt-thread.googlecode.com/svn/trunk/components/finsh/ ./rt-thread/components/finsh
|
||||||
|
pause
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
echo "get and update finsh"
|
||||||
|
svn co https://rt-thread.googlecode.com/svn/trunk/components/finsh/ ./rt-thread/components/finsh
|
|
@ -0,0 +1,8 @@
|
||||||
|
@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
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/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 @@
|
||||||
#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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue