Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Scan fail when enable --gnu.

HI, 

I start a scanning and print advertising report when address match on nrf5 SDK v16.0.0 with S140 on nrf52840. It goes well until I enable GNU extension in Keil. I don't know why GNU extension can effect the scanning process. Anyone know why? Thanks!

Young

Parents Reply
  • Thanks for confirming. I was able to reproduce the problem here now. But I was unable to locate the problem. At first I thought it could be an issue with the SV calls made into the Softdevice, but the assembly instructions were the same with and without --gnu enabled. I was also suprised to see that everything appeared to be running normally except for not being able to establish a connection.

    Either way, it is clear that we don't support this compile option in our SDK. Please consider using Segger embedded studio if you need these C extensions in your project.

Children
Related