Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK compilation error with IAR 9.40.2 #8

Open
LeZerb opened this issue Jun 17, 2024 · 3 comments
Open

SDK compilation error with IAR 9.40.2 #8

LeZerb opened this issue Jun 17, 2024 · 3 comments

Comments

@LeZerb
Copy link

LeZerb commented Jun 17, 2024

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
Copy link

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
Copy link

cguillouDD commented Jul 18, 2024

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

@songhaowang
Copy link

songhaowang commented Dec 27, 2024

Met same compiling issue, there is no change with latest ssdk 2024.12.0 for this part. Personally, I think the later IAR version should works as well. __VER__ == 9040001 is a bit of a limitation, would like an official optimization +1.
Or if this specific version must be needed, code comments would be even better, otherwise, people might modify the source code and take some unknown risk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants