With IAR (EWARM) 8.50.9 the UART project in the SDK compiles fine.
After upgrading to IAR (EWARM) 9.10.1 or 9.10.2 I get compiler error:
Error[Go029]: Variable "sec_mode" is used uninitialized at this location in the sourcecode. D:\2\IAR\nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral\ble_app_uart\main.c 156
Any help on what the problem is?