D for embedded system

Timo Sintonen t.sintonen at luukku.com
Sat Oct 20 08:27:33 PDT 2012


On Saturday, 20 October 2012 at 14:35:44 UTC, Martin Nowak wrote:
> I recently did a project on the STM32F0-Discovery board.
> After having used a nice arm-none-eabi-*/openocd toolchain I 
> wonder what is needed to build a cross-gdc.
> As these devices are really short on Flash and RAM I would've 
> only translated the peripheral headers
> without using any runtime.
> Not sure though if you can get classes without full typeinfos 
> support.
>
Object is a parent for all classes so nothing can be compiled 
without it. One test I made shows that object and typeinfo would 
take 16-20 kb flash. In addition we need some libc code and 
application code. STM32F0 may be too small. My target is STM32F4




More information about the D.gnu mailing list