diff --git a/bsp/stm32f429-apollo/drivers/drv_eth.c b/bsp/stm32f429-apollo/drivers/drv_eth.c index 56dd2cc2d8147fbc5c6c68813eccadcb9328f88c..78e2342c0fc7a8093f60103966fc8094afb5ee08 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 0000000000000000000000000000000000000000..27fcd9f6c7238aa87ba09c11608db7280880e252 --- /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) + } +} +