cancel
Showing results for 
Search instead for 
Did you mean: 

Using HAL in BLUENRG-LP project generated by WiSE Studio

CFred.1
Associate

I'm starting a project with BLUENRG-LP and I used WiSE Studio to map the pins and generate the initial project. On my board, I have an LED connected to a GPIO pin I would like to blink, so I added to the while loop:

HAL_GPIO_TogglePin(GPIOA, LL_GPIO_PIN_11);
HAL_Delay(1000);

The problem I'm having is that I'm not able to build the project because the HAL functions are not recognized:

undefined reference to `HAL_GPIO_TogglePin'
undefined reference to `HAL_Delay'

I wrote #include "rf_driver_hal.h" at the beginning of the file and included the file "rf_device_hal_conf.h" in the project (which I took from the SDK HAL example), but the error persists.

I'm more used to CubeMX and I don't know exactly what the problem is here. Is there any reason why it's not working? Is there any other strategy I can use to map pins and program my board?

0 REPLIES 0