I’ve compiled some of the Dragonfly example programs using the online tools, and that seems to work fine. However, if I export them for IAR and try to compile them with the IAR toolchain, none of them compile successfully.
For example, if I export and compile the mbed-blinky example, I get assembler errors in HAL_CM4.S, with error messages such as ‘This instruction is not available in the selected cpu/core’, ‘ Undefined symbol: S16’, and ‘Undefined symbol: S31’.
If I export and compile the HTTPS example, I get compile errors in the bin2hexString methods of MTSText.cpp. If I fix those errors, I then get linker errors such as ‘no definition for “__iar_file_Mtxinit” [referenced from xsyslock_myx.old.o(dl7M_tlf.a)]. These appear to be issues with the MTSAS libraries.
What do I need to do to be able to use the mbed OS and the MTSAS libraries with the IAR toolchain?