diff options
| author | wuyangyong <[email protected]> | 2011-09-06 15:52:43 +0000 |
|---|---|---|
| committer | wuyangyong <[email protected]> | 2011-09-06 15:52:43 +0000 |
| commit | a722f6ff017980142a8ebb7af049dd2b99f9c064 (patch) | |
| tree | 99f0800e60939770830c72c9456e53db2f7b4e9c /bsp/pic32ethernet | |
| parent | 34d2f9de386e0bed02823b037dca48f3bf1d7c47 (diff) | |
update PIC32
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1700 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/pic32ethernet')
| -rw-r--r-- | bsp/pic32ethernet/startup.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/bsp/pic32ethernet/startup.c b/bsp/pic32ethernet/startup.c index 641c8cd7dc..8ae4d431b4 100644 --- a/bsp/pic32ethernet/startup.c +++ b/bsp/pic32ethernet/startup.c @@ -17,7 +17,7 @@ #include <rtthread.h>
extern int _ramfunc_end;
-#define PIC32_SRAM_END (0xA0000000+0x8000) //795F512L 512KB
+#define PIC32_SRAM_END (0xA0000000 + 1024UL*128) //795F512L 512K FLASH 128KB SRAM
#ifdef RT_USING_FINSH
extern void finsh_system_init(void);
@@ -52,27 +52,6 @@ void rtthread_startup(void) /* init scheduler system */
rt_system_scheduler_init();
-//#ifdef RT_USING_DEVICE
-// /* register uart0 */
-// rt_hw_serial_register(&uart0_device, "uart0",
-// RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_INT_RX | RT_DEVICE_FLAG_STREAM,
-// &uart0);
-//
-// /* register uart2, used for RTI debug */
-// rt_hw_serial_register(&uart2_device, "uart2",
-// RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_INT_RX | RT_DEVICE_FLAG_STREAM,
-// &uart2);
-//
-//#ifdef RT_USING_DFS
-//#ifdef RT_USING_DFS_UFFS
-// rt_hw_nand_init();
-//#endif
-//#endif
-//
-// /*init all registed devices */
-// rt_device_init_all();
-//#endif
-
/* init application */
rt_application_init();
|
