Keil Logo Arm Logo

ARMCM4.h compile error

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
Jim Wei
Posted
28-Jan-2014 15:01 GMT
Toolset
ARM
New! ARMCM4.h compile error

Using uVision V5.1.0.0 with CMSIS V3.20, I include arm_math.h which in turn includes ARMCM4.h.

I got a compile error "C:\Keil\ARM\Pack\ARM\CMSIS\3.20.4\Device\ARM\ARMCM4\Include\ARMCM4.h(131): error: #20: identifier "__I" is undefined __I uint32_t ID; /* Offset: 0x000 (R/ ) Board and FPGA Identifier */

Why do I get this error? Can anyone help? Thanks!

Jim

Read-Only
Author
Martin Guenther
Posted
29-Jan-2014 08:53 GMT
Toolset
ARM
New! RE: ARMCM4.h compile error

Hello Jim Wei,

I think you are missing the define (ARM_MATH_CM4 | ARM_MATH_CM3 | ARM_MATH_CM0) for the core for which arm_math.h is used.
Please set e.g. ARM_MATH_CM3 under 'Options for Target - C/C++ - Define'.

Best Regards,
Martin Guenther

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

ARM’s Privacy Policy has been updated. By continuing to use our site, you consent to ARM’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.

Acquisition of ARM Holdings plc. by SoftBank Group Corp.

We are pleased to inform you that on 5 September 2016, SoftBank Group Corp. acquired ARM Holdings Plc. ARM will continue to operate as an independent business within the SoftBank group.

Any current agreements between ARM Ltd (or other ARM group companies, as applicable) you / your company remain in effect as between the parties, and the parties will continue to be bound by and perform the obligations in such agreements. If you have any queries please direct these to ARMSoftbank-Notifications@arm.com.