This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM conflicting with sate and global files

Hi Everyone !

Let me tell you more about my project, this is an circuit system that receives data from temperature sensor show it to 4digit 7-segment display, respond by buzzer . For heating up-down 6 push button key is used. Looking at the algorithm, I have use GPIO interrupt, SPI, timer etc choosing from cubemx. At it has several states, so we use state-machine,utilities and user driver those are very useful during operation. All system is helping on HAL driver, CMSIS, global c and h files and this comdef.h

I am using ARMCC and target option and including paths, all followed from example cubemx project, from install pack I have updated all.

I am getting following errors.

\states\main_state.h(22): error: #5: cannot open source input file "comdef.h": No such file or directory

Usually it comes with Visual C++, I am not sure why my project is not supporting this file in KEIL.

This code was build in Coo-cox environment, I have modified some of its part after changing its main MCU pin-out in cubemx.

2. What I have modified is, its tim.h. spi.h, gpio.h, files combine in one main.c file. Remove I2C h file. some time I did #include #define.

3. Make changes in mxconstant.h file, as we changes GPIO in cubemx,

4. I think, HAL files some how conflicts in for minor changes.

5. Somehow, state files cannot recognized by HAL drivers. Take a look here, http://www.keil.com/support/docs/1868.htm
6. Problem to include header reference, http://www.keil.com/forum/3775/

Kindly, tell me more possible reason thus I can work for that.

Parents Reply Children