summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bsp/stm32f429-apollo/drivers/drv_eth.c2
-rw-r--r--bsp/stm32f429-apollo/stm32f429_flash.sct15
2 files changed, 16 insertions, 1 deletions
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);
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)
+ }
+}
+