Browse Source

Merge pull request #876 from ArdaFu/master

[bsp] Fix compile error.
Bernard Xiong 7 years ago
parent
commit
1b07025915
3 changed files with 4 additions and 1 deletions
  1. 2 0
      bsp/lm3s8962/rtconfig.h
  2. 1 1
      bsp/sam7x/sam7x_rom.ld
  3. 1 0
      bsp/stm32f107/rtconfig.h

+ 2 - 0
bsp/lm3s8962/rtconfig.h

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

+ 1 - 1
bsp/sam7x/sam7x_rom.ld

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

+ 1 - 0
bsp/stm32f107/rtconfig.h

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