2010-05-19 11:52 AM
Crossworks + Standard Peripheral Library
2011-05-17 04:51 AM
Hi,
I just figured out how to make it work.
I copied:
core_cm3.h
stm32f10x.h
system_stm32g10x.h
to
CMSIS/Core/CM3 directory.
The question remains if its the right way of doing this.
Greetings
Thomas
2011-05-17 04:51 AM
Hi, the guys at Rowley are extremely helpful and usually reply within 24 hours. You'd be more likely to get an answer if you post in their forums
You shouldn't need to move any of the header files http://rowley.zendesk.com/forums/51116-user-forum2011-05-17 04:51 AM
Forum broken?
2011-05-17 04:51 AM
''You shouldn't need to move any of the header files''
Indeed you shouldn't! If the tools are not finding the files, that must be because they are looking in the wrong place! So the answer is to reconfigure the tools to look in the right place! The setting to control where the tools search for include files is usually called something like the ''Include Path'' - check your particular tool documentation.2011-05-17 04:51 AM
project properties -> preprocessor options -> user include directories
2011-05-17 04:51 AM
Thank you. It seems there was directory structure change bettween different CMSIS versions to make CrossWorks work with new library change user include directories.
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
Regards
Thomas