summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2017-10-17 15:26:58 +0800
committerGitHub <[email protected]>2017-10-17 15:26:58 +0800
commit1b070259151de534ec63cdf3d2c24775dec2d11d (patch)
treedac0de8f455e6ac0769b57aa9abb3ec425658c42
parent89b58f5f2bca5e9a9ce10e16e1700b9a7622c1bd (diff)
parent6ee66d92e76ec8831eac2edd4ec58b07eed89f7a (diff)
Merge pull request #876 from ArdaFu/master
[bsp] Fix compile error.
-rw-r--r--bsp/lm3s8962/rtconfig.h2
-rw-r--r--bsp/sam7x/sam7x_rom.ld2
-rw-r--r--bsp/stm32f107/rtconfig.h1
3 files changed, 4 insertions, 1 deletions
diff --git a/bsp/lm3s8962/rtconfig.h b/bsp/lm3s8962/rtconfig.h
index c3b3bc8369..22a24106ab 100644
--- a/bsp/lm3s8962/rtconfig.h
+++ b/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
diff --git a/bsp/sam7x/sam7x_rom.ld b/bsp/sam7x/sam7x_rom.ld
index 2ceb8ee9e1..a677e2ebaa 100644
--- a/bsp/sam7x/sam7x_rom.ld
+++ b/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
diff --git a/bsp/stm32f107/rtconfig.h b/bsp/stm32f107/rtconfig.h
index f6e28a521a..c4cd0c8368 100644
--- a/bsp/stm32f107/rtconfig.h
+++ b/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