From 6584c7035389f80111b1e58544a4d2546f79117c Mon Sep 17 00:00:00 2001
From: SummerGift <zy_770077@qq.com>
Date: Wed, 13 Dec 2017 09:38:36 +0800
Subject: [PATCH 1/2] fix eth init error

---
 bsp/stm32f429-apollo/drivers/drv_eth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsp/stm32f429-apollo/drivers/drv_eth.c b/bsp/stm32f429-apollo/drivers/drv_eth.c
index 56dd2cc2d8..78e2342c0f 100644
--- a/bsp/stm32f429-apollo/drivers/drv_eth.c
+++ b/bsp/stm32f429-apollo/drivers/drv_eth.c
@@ -589,4 +589,4 @@ static int rt_hw_stm32_eth_init(void)
 	
     return state;
 }
-INIT_DEVICE_EXPORT(rt_hw_stm32_eth_init);
+INIT_APP_EXPORT(rt_hw_stm32_eth_init);

From 124d2e17900aad03b2a2c4e27167aaa550e28463 Mon Sep 17 00:00:00 2001
From: SummerGift <zy_770077@qq.com>
Date: Wed, 13 Dec 2017 09:39:20 +0800
Subject: [PATCH 2/2] [BSP]:add stm32f429_flash.sct for stm32f429-apollo bsp

---
 bsp/stm32f429-apollo/stm32f429_flash.sct | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 bsp/stm32f429-apollo/stm32f429_flash.sct

diff --git a/bsp/stm32f429-apollo/stm32f429_flash.sct b/bsp/stm32f429-apollo/stm32f429_flash.sct
new file mode 100644
index 0000000000..27fcd9f6c7
--- /dev/null
+++ b/bsp/stm32f429-apollo/stm32f429_flash.sct
@@ -0,0 +1,15 @@
+; *************************************************************
+; *** Scatter-Loading Description File generated by uVision ***
+; *************************************************************
+
+LR_IROM1 0x08000000 0x00100000  {    ; load region size_region
+  ER_IROM1 0x08000000 0x00100000  {  ; load address = execution address
+   *.o (RESET, +First)
+   *(InRoot$$Sections)
+   .ANY (+RO)
+  }
+  RW_IRAM1 0x20000000 0x00030000  {  ; RW data
+   .ANY (+RW +ZI)
+  }
+}
+