Andrei Alexandrescu Posted in reply to Mike



Permalink Reply

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 A simple demonstration using D to bare-metal program and ARM Cortex-Mmicrocontroller. Full description with pictures and even a video can befound here:I know, random rectangles on a screen is not all that remarkable, butthere's quite a bit of work that needs to be done before one can writetheir 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 generatorEVERYTHING is in D. I've had this project on the back burner for awhile, and the Hackathon gave me the excuse I needed to get it done. Ididn't put a lot of effort into the code because I just wanted to getsomething working to prove some ideas I had, and show that D has somepotential in this domain.I hope you find it interesting. Ask me anything.Mike http:// www.reddit. com/r/ programming/ comments/ 34k3aq/ arm_cor texm_lct_ demo_written_ in_minimal_ runtime_d/ https:// www.face book.com/ dlang.org/ posts/ 1060869 977260016 https:// twitter.com/ D_Programming/ status/ 59424503 0677741569 Andrei