Hi,
 

  _____  

De : [email protected] [mailto:[email protected]] De la part de
Andreas Fritiofson
Envoyé : 24 janvier 2012 16:36
À : Jonathan Dumaresq
Cc : [email protected]
Objet : Re: [OpenOCD-devel] Need small review



On Tue, Jan 24, 2012 at 4:01 PM, Jonathan Dumaresq <[email protected]>
wrote:


HI all,

I try my best to get the asm file work with the M0. I have modified the
stm32f2x.S becaus eit look simpler than the on from the stm32f1x.S


 
But they are not equivalent and needs to be matched with their corresponding
C code! 
 
yes, I know that. I just take the F2 C code to match it. If this can be the
same code, it's can help supporting other MCU ?

It's fairly simple to replace the few instructions in stm32f1x.S that are
unavailable on the M0, with their equivalent multi-instruction sequence. In
fact I just did this, will try flashing the M3 and post to gerrit soon if it
works. I also caught a small bug in my assembler code, so I had to fix that
anyway. The performance penalty of limiting the stm32f1x flash loader to M0
instructions should be insignificant.
 
Cool ! 
 
I will try this patch
 
Jonathan

/Andreas


-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 
------------------------------------------------------------------------------
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