I've been working on what I thought was a simple port to this architecture and 
have a problem with versions for the startup files. If I understand the STM 
architecture directories correctly I was expecting to simply swap out files 
used by the 'stm32f4discovery' package (ie. V1.4, dated 09-Jul-2012):
   hw/bsp/stm32f4discovery/src/arch/cortex_m4/startup_stm32f407xx.s
with this one needed by my port:
   startup_stm32f427xx.s

Unfortunately I found that the external CMSIS files located in this directory 
are dated much newer (ie. V2.5.1, 28-June-2016):
   
hw/mcu/stm/stm32f4xx/src/ext/Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f407xx.s

Naturally I assumed that this would be a straight forward port since the 
microprocessor are very similar. Does anyone have the right version of the 
startup file that I can use?

Note that from what I can tell the include files being used by 
'stm32f4discovery' port are being mixed with an older startup file version. 
Even though this appears to be working, I would suggest that the current STM 
bsp be brought up to date to use the newest CMSIS support as the global 
variables are quite a bit different. This would save others from running into 
similar confusion and porting problems.

ALan

Reply via email to