cancel
Showing results for 
Search instead for 
Did you mean: 

BlueNRG-MS issue when compiling the C code from the BlueNRG GUI

Miatsz
Associate

Hello all,

I have an issue when I compile the exported C code from the BlueNRG GUI. I have the STM32L152RE nucleo board with the IDB-05A1 expansion board. My exact issue is that although everything works fine when I’m using the GUI, when I export the actual C code (from the options) I cannot compile it.

I am using the IAR 8 compiler and the error I’m getting is “__disable_interrupt�? is implicit. After looking around a lot I managed to fix the error by declaring a header file located on the compiler’s files called “intrinsics.h�?. This fixed the error and allowed my to compile and flash the board but it doesn’t work.

My second attempt was to find the IAR 7.80 compiler and use it. The code was built and flashed successfully, but again, nothing happened.

I’ve tried several things but I cannot find the fault, the code is being compiled but nothing happens (advertising won’t work).

Finally, I tried the BLE MESH code (the one that pairs to a smartphone) and it works fine!

Any ideas?

Thanks a lot,

Dimitris

0 REPLIES 0