Skip to main content
Associate II
September 26, 2023
Solved

Missing files in the X-CUBE-BLE1 package for IDB05A2 (BlueNRG-M0)

In this package for IDB05A2 https://github.com/STMicroelectronics/x-cube-ble1 

In the file Drivers/BSP/X-NUCLEO-IDB0xA1/stm32_bluenrg_ble_dma_lp.h 

there are few includes : 

 

 

#include "stm32f4xx_nucleo_bluenrg_dma_lp.h"
#include "stm32f4xx_hal_bluenrg_gpio.h"
#include "stm32f4xx_hal_bluenrg_spi.h"
#include "stm32f4xx_hal_bluenrg_dma.h"

 

 

Those files aren't in the Githup repo, where to get them? Should we build them ourselves?

This topic has been closed for replies.
Issamos
IssamosBest answer
Super User
September 26, 2023

Hello @MasterHans 

Those files are generated for peripheral initialization (as a pair of .c and .h file for each peripheral. You should configure them to be compatible with your MCU.

Best regards.

II

2 replies

Issamos
IssamosBest answer
Super User
September 26, 2023

Hello @MasterHans 

Those files are generated for peripheral initialization (as a pair of .c and .h file for each peripheral. You should configure them to be compatible with your MCU.

Best regards.

II

Associate II
September 27, 2023

Hello Issamos

Indeed I wasn't using properly CubeMX and CubeIDE, they are used to generate files.

I found this tutorial Getting Started with X-CUBE-BLE1 https://www.youtube.com/watch?v=jGljm6nxW9s and it worked perfectly. I understand how to use the packages now.

BJ.

MH