From 79ad3fc8e56f8860d4505bbff99b7958e67f4bc4 Mon Sep 17 00:00:00 2001 From: ArdaFu Date: Tue, 17 Oct 2017 14:28:25 +0800 Subject: [PATCH 1/3] [bsp][stm32f107] fix compile error. add missing macro RT_USING_LIBC --- bsp/stm32f107/rtconfig.h | 1 + 1 file changed, 1 insertion(+) 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 @@ // // #define RT_USING_BSP_CMSIS +#define RT_USING_LIBC #endif From 6bfaa632b9c350e928b7a2ad17db7f04a1699307 Mon Sep 17 00:00:00 2001 From: ArdaFu Date: Tue, 17 Oct 2017 14:33:32 +0800 Subject: [PATCH 2/3] [bsp][lm3s8962] Fix complie error. Add missing macro RT_USING_LIBC. Force use Lwip 1.4.1 bye define RT_USING_LWIP141 --- bsp/lm3s8962/rtconfig.h | 2 ++ 1 file changed, 2 insertions(+) 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 From 6ee66d92e76ec8831eac2edd4ec58b07eed89f7a Mon Sep 17 00:00:00 2001 From: ArdaFu Date: Tue, 17 Oct 2017 14:45:31 +0800 Subject: [PATCH 3/3] [bsp][sam7x] Fix compile error. Increase DATA section size in .ld file. --- bsp/sam7x/sam7x_rom.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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