Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52 development using clang

Hello, 

We are running a pretty massive nRF52832, SDK14.2, softdevice5.0.0, freertos based project built using Keil's "default compiler version 5"

For various reasons we are considering moving to llvm clang compiler either in SES environment or using Keil V6 compiler (which I understand is clang)

My questions are:

  1. I've seen some pretty old posts (e.g. RK's comment here, and here) that the app breaks/softdevice calls not supported when using clang compiler. Is this still the case?
  2. Is there a (reasonably) easy way to make the project clang/Keil V6 compatible?
  3. Are there any Code/RAM/Performance deltas when comparing Keil V5 and clang? (I've found this old post , but it compares gcc only and its outdated)

Thanks for any insight

Related