2016-11-22 8:34 AM
Hello,
could someone explain me why CubeMX 4.17 generates two: void SystemClock_Config(void); (one static)/* Private function prototypes -----------------------------------------------*/
void SystemClock_Config(void);
void Error_Handler(void);
static void MX_GPIO_Init(void);
static void SystemClock_Config(void);
static void MX_DAC1_Init(void);
static void MX_DAC2_Init(void);
static void MX_USART2_UART_Init(void);
static void MX_USART3_UART_Init(void);
static void MX_SPI1_Init(void);
And then calls it 2 times?
HAL_Init();
/* Configure the system clock */
SystemClock_Config();
/* Initialize all configured peripherals */
MX_GPIO_Init();
SystemClock_Config();
MX_DAC1_Init();
MX_DAC2_Init();
MX_USART2_UART_Init();
MX_USART3_UART_Init();
MX_SPI1_Init();
System info: Fedora 23 MCU:STM32F373RCTx
2016-11-23 12:46 AM
Hello,
Share your .ioc file to review your configuration and help you on this.Regards2016-11-23 3:31 AM
I added .ioc and main.c files
Best regardsBartek2017-05-05 12:19 AM
Hi
Balcerzak.Bartosz
,Sorry for the late response.
There is no more issue on the latest release. Please upgrade your CubeMX release with the latest.
BR. Eric
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.