SiliconLabs / simplicity_sdk

The Simplicity Software Development Kit (SDK) is an embedded software development platform for building IoT products based on our Series 2 and upcoming Series 3 wireless and MCU devices.
https://www.silabs.com/
Other
36 stars 6 forks source link

SDK compilation error with IAR 9.40.2 #8

Open LeZerb opened 4 months ago

LeZerb commented 4 months ago

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

cguillouDD commented 4 months ago

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

cguillouDD commented 3 months ago

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