[fpc-pascal] Translation C to Pascal

Marc Santhoff M.Santhoff at web.de
Wed May 3 01:49:46 CEST 2017


On Di, 2017-05-02 at 08:33 -0700, fredvs wrote:
> Hello.
> 
> The best (IMHO) is c2pas32 --> http://www.astonshell.com/freeware/c2pas32/

Nice program, i fed the adc.c source from STMs fwlib for stm32f4 through
and the generated code looks fine. There is some guessing on type casts,
but I hope those can be cleared using simple scripting or the like.

> But it is old and translate into Delphi code, so still work after...

Will see that when trying the compiler on it, not enough time for mkore
than some preparations currently. Maybe switching to mode Delphi is
fine, if anything is working for embedded targets.

Many thanks,
Marc





More information about the fpc-pascal mailing list