Crossworks + Standard Peripheral Library

Comments

5 comments

  • Avatar
    Darcy Williams

    Hi, have a look at this thread (http://rowley.zendesk.com/entries/103847-which-stm32-processor-include-file-should-be-used) and see if anything in there helps clarify

    0
    Comment actions Permalink
  • Avatar
    Lipin

    Hmm what I see in post from above is that files from:

    CMSIS/CM3/CoreSupport and CMSIS/CM3/DeviceSupport/ST/STM32F10x    (CMSIS ver 3.3.0)

    used to be in (older CMSIS versions):

    CMSIS/Core/CM3

    that is what caused all my trouble.

    Where I can find STM32F10X_STDPERIPH_LIB macro to modify it ?

     

    Greetings

    Thomas

    PS. LCD handling in under 19minut coding with CMSIS is soo nice & easy.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Project | Macros | Global.

     

    Regards

    Michael

    0
    Comment actions Permalink
  • Avatar
    Lipin

    Thank you. I finnaly found where all inculdes are. To make CrossStudio work with new 3.3.0 library you need to modify user include directories in template.

    Project explorer->Project proporties->User Incude directories and change it to:

     

    .
    $(STM32F10X_STDPERIPH_LIB)/Libraries/CMSIS/CM3/CoreSupport
    $(STM32F10X_STDPERIPH_LIB)/Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F10x
    $(STM32F10X_STDPERIPH_LIB)/Libraries/STM32F10x_StdPeriph_Driver/inc

    .$(STM32F10X_STDPERIPH_LIB)/Libraries/CMSIS/CM3/CoreSupport

    $(STM32F10X_STDPERIPH_LIB)/Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F10x

    $(STM32F10X_STDPERIPH_LIB)/Libraries/STM32F10x_StdPeriph_Driver/inc

     

    Regards

    Thomas

    0
    Comment actions Permalink
  • Avatar
    Lipin

    Hmm cant edit post. Again proper includes are:

    .

    $(STM32F10X_STDPERIPH_LIB)/Libraries/CMSIS/CM3/CoreSupport

    $(STM32F10X_STDPERIPH_LIB)/Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F10x

    $(STM32F10X_STDPERIPH_LIB)/Libraries/STM32F10x_StdPeriph_Driver/inc

     

    Regards Thomas

    0
    Comment actions Permalink

Please sign in to leave a comment.