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

update Nios II bsp config

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1395 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 c8bac1af
......@@ -70,7 +70,7 @@ static void rt_hw_show_info(void)
rt_kprintf("\r\n\r\n---------- board info ----------\r\n");
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_CPU_FREQ: %uHz\r\n",ALT_CPU_CPU_FREQ);
rt_kprintf("ALT_CPU_CPU_FREQ: %uMHz\r\n",ALT_CPU_CPU_FREQ/1000000UL);
rt_kprintf("memory size: at 0x%08X 0x%08X byte\r\n",SDRAM_BASE,SDRAM_SPAN);
}
......
/* system.h - SOPC Builder system and BSP software package information */
#include "system.h"
/* RT-Thread config file */
#ifndef __RTTHREAD_CFG_H__
#define __RTTHREAD_CFG_H__
......@@ -13,7 +16,7 @@
/* Tick per Second */
/* TIMER_TICKS_PER_SEC define in system.h */
#define RT_TICK_PER_SECOND 1000 //TIMER_TICKS_PER_SEC
#define RT_TICK_PER_SECOND TIMER_TICKS_PER_SEC
/* SECTION: RT_DEBUG */
/* Thread Debug */
......@@ -110,6 +113,9 @@
/* the number of simulatenously active TCP connections*/
#define RT_LWIP_TCP_PCB_NUM 5
/* Using DHCP */
//#define RT_LWIP_DHCP
/* ip address of target*/
#define RT_LWIP_IPADDR0 192
#define RT_LWIP_IPADDR1 168
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册