Skip to main content
Adam Hamilton
Senior
November 17, 2024
Solved

Issue with BSP Configurator

  • November 17, 2024
  • 1 reply
  • 2258 views

I am trying to create some example code for a Nucleo G474RE board and one of the initialization steps was whether I would like to use the BSP for the Virtual COM port, user LED and user button. Note that this is what the configuration looks like

AdamHamilton_0-1731836258352.png

 

Building straight out of the box we run into a build error where it cannot find COM_InitTypeDef. This is because the USE_BSP_COM_FEATURE macro is not set to 1. If I hand code this to enable the COM feature, I run into a second build error where this code is generated

void EXTI15_10_IRQHandler(void)
{
/* USER CODE BEGIN EXTI15_10_IRQn 0 */

/* USER CODE END EXTI15_10_IRQn 0 */

HAL_EXTI_IRQHandler(&H_EXTI_13);
/* USER CODE BEGIN EXTI15_10_IRQn 1 */

/* USER CODE END EXTI15_10_IRQn 1 */
}

The problem is that the handle H_EXIT_13 is never defined

My STM32CubeIDE version is

Version: 1.16.1

Build: 22882_20240916_0822 (UTC)

 

My HAL version for the G4 series is

1.6.1

 

Has this issue been raised internally?

 

One other issue with configurator is there are no parameters to configure the various peripherals. I am thinking in particular the UART parameters as the configuration header file defines BUS_UART1_BAUDRATE to be 9600 and it isn't used anywhere that I can see, and in fact, the main.c uses a hardcoded value of 115200.

 

Cheers

Best answer by STTwo-32

Hello @Adam Hamilton

This has been escalated to the concerned team for correction on the future (under internal ticket number 196480).

Best Regards.

STTwo-32

1 reply

STTwo-32
Technical Moderator
November 17, 2024

Hello @Adam Hamilton 

Could you please add your .ioc file that reproduce the issue. Also, more details on your second request will be helpful.

Best Regards.

STTwo-32 

Adam Hamilton
Senior
November 17, 2024

Here is the ioc file as requested.

The only other thing that I can think of which may be helpful is that I used the X-CUBE-TOF1 middleware addon.

Cheers

STTwo-32
STTwo-32Best answer
Technical Moderator
November 18, 2024

Hello @Adam Hamilton

This has been escalated to the concerned team for correction on the future (under internal ticket number 196480).

Best Regards.

STTwo-32