summaryrefslogtreecommitdiff
path: root/bsp/lpc408x
diff options
context:
space:
mode:
authorAubr.Cool <[email protected]>2016-09-21 11:10:25 +0800
committerAubr.Cool <[email protected]>2016-09-21 11:10:25 +0800
commit8c229e412acdf8af2d18203c35c3e22bd880aaeb (patch)
tree10f96edfa761784daa0494f82f373c7b3f3fd41e /bsp/lpc408x
parente0b371edfd40394dad61cee08c50ba4e0deb6758 (diff)
[Bsp] lpc408x fix compiler error
Diffstat (limited to 'bsp/lpc408x')
-rw-r--r--bsp/lpc408x/applications/startup.c2
-rw-r--r--bsp/lpc408x/project.uvprojx31
-rw-r--r--bsp/lpc408x/rtconfig.h2
3 files changed, 20 insertions, 15 deletions
diff --git a/bsp/lpc408x/applications/startup.c b/bsp/lpc408x/applications/startup.c
index 0ce6fb7df6..bcab985a62 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 369c0d6a97..14f721caf2 100644
--- a/bsp/lpc408x/project.uvprojx
+++ b/bsp/lpc408x/project.uvprojx
@@ -369,7 +369,7 @@
<MiscControls></MiscControls>
<Define>CORE_M4, RT_USING_ARM_LIBC</Define>
<Undefine></Undefine>
- <IncludePath>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</IncludePath>
+ <IncludePath>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</IncludePath>
</VariousControls>
</Cads>
<Aads>
@@ -607,6 +607,11 @@
<FileType>1</FileType>
<FilePath>.\drivers\drv_lpccan.c</FilePath>
</File>
+ <File>
+ <FileName>drv_sdram.c</FileName>
+ <FileType>1</FileType>
+ <FilePath>.\drivers\drv_sdram.c</FilePath>
+ </File>
</Files>
</Group>
<Group>
@@ -720,62 +725,62 @@
<File>
<FileName>clock_time.c</FileName>
<FileType>1</FileType>
- <FilePath>../../components/pthreads/clock_time.c</FilePath>
+ <FilePath>..\..\components\libc\pthreads\clock_time.c</FilePath>
</File>
<File>
<FileName>mqueue.c</FileName>
<FileType>1</FileType>
- <FilePath>../../components/pthreads/mqueue.c</FilePath>
+ <FilePath>..\..\components\libc\pthreads\mqueue.c</FilePath>
</File>
<File>
<FileName>pthread.c</FileName>
<FileType>1</FileType>
- <FilePath>../../components/pthreads/pthread.c</FilePath>
+ <FilePath>..\..\components\libc\pthreads\pthread.c</FilePath>
</File>
<File>
<FileName>pthread_attr.c</FileName>
<FileType>1</FileType>
- <FilePath>../../components/pthreads/pthread_attr.c</FilePath>
+ <FilePath>..\..\components\libc\pthreads\pthread_attr.c</FilePath>
</File>
<File>
<FileName>pthread_barrier.c</FileName>
<FileType>1</FileType>
- <FilePath>../../components/pthreads/pthread_barrier.c</FilePath>
+ <FilePath>..\..\components\libc\pthreads\pthread_barrier.c</FilePath>
</File>
<File>
<FileName>pthread_cond.c</FileName>
<FileType>1</FileType>
- <FilePath>../../components/pthreads/pthread_cond.c</FilePath>
+ <FilePath>..\..\components\libc\pthreads\pthread_cond.c</FilePath>
</File>
<File>
<FileName>pthread_mutex.c</FileName>
<FileType>1</FileType>
- <FilePath>../../components/pthreads/pthread_mutex.c</FilePath>
+ <FilePath>..\..\components\libc\pthreads\pthread_mutex.c</FilePath>
</File>
<File>
<FileName>pthread_rwlock.c</FileName>
<FileType>1</FileType>
- <FilePath>../../components/pthreads/pthread_rwlock.c</FilePath>
+ <FilePath>..\..\components\libc\pthreads\pthread_rwlock.c</FilePath>
</File>
<File>
<FileName>pthread_spin.c</FileName>
<FileType>1</FileType>
- <FilePath>../../components/pthreads/pthread_spin.c</FilePath>
+ <FilePath>..\..\components\libc\pthreads\pthread_spin.c</FilePath>
</File>
<File>
<FileName>pthread_tls.c</FileName>
<FileType>1</FileType>
- <FilePath>../../components/pthreads/pthread_tls.c</FilePath>
+ <FilePath>..\..\components\libc\pthreads\pthread_tls.c</FilePath>
</File>
<File>
<FileName>sched.c</FileName>
<FileType>1</FileType>
- <FilePath>../../components/pthreads/sched.c</FilePath>
+ <FilePath>..\..\components\libc\pthreads\sched.c</FilePath>
</File>
<File>
<FileName>semaphore.c</FileName>
<FileType>1</FileType>
- <FilePath>../../components/pthreads/semaphore.c</FilePath>
+ <FilePath>..\..\components\libc\pthreads\semaphore.c</FilePath>
</File>
</Files>
</Group>
diff --git a/bsp/lpc408x/rtconfig.h b/bsp/lpc408x/rtconfig.h
index 9b04e63aab..ce8d0dc908 100644
--- a/bsp/lpc408x/rtconfig.h
+++ b/bsp/lpc408x/rtconfig.h
@@ -151,7 +151,7 @@
// </section>
// <section name="RT_USING_LWIP" description="lwip, a lightweight TCP/IP protocol stack" default="true" >
-#define RT_USING_LWIP
+//#define RT_USING_LWIP
// <bool name="RT_LWIP_ICMP" description="Enable ICMP protocol" default="true" />
#define RT_LWIP_ICMP
// <bool name="RT_LWIP_IGMP" description="Enable IGMP protocol" default="false" />