diff --git a/bsp/lpc408x/applications/startup.c b/bsp/lpc408x/applications/startup.c index 0ce6fb7df..bcab985a6 100644 --- a/bsp/lpc408x/applications/startup.c +++ b/bsp/lpc408x/applications/startup.c @@ -19,7 +19,7 @@ #include "board.h" extern int rt_application_init(void); - +extern void sram_init(void); /** * This function will startup RT-Thread RTOS. */ diff --git a/bsp/lpc408x/project.uvprojx b/bsp/lpc408x/project.uvprojx index 369c0d6a9..14f721caf 100644 --- a/bsp/lpc408x/project.uvprojx +++ b/bsp/lpc408x/project.uvprojx @@ -369,7 +369,7 @@ CORE_M4, RT_USING_ARM_LIBC - Libraries/Device/NXP/LPC407x_8x_177x_8x/Include;Libraries/CMSIS/Include;Libraries/Drivers/include;applications;.;drivers;../../include;../../libcpu/arm/cortex-m4;../../libcpu/arm/common;../../components/pthreads;../../components/libc/armlibc;../../components/drivers/include;../../components/drivers/include;../../components/finsh + Libraries/Device/NXP/LPC407x_8x_177x_8x/Include;Libraries/CMSIS/Include;Libraries/Drivers/include;applications;.;drivers;../../include;../../libcpu/arm/cortex-m4;../../libcpu/arm/common;..\..\components\libc\pthreads;../../components/libc/armlibc;../../components/drivers/include;../../components/drivers/include;../../components/finsh @@ -607,6 +607,11 @@ 1 .\drivers\drv_lpccan.c + + drv_sdram.c + 1 + .\drivers\drv_sdram.c + @@ -720,62 +725,62 @@ clock_time.c 1 - ../../components/pthreads/clock_time.c + ..\..\components\libc\pthreads\clock_time.c mqueue.c 1 - ../../components/pthreads/mqueue.c + ..\..\components\libc\pthreads\mqueue.c pthread.c 1 - ../../components/pthreads/pthread.c + ..\..\components\libc\pthreads\pthread.c pthread_attr.c 1 - ../../components/pthreads/pthread_attr.c + ..\..\components\libc\pthreads\pthread_attr.c pthread_barrier.c 1 - ../../components/pthreads/pthread_barrier.c + ..\..\components\libc\pthreads\pthread_barrier.c pthread_cond.c 1 - ../../components/pthreads/pthread_cond.c + ..\..\components\libc\pthreads\pthread_cond.c pthread_mutex.c 1 - ../../components/pthreads/pthread_mutex.c + ..\..\components\libc\pthreads\pthread_mutex.c pthread_rwlock.c 1 - ../../components/pthreads/pthread_rwlock.c + ..\..\components\libc\pthreads\pthread_rwlock.c pthread_spin.c 1 - ../../components/pthreads/pthread_spin.c + ..\..\components\libc\pthreads\pthread_spin.c pthread_tls.c 1 - ../../components/pthreads/pthread_tls.c + ..\..\components\libc\pthreads\pthread_tls.c sched.c 1 - ../../components/pthreads/sched.c + ..\..\components\libc\pthreads\sched.c semaphore.c 1 - ../../components/pthreads/semaphore.c + ..\..\components\libc\pthreads\semaphore.c diff --git a/bsp/lpc408x/rtconfig.h b/bsp/lpc408x/rtconfig.h index 9b04e63aa..ce8d0dc90 100644 --- a/bsp/lpc408x/rtconfig.h +++ b/bsp/lpc408x/rtconfig.h @@ -151,7 +151,7 @@ // //
-#define RT_USING_LWIP +//#define RT_USING_LWIP // #define RT_LWIP_ICMP //