HI,

I try to compile the flash helper from the stm32f1x to support the armv6
arch too. 

I got some error when I try to assemble it. 

stm32f1x.S: Assembler messages:
stm32f1x.S:51: Error: cannot honor width suffix -- `ldrh r6,[r5],#2'
stm32f1x.S:52: Error: cannot honor width suffix -- `strh r6,[r4],#2'
stm32f1x.S:55: Error: cannot honor width suffix -- `tst r6,#1'
stm32f1x.S:57: Error: cannot honor width suffix -- `tst r6,#0x14'
stm32f1x.S:60: Error: selected processor does not support Thumb mode `it cs'
stm32f1x.S:61: Error: lo register required -- `addcs r5,r2,#8'
stm32f1x.S:64: Error: selected processor does not support Thumb mode `cbz
r1,exi
t'

The 2 thumb mode not supported I probably can try to modify it to use more
generic instruction. I try to find why the compile error with 

cannot honor width suffix -- `ldrh r6,[r5],#2'

I have no idea why i get this error. I try to google it , but could not find
the clear answer to this. 

Regards

Jonathan

Attachment: stm32f1x.S
Description: Binary data

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to