From f0061b14d3a33ed94ce5c3f437b2b96f023ea708 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Fri, 6 Oct 2017 11:37:00 +0800 Subject: [PATCH] Update and rename readme.md to README.md --- bsp/stm32f40x/README.md | 27 +++++++++++++++++++++++++++ bsp/stm32f40x/readme.md | 25 ------------------------- 2 files changed, 27 insertions(+), 25 deletions(-) create mode 100644 bsp/stm32f40x/README.md delete mode 100644 bsp/stm32f40x/readme.md diff --git a/bsp/stm32f40x/README.md b/bsp/stm32f40x/README.md new file mode 100644 index 000000000..73c13f0fa --- /dev/null +++ b/bsp/stm32f40x/README.md @@ -0,0 +1,27 @@ +## board info: + + STM32F4 discovery + http://www.st.com/internet/evalboard/product/252419.jsp + +## note: + +in drivers/stm32f4xx_conf.h + +```c + /* Redefine the HSE value; it's equal to 8 MHz on the STM32F4-DISCOVERY Kit */ + efine HSE_VALUE ((uint32_t)8000000) +``` + + **================= IAR WARNING =================** + +After use `scons --target=iar -s` command to product IAR project, you have to add iar link file manually. + +IAR IDE 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.md b/bsp/stm32f40x/readme.md deleted file mode 100644 index e1d0e5682..000000000 --- a/bsp/stm32f40x/readme.md +++ /dev/null @@ -1,25 +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) - - - - **================= 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 -