2023-09-26 12:11 PM - edited 2023-09-26 12:58 PM
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?
Solved! Go to Solution.
2023-09-26 12:58 PM - edited 2023-09-26 01:00 PM
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
2023-09-26 12:58 PM - edited 2023-09-26 01:00 PM
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
2023-09-27 01:31 PM - edited 2023-09-27 01:32 PM
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