EmbDev.net

Forum: ARM programming with GCC/GNU tools Thumb mode error


von Pavel Y. (Company: EPFL) (pavel_47)


Attached files:

Rate this post
useful
not useful
Hello

Trying to build project I get the messages like this: (also please see 
the picture):

=== Build: Debug in udp_multicast (compiler: GNU GCC Compiler for ARM) 
===
C:\Users\Pavel\AppData\Local\Temp\ccs3i4N5.s|575|Error: selected 
processor does not support Thumb mode `it lt'
C:\Users\Pavel\AppData\Local\Temp\ccs3i4N5.s|576|Error: Thumb does not 
support conditional execution
C:\Users\Pavel\AppData\Local\Temp\ccs3i4N5.s|583|Error: unshifted 
register required -- `orr r2,r2,#196608'|
=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 0 second(s)) 
===


Thanks for any suggestion.

BR

Pavel

von hellhammer (Guest)


Rate this post
useful
not useful
Can you show the code where the error occurs?
Which processor do you use?

von Pavel Y. (Company: EPFL) (pavel_47)


Rate this post
useful
not useful
Hello Hellhammer

The problem is that compiler doesn't point to the source. According to 
the error messages, the "guilty" is a some file ccs3i4N5.s (that doesn't 
exist when I try to find it in the specified location).

The target processor is CC2538: ARM Cortex™ M3 With Code Prefetch.
I'm not sure that it's properly specified: the source code I get from 
3rd party company, which doesn't provide support.

Is it important to specify exact type of CPU.

Before I worked with another project (but with the same CPU) and it was 
OK.

BR

Pavel

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.