summaryrefslogtreecommitdiff
path: root/bsp/stm32f40x/README.md
blob: 73c13f0faf6489315f7476d87ed8d3b723a64dbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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