summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorSummerGift <[email protected]>2018-12-18 10:37:57 +0800
committerSummerGift <[email protected]>2018-12-18 10:39:21 +0800
commit9cd881bf056c63ab10739f2eb7bef5b9e22254fa (patch)
treeeb9019738f46b34a2b52db27d7a67672a8fc0492 /bsp
parent355783c5faf4a1b594a07b51bff2f605af2c015d (diff)
[bsp][stm32] fix some error
Diffstat (limited to 'bsp')
-rw-r--r--bsp/stm32/stm32f103-fire-arbitrary/board/ports/sdcard_port.c4
-rw-r--r--bsp/stm32/stm32l475-atk-pandora/board/linker_scripts/link.icf2
2 files changed, 3 insertions, 3 deletions
diff --git a/bsp/stm32/stm32f103-fire-arbitrary/board/ports/sdcard_port.c b/bsp/stm32/stm32f103-fire-arbitrary/board/ports/sdcard_port.c
index 617379fd4e..16c7a9e454 100644
--- a/bsp/stm32/stm32f103-fire-arbitrary/board/ports/sdcard_port.c
+++ b/bsp/stm32/stm32f103-fire-arbitrary/board/ports/sdcard_port.c
@@ -10,7 +10,7 @@
#include <rtthread.h>
-#ifdef RT_USING_DFS
+#ifdef BSP_USING_SDCARD
#include <dfs_elm.h>
#include <dfs_fs.h>
@@ -61,5 +61,5 @@ int stm32_sdcard_mount(void)
}
INIT_APP_EXPORT(stm32_sdcard_mount);
-#endif
+#endif /* BSP_USING_SDCARD */
diff --git a/bsp/stm32/stm32l475-atk-pandora/board/linker_scripts/link.icf b/bsp/stm32/stm32l475-atk-pandora/board/linker_scripts/link.icf
index 11d1d86df5..b89cc8fa4d 100644
--- a/bsp/stm32/stm32l475-atk-pandora/board/linker_scripts/link.icf
+++ b/bsp/stm32/stm32l475-atk-pandora/board/linker_scripts/link.icf
@@ -30,4 +30,4 @@ place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
place in ROM_region { readonly };
place in RAM1_region { section .sram };
-place in RAM2_region { readwrite, block CSTACK};
+place in RAM2_region { readwrite, last block CSTACK};