cancel
Showing results for 
Search instead for 
Did you mean: 

Modify a project base ble_pheripal_lite

battellino
Associate II

When I create my basic project   choose from ST32CUNE ide the example  ble_pheripal_lite all is ok .

The problems arrive when I want add  for example a new periperal how ADC ....

battellino_0-1719209291918.png

 

How can add in the driver the adc the stm32wbxx_hal_adc.c!!!!

Thanks

1 REPLY 1
STTwo-32
ST Employee

Hello @battellino 

First, you have to:

  • Add the "stm32wbxx_hal_adc.c" file to the Drivers>STM32WBxx_HAL_Driver of the project.
  • Add the line '#include "stm32wbxx_hal_adc.h"' on the 'stm32wbxx_it.c':STTwo32_0-1719224467971.png

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.