summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedar-renjun <[email protected]>2015-10-13 11:52:05 +0800
committercedar-renjun <[email protected]>2015-10-13 11:52:05 +0800
commit238ebdd045f479c944bae64b312cfe174485b215 (patch)
tree42730b2957b4c1c811cd4e872873992b0615fc8a
parent850343f3530c00f0f9cbeae8821ac2e1d37997ed (diff)
Update and rename readme.txt to readme.md
-rw-r--r--bsp/stm32f40x/readme.md25
-rw-r--r--bsp/stm32f40x/readme.txt9
2 files changed, 25 insertions, 9 deletions
diff --git a/bsp/stm32f40x/readme.md b/bsp/stm32f40x/readme.md
new file mode 100644
index 0000000000..e1d0e56820
--- /dev/null
+++ b/bsp/stm32f40x/readme.md
@@ -0,0 +1,25 @@
+board info:
+STM32F4 discovery
+http://www.st.com/internet/evalboard/product/252419.jsp
+
+note:
+in drivers/stm32f4xx_conf.h
+ /* Redefine the HSE value; it's equal to 8 MHz on the STM32F4-DISCOVERY Kit */
+ #define HSE_VALUE ((uint32_t)8000000)
+
+
+
+ **================= IAR WARNING =================**
+
+ after use `scons --target=iar -s` cmd to product IAR project, you have to add iar link file by hand
+
+ IAR steps:
+ 1. Project-->Options-->Linker
+ 2. Config-->Linker Configuration file
+ 3. select `Override Default`, then select `bsp/stm32f40x/stm32f40x_flash.icf`
+ 4. rebuild project
+
+
+ **TODO**
+ auto add *.icf by scons script
+
diff --git a/bsp/stm32f40x/readme.txt b/bsp/stm32f40x/readme.txt
deleted file mode 100644
index 7bebe251c6..0000000000
--- a/bsp/stm32f40x/readme.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-board info:
-STM32F4 discovery
-http://www.st.com/internet/evalboard/product/252419.jsp
-
-note:
-in drivers/stm32f4xx_conf.h
- /* Redefine the HSE value; it's equal to 8 MHz on the STM32F4-DISCOVERY Kit */
- #define HSE_VALUE ((uint32_t)8000000)
-