Re: [fpc-pascal] Translation C to Pascal

2017-05-07 Thread noreply
On 2017-05-02 18:49, Marc Santhoff wrote: 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

Re: [fpc-pascal] Translation C to Pascal

2017-05-02 Thread Marc Santhoff
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

Re: [fpc-pascal] Translation C to Pascal

2017-05-02 Thread fredvs
Hello. The best (IMHO) is c2pas32 --> http://www.astonshell.com/freeware/c2pas32/ But it is old and translate into Delphi code, so still work after... Fre;D - Many thanks ;-) -- View this message in context:

[fpc-pascal] Translation C to Pascal

2017-05-01 Thread Marc Santhoff
Hi, since fpc supports a lot of intresting SoCs and Microcontrollers - has anyone really used Allwinner A20? - I need an update: Which translator do you use for making Object Pascal code from C? For headers there is the very well working h2pas. But what tool is recommendable for .c files? The