Startup files for STM32F4xx

Martin Nowak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 24 21:21:05 PDT 2015


On Saturday, 25 April 2015 at 01:32:16 UTC, Jens Bauer wrote:
> This is most likely where the egg cracks open. i'm pretty sure 
> we willl see people migrating to using D (at first a mixture 
> between D and C, because of the libraries from the vendors), 
> but later, there'll surely be projects which are pure D. -After 
> all, it's not difficult to convert a library file from C to D. 
> :)

The STM peripheral library really sux, verbose boilerplate for 
the simplest stuff and no type safety for the enums (find the 
difference of GPIO_PIN4 and GPIO_PinSource4 via debugging).
It's also really hard to setup all the startup files, linker 
scripts and debugger configs.

In constrast we could provide a really amazing D experience on 
those platforms.


More information about the Digitalmars-d-learn mailing list