[Bsp] lpc408x fix compiler error
This commit is contained in:
parent
e0b371edfd
commit
8c229e412a
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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" />
|
||||
|
|
Loading…
Reference in New Issue