[STM32] - Start using STLibrary on IAR

Standard

How to start using STM32 Library.

1. Download Library
ST : http://www.st.com/web/en/catalog/tools/FM147/CL1794/SC961/SS1743/PF257890
GitHub (Backup) : https://github.com/Svl2Nuk3/STM32-Library-V3.5

2. Open IAR Workspace in library folder
STM32F10x_StdPeriph_Lib_V3.5\Project\STM32F10x_StdPeriph_Template\EWARM\Project.eww

3. You must get many error in first compile.


4. Go to Option -> General Option -> Library configuration and check Use CMSIS


5. Go to Option -> C/C++ Compiler -> Preprocess and delete CoreSupport line

after delete




6. Compile project again and enjoy.