Thumb mode error

OP (Company: EPFL) #3788601
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
Attached files:
OP (Company: EPFL) #3788637
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

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.