I have been working with the Nrf52840, SDK15.2 and Segger Embedded Studio 4.20a using external GNU 7 2017-q4-major. The project builds without error on the original PC. I installed Segger Embedded Studio 4.20a and the same GNU tools on another Windows 10 machine and I am getting this error trying to build the same project.
Building ‘Next_G’ from solution ‘Next_G’ in configuration ‘Debug External’
Compiling ‘nrf_atfifo.c’
Assembler messages:
selected processor does not support `pkhbt r2,r2,r1' in Thumb mode
selected processor does not support `pkhbt r3,r3,r3,lsl#16' in Thumb mode
selected processor does not support `pkhbt r2,r1,r2,lsl#16' in Thumb mode
selected processor does not support `pkhtb r3,r3,r3,asr#16' in Thumb mode
I've looked at the project options and I didn't see any differences under GNU Compiler or Assembler settings.