Merge pull request #876 from ArdaFu/master

[bsp] Fix compile error.
This commit is contained in:
Bernard Xiong 2017-10-17 15:26:58 +08:00 committed by GitHub
commit 1b07025915
3 changed files with 4 additions and 1 deletions

View File

@ -153,4 +153,6 @@
/* the size of each pbuf in the pbuf pool. */ /* the size of each pbuf in the pbuf pool. */
#define RT_LWIP_PBUF_POOL_BUFSIZE 1500 #define RT_LWIP_PBUF_POOL_BUFSIZE 1500
#define RT_USING_LIBC
#define RT_USING_LWIP141
#endif #endif

View File

@ -4,7 +4,7 @@ MEMORY
{ {
CODE (rx) : ORIGIN = 0x00100000, LENGTH = 0x00040000 CODE (rx) : ORIGIN = 0x00100000, LENGTH = 0x00040000
/* DATA (rw) : ORIGIN = 0x00200000, LENGTH = 0x00010000 */ /* DATA (rw) : ORIGIN = 0x00200000, LENGTH = 0x00010000 */
DATA (rw) : ORIGIN = 0x00204000, LENGTH = 0x0000C000 DATA (rw) : ORIGIN = 0x00203000, LENGTH = 0x0000D000
} }
ENTRY(_start) ENTRY(_start)
SECTIONS SECTIONS

View File

@ -163,4 +163,5 @@
// <bool name="RT_USING_BSP_CMSIS" description="Using CMSIS in BSP" default="true" /> // <bool name="RT_USING_BSP_CMSIS" description="Using CMSIS in BSP" default="true" />
// #define RT_USING_BSP_CMSIS // #define RT_USING_BSP_CMSIS
#define RT_USING_LIBC
#endif #endif