1ea925f9d1 | ||
---|---|---|
.. | ||
Libraries | ||
applications | ||
drivers | ||
SConscript | ||
SConstruct | ||
readme.md | ||
rtconfig.h | ||
rtconfig.py | ||
stm32_rom.ld | ||
stm32_rom.sct | ||
stm32f40x_flash.icf |
readme.md
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:
- Project-->Options-->Linker
- Config-->Linker Configuration file
- select
Override Default
, then selectbsp/stm32f40x/stm32f40x_flash.icf
- rebuild project
TODO auto add *.icf by scons script