cancel
Showing results for 
Search instead for 
Did you mean: 

Porting a KEIL project to IAR

adrazer1980
Associate
Posted on November 04, 2015 at 20:03

Is there a tutorial/ resource page, where it I can find some guidelines about converting a KEIL project to IAR? I tried myself, but couldn't do it ( I am new in IAR toolchain). More specifically, I am looking to convert  STM32L15XX_FLASH.ld and

startup_stm32l15XX_md_vl.s linker files into IAR compitable format.

#iar #keil
1 REPLY 1
Posted on November 04, 2015 at 21:17

.ld suggests GNU linker script

There are IAR assembler files down in the CMSIS Device directories

STM32L1xx_StdPeriph_Lib_V1.3.1\Libraries\CMSIS\Device\ST\STM32L1xx\Source\Templates\iar\startup_stm32l1xx_md.s

The L1 Standard Peripheral Libraries come with a Template, clone the template, see that build and then add your own files. Use your merge tool of choice to bring things in.

STM32L1xx_StdPeriph_Lib_V1.3.1\Project\STM32L1xx_StdPeriph_Templates\EWARM\Project.ewp

Doing it from scratch, check the defines passed to the compiler, and manually add the files, and define the memory map of the part being used.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..