After STM32 support package update, compile can't find core_cm3.h
I'm guessing I'll not be alone in this...
Update today (26 Sept 2012), compile fails to find core_cm3.h
I guess something has changed wrt paths as I have core_cm3.h.
Actualy I have two:
$ ls -l $(find . -name core_cm3.h)
-rw------- 1 gordon gordon 73002 2011-05-14 22:50 ./packages/targets/CMSIS_2/CM3/CoreSupport/core_cm3.h
-rw------- 1 gordon gordon 97338 2012-05-02 16:39 ./packages/targets/CMSIS_3/CMSIS/Include/core_cm3.h
and they seem significantly different.
Which should I use and where best to put the path change/correction, please?
I'm using STM32F2xx at this moment.
TIA,
Gordon.
-
A couple of related bits I've noticed.
My modified stm32f2xx.h has sensibly been copied to a .bak version, so I can copy it back OK.
Changes were:
#ifndef (HSE_VALUE)
#define HSE_VALUE.....etc.
#endif
to stop complaints about my already defined HSE_VALUE, and a correction:
#include "stm32f2xx_conf.h " changed to
#include "stm32f2xx_conf.h" ... removing that extraneous space between the .h and the closing quotes.
Please sign in to leave a comment.
Comments
3 comments