SiliconLabs/simplicity_sdk

SDK compilation error with IAR 9.40.2

LeZerb opened this issue · 2 comments

During compilation of sl_memory_manager_retarget.c the error Unsupported IAR compiler version for standard C memory functions retarget is emitted.

Patching all occurrences of (__VER__ == 9040001) and replacing it with ((__VER__ == 9040001) || (__VER__ == 9040002)) resolves the issue

I'm getting the same issue here, I use the 9.40.2 version of IAR as recommended here and the __VER__ is actually 9020004.

I also changed every occurences and it seems to be working but I'd like an offical fix of the SDK

IAR recommended version has been changed in a recent commit to 9.40.1.
It now matches the SDK code.