[Hackathon] ARM Cortex-M LCD Demo

Andrei Alexandrescu via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Fri May 1 14:01:17 PDT 2015


On 5/1/15 8:30 AM, Mike wrote:
> A simple demonstration using D to bare-metal program and ARM Cortex-M
> microcontroller.  Full description with pictures and even a video can be
> found here:
> https://github.com/JinShil/stm32f42_discovery_demo/blob/master/README.md
>
> I know, random rectangles on a screen is not all that remarkable, but
> there's quite a bit of work that needs to be done before one can write
> their first pixel.
> * Minimal D runtime
> * Memory-mapped IO features
> * Clock and flash memory configuration
> * Software initialization (data and bss segments)
> * SPI driver to configure the external LCD controller
> * Internal parallel LCD controller configuration
> * Hardware random number generator
>
> EVERYTHING is in D. I've had this project on the back burner for a
> while, and the Hackathon gave me the excuse I needed to get it done.  I
> didn't put a lot of effort into the code because I just wanted to get
> something working to prove some ideas I had, and show that D has some
> potential in this domain.
>
> I hope you find it interesting.  Ask me anything.
>
> Mike

Awesome work!

http://www.reddit.com/r/programming/comments/34k3aq/arm_cortexm_lct_demo_written_in_minimal_runtime_d/

https://www.facebook.com/dlang.org/posts/1060869977260016

https://twitter.com/D_Programming/status/594245030677741569


Andrei


More information about the Digitalmars-d-announce mailing list