Skip to main content
romey
Associate II
January 23, 2013
Question

Question about Startup Assembly Files

  • January 23, 2013
  • 1 reply
  • 591 views
Posted on January 24, 2013 at 00:26

I am using STM32F103RF chip, in the startup folder I see a full list of startup_stm32f10x_??.s files, which one is suitable for my case?

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    January 24, 2013
    Posted on January 24, 2013 at 02:03

    It's an XL Density part, thus the XL startup would be the one to go with

    http://www.st.com/internet/mcu/product/247495.jsp

    http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00253742.pdf

    STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_xl.s

    Your projects also needs to define the architecture, either via a #define or command line -D

     #define STM32F10X_XL     /*!< STM32F10X_XL: STM32 XL-density devices */

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