mbed-os 5.12 compilation error with IAR toolchain

25 Apr 2019

Hi,

I am using mbed-os 5.12 for an application. While taking the latest mbed-os 5.12 source from master branch and compiling with IAR toolchain, I am getting compilation errors in the following file:

\mbed-os\features\FEATURE_BLE\targets\TARGET_CORDIO\stack\ble-host\sources\hci\dual_chip\hci_cmd_cte.c

/media/uploads/varb/mbed-os-5.12_iar_compilation_error.png

mbed-cli version: 1.8.3

IAR toolchain version: 7.80.2

mbed-os library taken from master branch at https://github.com/ARMmbed/mbed-os

The same application compiles with GCC_ARM toolchain but not with IAR.

I could not find any reported issue on this. Can someone help with this?

Thanks, Varsha

30 Jul 2019

There is some new mandatory pip-components introduced in 5.12. The auto-install probably fails because you might have globally installed pip which would require sudo-access. https://docsbay.net/secure-automation-achieving-least-privilege-with-ssh-sudo-and-setuid