Difference between revisions of "Talk:Minimal semihosted ARM Cortex-M "Hello World""

From D Wiki
Jump to: navigation, search
(windows users can apparently enjoy this as well!)
 
Line 12: Line 12:
  
 
And followed the instructions given for the most part. There is some difficulty with path and of course the commands are a bit different. Honestly It was just kinda awesome that it worked! I'll admit i got that "embedded things that work high". Also I was curious if any new development has occurred? Is this article dated in any way? can i do more and better coding in d? Where can i find information on formatting the memory layout? Thanks!
 
And followed the instructions given for the most part. There is some difficulty with path and of course the commands are a bit different. Honestly It was just kinda awesome that it worked! I'll admit i got that "embedded things that work high". Also I was curious if any new development has occurred? Is this article dated in any way? can i do more and better coding in d? Where can i find information on formatting the memory layout? Thanks!
 +
 +
 +
----
 +
I'm not sure how you were able to get a compiler binary compiled for Linux to run on Windows, but I suppose if GDC were compiled with MinGW it might work.
 +
 +
My development on this has stalled due to https://issues.dlang.org/show_bug.cgi?id=14758.  GDC is currently being merged with the 2.067 compiler front end which will finally bring us volatileLoad/Store.  I have another example at https://github.com/JinShil/stm32f42_discovery_demo but I really need support from the DMD compiler team to take this any further.

Revision as of 00:02, 18 July 2015

I was able to reproduce these results on windows! (not that linux is bad, its actually really great)

HOW?

I got:

arm-linux-gnueabihf (gdc) from [1] OpenOCD [2] ST LINK DRIVER from [3] and GDB as part of [4]


And followed the instructions given for the most part. There is some difficulty with path and of course the commands are a bit different. Honestly It was just kinda awesome that it worked! I'll admit i got that "embedded things that work high". Also I was curious if any new development has occurred? Is this article dated in any way? can i do more and better coding in d? Where can i find information on formatting the memory layout? Thanks!



I'm not sure how you were able to get a compiler binary compiled for Linux to run on Windows, but I suppose if GDC were compiled with MinGW it might work.

My development on this has stalled due to https://issues.dlang.org/show_bug.cgi?id=14758. GDC is currently being merged with the 2.067 compiler front end which will finally bring us volatileLoad/Store. I have another example at https://github.com/JinShil/stm32f42_discovery_demo but I really need support from the DMD compiler team to take this any further.