2025-01-22 10:17 AM
Hello,
I'm pretty new to this, but bear with me...
Generating configuration code for NUCLEO-H732FX which includes MEMS. In app_mems.c the generated code appears to attempt initializing the virtual COM out with an incorrectly formed call:
/* Initialize Virtual COM Port */
BSP_COM_Init(COM1);
returning:
the declaration in stm32h7xx_nucleo.c seems to confirm the incorrect call:
#if (USE_BSP_COM_FEATURE > 0)
/**
* @brief Configures COM port.
* @PAram COM COM port to be configured.
* This parameter can be COM1
* @PAram COM_Init Pointer to a UART_HandleTypeDef structure that contains the
* configuration information for the specified USART peripheral.
* @retval BSP error code
*/
int32_t BSP_COM_Init(COM_TypeDef COM, COM_InitTypeDef *COM_Init)
I suppose I could try editing the generated code, but any other workarounds that don't require editing would be greatly appreciated!