diff --git a/bsp/stm32f429-apollo/rtconfig.py b/bsp/stm32f429-apollo/rtconfig.py
index 50b58434d9dac747ca6e150c67f6ded774a81c7d..527c955239ff8fa1c25dd89c07be8eb441a07b70 100644
--- a/bsp/stm32f429-apollo/rtconfig.py
+++ b/bsp/stm32f429-apollo/rtconfig.py
@@ -19,10 +19,8 @@ elif CROSS_TOOL == 'keil':
PLATFORM = 'armcc'
EXEC_PATH = r'C:/Keil_v5'
elif CROSS_TOOL == 'iar':
- print '================ERROR============================'
- print 'Not support iar yet!'
- print '================================================='
- exit(0)
+ PLATFORM = 'iar'
+ EXEC_PATH = "C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0"
if os.getenv('RTT_EXEC_PATH'):
EXEC_PATH = os.getenv('RTT_EXEC_PATH')
@@ -73,7 +71,7 @@ elif PLATFORM == 'armcc':
DEVICE = ' --cpu=cortex-m4.fp'
CFLAGS = DEVICE + ' --apcs=interwork -DSTM32F429_439xx'
AFLAGS = DEVICE
- LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread-stm32.map --scatter stm32_rom.sct'
+ LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread-stm32.map --scatter stm32f429_flash.sct'
CFLAGS += ' -I' + EXEC_PATH + '/ARM/RV31/INC'
LFLAGS += ' --libpath ' + EXEC_PATH + '/ARM/RV31/LIB'
@@ -112,7 +110,7 @@ elif PLATFORM == 'iar':
CFLAGS += ' --cpu=Cortex-M4'
CFLAGS += ' -e'
CFLAGS += ' --fpu=None'
- CFLAGS += ' --dlib_config "' + IAR_PATH + '/arm/INC/c/DLib_Config_Normal.h"'
+ CFLAGS += ' --dlib_config "' + EXEC_PATH + '/arm/INC/c/DLib_Config_Normal.h"'
CFLAGS += ' -Ol'
CFLAGS += ' --use_c++_inline'
@@ -123,10 +121,10 @@ elif PLATFORM == 'iar':
AFLAGS += ' --cpu Cortex-M4'
AFLAGS += ' --fpu None'
- LFLAGS = ' --config stm32f10x_flash.icf'
+ LFLAGS = ' --config stm32f429_flash.icf'
LFLAGS += ' --redirect _Printf=_PrintfTiny'
LFLAGS += ' --redirect _Scanf=_ScanfSmall'
LFLAGS += ' --entry __iar_program_start'
- EXEC_PATH = IAR_PATH + '/arm/bin/'
+ EXEC_PATH = EXEC_PATH + '/arm/bin/'
POST_ACTION = ''
diff --git a/bsp/stm32f429-apollo/template.uvopt b/bsp/stm32f429-apollo/template.uvopt
deleted file mode 100644
index 8c1dd5327a66881cb330818bdfde57178f673002..0000000000000000000000000000000000000000
--- a/bsp/stm32f429-apollo/template.uvopt
+++ /dev/null
@@ -1,179 +0,0 @@
-
-
-
- 1.0
-
- ### uVision Project, (C) Keil Software
-
-
- *.c
- *.s*; *.src; *.a*
- *.obj
- *.lib
- *.txt; *.h; *.inc
- *.plm
- *.cpp
-
-
-
- 0
- 0
-
-
-
- rt-thread_stm32f4xx
- 0x4
- ARM-ADS
-
- 25000000
-
- 1
- 1
- 1
- 0
-
-
- 1
- 65535
- 0
- 0
- 0
-
-
- 79
- 66
- 8
- .\build\
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 0
- 1
- 0
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- 0
- 1
-
- 255
-
-
- 0
- Datasheet
- DATASHTS\ST\STM32F4xx\DM00053488.pdf
-
-
- 1
- Reference Manual
- DATASHTS\ST\STM32F4xx\DM00031020.pdf
-
-
- 2
- Technical Reference Manual
- datashts\arm\cortex_m4\r0p1\DDI0439C_CORTEX_M4_R0P1_TRM.PDF
-
-
- 3
- Generic User Guide
- datashts\arm\cortex_m4\r0p1\DUI0553A_CORTEX_M4_DGUG.PDF
-
-
-
- 0
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 0
- 1
- 1
- 0
- 0
- 0
- 1
-
-
-
-
-
-
-
-
-
-
- BIN\UL2CM3.DLL
-
-
-
- 0
- UL2CM3
- -O207 -S0 -C0 -FO7 -FD20000000 -FC800 -FN1 -FF0STM32F4xx_1024 -FS08000000 -FL0100000)
-
-
-
-
- 0
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
-
-
-
-
-
diff --git a/bsp/stm32f429-apollo/template.uvoptx b/bsp/stm32f429-apollo/template.uvoptx
deleted file mode 100644
index ad7ef80f6e68f44aeee70ba1b330f3fc4b72554b..0000000000000000000000000000000000000000
--- a/bsp/stm32f429-apollo/template.uvoptx
+++ /dev/null
@@ -1,207 +0,0 @@
-
-
-
- 1.0
-
- ### uVision Project, (C) Keil Software
-
-
- *.c
- *.s*; *.src; *.a*
- *.obj
- *.lib
- *.txt; *.h; *.inc
- *.plm
- *.cpp
- 0
-
-
-
- 0
- 0
-
-
-
- rt_thread_stm32f429
- 0x4
- ARM-ADS
-
- 12000000
-
- 1
- 1
- 0
- 1
- 0
-
-
- 1
- 65535
- 0
- 0
- 0
-
-
- 79
- 66
- 8
- .\Listings\
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 0
- 1
- 0
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 0
- 0
-
-
- 0
- 0
- 1
-
- 18
-
-
- 0
- STM32F429I-Discovery: Blinky Lab (STM32F429I-Discovery)
- E:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.5.0\Documentation\STMicroelectronics_Blinky_Lab.pdf
-
-
- 1
- Getting Started (STM32F429I-Discovery)
- E:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.5.0\MDK\Boards\ST\STM32F429I-Discovery\Documentation\DM00092920.pdf
-
-
- 2
- User Manual (STM32F429I-Discovery)
- E:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.5.0\MDK\Boards\ST\STM32F429I-Discovery\Documentation\DM00093903.pdf
-
-
- 3
- Bill of Materials (STM32F429I-Discovery)
- E:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.5.0\MDK\Boards\ST\STM32F429I-Discovery\Documentation\stm32f429i-disco_bom.zip
-
-
- 4
- Gerber Files (STM32F429I-Discovery)
- E:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.5.0\MDK\Boards\ST\STM32F429I-Discovery\Documentation\stm32f429i-disco_gerber.zip
-
-
- 5
- Schematics (STM32F429I-Discovery)
- E:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.5.0\MDK\Boards\ST\STM32F429I-Discovery\Documentation\stm32f429i-disco_sch.zip
-
-
- 6
- STM32F429I-Discovery Web Page (STM32F429I-Discovery)
- http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF259090
-
-
-
- 0
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 0
- 1
- 1
- 1
- 1
- 0
- 0
- 1
-
-
-
-
-
-
-
-
-
-
- BIN\UL2CM3.DLL
-
-
-
- 0
- UL2CM3
- UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_1024 -FS08000000 -FL0100000 -FP0($$Device:STM32F429IGHx$CMSIS\Flash\STM32F4xx_1024.FLM))
-
-
-
-
- 0
-
-
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
-
- 0
-
-
- 0
-
-
-
-
- Source Group 1
- 0
- 0
- 0
- 0
-
-
-
diff --git a/bsp/stm32f429-apollo/template.uvproj b/bsp/stm32f429-apollo/template.uvproj
index c5331ef8c1efe0a3559c2765b2e8776f412a77e2..f67932c2c9854118bab45d17108b0fd4c942583e 100644
--- a/bsp/stm32f429-apollo/template.uvproj
+++ b/bsp/stm32f429-apollo/template.uvproj
@@ -383,7 +383,7 @@
- 1
+ 0
0
0
0
@@ -392,7 +392,7 @@
0x08000000
0x20000000
-
+ .\stm32f429_flash.sct
diff --git a/bsp/stm32f429-apollo/template.uvprojx b/bsp/stm32f429-apollo/template.uvprojx
index 885574f6606db6f2645e65491c3328c7066d171d..b13b497a6f053e06fd18fcd3e6c656983324a5cc 100644
--- a/bsp/stm32f429-apollo/template.uvprojx
+++ b/bsp/stm32f429-apollo/template.uvprojx
@@ -11,11 +11,12 @@
0x4
ARM-ADS
5060300::V5.06 update 3 (build 300)::ARMCC
+ 0
STM32F429IGHx
STMicroelectronics
- Keil.STM32F4xx_DFP.2.5.0
+ Keil.STM32F4xx_DFP.2.11.0
http://www.keil.com/pack
IRAM(0x20000000,0x30000) IRAM2(0x10000000,0x10000) IROM(0x08000000,0x100000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE
@@ -357,7 +358,7 @@
- 1
+ 0
0
0
0
@@ -366,7 +367,7 @@
0x08000000
0x20000000
-
+ .\stm32f429_flash.sct
@@ -383,4 +384,10 @@
+
+
+
+
+
+