nRF5340: Compiling nrfx drivers with different compilers

Hi

we are using nrfx drivers for nRF5340 with gcc-arm-none-eabi and they work great. Now we are planning to move to another compiler and I have a couple of questions:

* IAR

I've seen many "if defined ( __ICCARM__ )". Are these drivers fully tested with this compiler? Any document/info about it?

* Keil, Green Hills

We are also evaluating other compilers. Any other information, experience with them?

Thanks!

Parents Reply
  • hi, we have a cmake based project, with arm-none-eabi-gcc compiler, and with that compiler the linker scripts work perfectly.   

    Now we are considering a migration to a different compiler (we are evaluating different ones) and thats why I'm interested in the support for them. The compilation of the drivers is one issue and the linker script is another issue, as you know. I'm indeed right now trying to convert nrf_common.ld to a scatter file for clang.

    Any experience with clang? 

Children
Related