Skip to content

Fix IAR compilation for cortex-m0 #4198

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

Merged
merged 1 commit into from
Apr 19, 2017

Conversation

c1728p9
Copy link
Contributor

@c1728p9 c1728p9 commented Apr 19, 2017

Include arm_math.h so __CLZ is defined for cortex-m0 when compiling for IAR. This fixes "__cmsis_iar_clz" is undefined errors.

Include arm_math.h so __CLZ is defined for cortex-m0 when compiling
for IAR. This fixes "__cmsis_iar_clz" is undefined errors.
@c1728p9
Copy link
Contributor Author

c1728p9 commented Apr 19, 2017

@bulislaw, @0xc0170

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 19, 2017

How was this tested? :-) Any m0 test report?

This should help us to move forward ! Thanks Russ

@c1728p9
Copy link
Contributor Author

c1728p9 commented Apr 19, 2017

Tested by building tests for the KL46Z.

@c1728p9
Copy link
Contributor Author

c1728p9 commented Apr 19, 2017

/morph test

@bulislaw
Copy link
Member

Great, thanks Russ!

@theotherjimmy theotherjimmy merged commit fcbd664 into ARMmbed:feature_cmsis5 Apr 19, 2017
@mbed-bot
Copy link

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 38

Build failed!

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 20, 2017

@theotherjimmy Please wait for CI to finish the job and then merge.

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

Successfully merging this pull request may close these issues.

5 participants