mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
remove device file system and lwip feature temporary.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@227 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
1 parent
51e2d91378
commit
52bda78249
8 files changed
+78
-63
No files matched your search
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
* File : app.c
|
||||
* File : application.c
|
||||
* This file is part of RT-Thread RTOS
|
||||
* COPYRIGHT (C) 2006, RT-Thread Development Team
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://openlab.rt-thread.com/license/LICENSE
|
||||
* http://www.rt-thread.org/license/LICENSE
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
* File : board.c
|
||||
* This file is part of RT-Thread RTOS
|
||||
* COPYRIGHT (C) 2006, RT-Thread Develop Team
|
||||
* COPYRIGHT (C) 2006 - 2009 RT-Thread Develop Team
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://openlab.rt-thread.com/license/LICENSE
|
||||
* http://www.rt-thread.org/license/LICENSE
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
@@ -28,7 +28,7 @@
|
||||
extern rt_uint32_t PCLK, FCLK, HCLK, UCLK;
|
||||
extern rt_uint8_t asc16_font[];
|
||||
extern rt_uint16_t _rt_hw_framebuffer[];
|
||||
|
||||
|
||||
extern void rt_hw_clock_init(void);
|
||||
extern void rt_hw_lcd_init(void);
|
||||
extern void rt_hw_mmu_init(void);
|
||||
@@ -100,7 +100,7 @@ void rt_hw_uart_init(void)
|
||||
* tx=level,rx=edge,disable timeout int.,enable rx error int.,
|
||||
* normal,interrupt or polling
|
||||
*/
|
||||
uart0.uart_device->ucon = 0x245;
|
||||
uart0.uart_device->ucon = 0x245;
|
||||
/* Set uart0 bps */
|
||||
uart0.uart_device->ubrd = (rt_int32_t)(PCLK / (BPS * 16)) - 1;
|
||||
/* output PCLK to UART0/1, PWMTIMER */
|
||||
@@ -119,12 +119,12 @@ void rt_hw_uart_init(void)
|
||||
* This function will init s3ceb2410 board
|
||||
*/
|
||||
void rt_hw_board_init()
|
||||
{
|
||||
/* initialize the system clock */
|
||||
{
|
||||
/* initialize the system clock */
|
||||
rt_hw_clock_init();
|
||||
|
||||
/* Get the clock */
|
||||
rt_hw_get_clock();
|
||||
|
||||
/* Get the clock */
|
||||
rt_hw_get_clock();
|
||||
|
||||
/* initialize uart */
|
||||
rt_hw_uart_init();
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://openlab.rt-thread.com/license/LICENSE
|
||||
* http://www.rt-thread.org/license/LICENSE
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
|
||||
@@ -27,8 +27,12 @@ TARGOPT 1, (RT-Thread Debug)
|
||||
OPTBL 0,(User's Manual)<DATASHTS\SAMSUNG\S3C2410_UM.PDF>
|
||||
OPTDL (SARM.DLL)()(DARMSS9.DLL)(-pS3C2410A)(SARM.DLL)()(TARMSS9.DLL)(-pS3C2410A)
|
||||
OPTDBG 47614,6,()()()()()()()()()(.\Ext_RAM.ini) (Segger\JLTAgdi.dll)()()()
|
||||
OPTKEY 0,(DLGTARM)((113=-1,-1,-1,-1,0)(100=90,124,666,445,0)(102=-1,-1,-1,-1,0)(103=-1,-1,-1,-1,0)(104=-1,-1,-1,-1,0)(105=-1,-1,-1,-1,0)(106=-1,-1,-1,-1,0)(107=-1,-1,-1,-1,0)(108=-1,-1,-1,-1,0)(109=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=-1,-1,-1,-1,0)(112=-1,-1,-1,-1,0))
|
||||
OPTKEY 0,(JLTAgdi)(-O1070 -J1 -Y1000 -Z1 -FO7 -FD40000000 -FC800 -FN0)
|
||||
OPTKEY 0,(JLTDLG)()
|
||||
OPTKEY 0,(DLGDARM)((113=-1,-1,-1,-1,0)(100=-1,-1,-1,-1,0)(102=-1,-1,-1,-1,0)(103=-1,-1,-1,-1,0)(104=-1,-1,-1,-1,0)(105=-1,-1,-1,-1,0)(106=-1,-1,-1,-1,0)(107=-1,-1,-1,-1,0)(108=-1,-1,-1,-1,0)(109=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=-1,-1,-1,-1,0)(112=-1,-1,-1,-1,0))
|
||||
OPTKEY 0,(ARMDBGFLAGS)(-T5F)
|
||||
OPTMM 1,2,(uart0.uart_device)
|
||||
OPTDF 0x86
|
||||
OPTLE <>
|
||||
OPTLC <>
|
||||
|
||||
@@ -53,7 +53,7 @@ Options 1,0,0 // Target 'RT-Thread Debug'
|
||||
ADSFLGA { 242,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
|
||||
ACPUTYP (ARM920T)
|
||||
RVDEV ()
|
||||
ADSTFLGA { 0,8,0,0,96,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0 }
|
||||
ADSTFLGA { 0,8,64,0,96,0,64,64,0,0,0,0,0,0,0,0,0,0,0,0 }
|
||||
OCMADSOCM { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }
|
||||
OCMADSIRAM { 0,0,0,0,64,0,32,0,0 }
|
||||
OCMADSIROM { 0,0,0,0,0,0,0,0,0 }
|
||||
|
||||
+54
-46
File diff suppressed because it is too large.
Load diff
@@ -4,13 +4,13 @@
|
||||
RT_USING_FINSH = True
|
||||
|
||||
# device file system options
|
||||
RT_USING_DFS = True
|
||||
RT_USING_DFS = False
|
||||
RT_USING_DFS_EFSL = True
|
||||
RT_USING_DFS_ELMFAT = False
|
||||
RT_USING_DFS_YAFFS2 = False
|
||||
|
||||
# lwip options
|
||||
RT_USING_LWIP = True
|
||||
RT_USING_LWIP = False
|
||||
|
||||
# rtgui options
|
||||
RT_USING_RTGUI = False
|
||||
@@ -23,7 +23,7 @@ TextBase='0x30000000'
|
||||
#PLATFORM = 'gcc'
|
||||
#EXEC_PATH = 'd:/SourceryGCC/bin'
|
||||
PLATFORM = 'armcc'
|
||||
EXEC_PATH = 'C:/Keil'
|
||||
EXEC_PATH = 'E:/Keil'
|
||||
BUILD = 'debug'
|
||||
|
||||
if PLATFORM == 'gcc':
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://openlab.rt-thread.com/license/LICENSE
|
||||
* http://www.rt-thread.org/license/LICENSE
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
@@ -94,7 +94,10 @@ void rtthread_startup(void)
|
||||
rt_hw_serial_register(&uart0_device, "uart0",
|
||||
RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_INT_RX | RT_DEVICE_FLAG_STREAM,
|
||||
&uart0);
|
||||
|
||||
#ifdef RT_USING_DFS
|
||||
rt_hw_sdcard_init();
|
||||
#endif
|
||||
|
||||
/*init all registed devices */
|
||||
rt_device_init_all();
|
||||
|
||||
Reference in new issue
Block a user