AnsweredAssumed Answered

Cubemx pinout rename and trouble

Question asked by Md Mubdiul Hasan on Nov 30, 2016
Latest reply on Dec 8, 2016 by bauch.aaron.001
Hi, 

Do  you think the cubemx  chip pin renaming could make trouble ?

We have a custom board with centered MCU STM32F070RBTx.
This is not an example code, my company made it before, I need to mordarate it.

This code was build in Coo-cox environment, I have modified some of its part after changing its main MCU pinout in cubemx.
I am using mxcontants.h from co-coox to mdk-keil.


Seems like all errors coming from HAL driver that is automatically generate in MDK keil or those typical errors are coming from mismatching of cubemx code and mxcontants.h. I was trying to look up the settings in stm32f0xx_hal_conf.h, activate and inactivated some HAL_MODULE, seems like these are conflicting with other constant exists elsewhere.
 
Help me please. Take a look on attachments. Make correction please. 
Suggested me how the best way I could generate mxconstants.h.


Attachments

Outcomes