Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2012-06

fpc arm-embedded suitable for cortex-m4 ?

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Koenraad Lelong

Hi,

Last week I attended a seminar regarding cortex-m4. I was wondering if fpc works for that processor. AFAIK, the processor is compatible with a cortex-m3, but has a hardware floating point processor and DSP-related instructions. So if fpc would be able to use the floating point processor that would be great. I wouldn't know how to use the dsp-instructions, yet.

Thanks for any pointers,

Koenraad lelong.

Jeppe Græsdal Johansen
to Koenraad Lelong

The FPU is single precision only, as far as I remember. That made it a little hard to work with in fpc, and last I took a stab at it there weren't any affordable chips around with support even.

The DSP instructions will probably need intrinsics to be useful, otherwise I guess they could simply be added as assembler instructions. They are fairly limited in scope anyway

Koenraad Lelong wrote 15 lines
Hi, Last week I attended a seminar regarding cortex-m4. I was wondering if fpc works for that processor. AFAIK, the processor is compatible with a cortex-m3, but has a hardware floating point processor and DSP-related instructions. So if fpc would be able to use the floating point processor that would be great. I wouldn't know how to use the dsp-instructions, yet. Thanks for any pointers, Koenraad lelong. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Koenraad Lelong
to Jeppe Græsdal Johansen
Jeppe Græsdal Johansen wrote
The FPU is single precision only, as far as I remember. That made it a little hard to work with in fpc, and last I took a stab at it there weren't any affordable chips around with support even.

Hi Jeppe,

Would this be a good candidate to port fpc to cortex-m4 : http://be.farnell.com/stmicroelectronics/stm32f4discovery/board-eval-stm32f4-discovery/dp/2009276 I could sponsor one if you like ;-)
And there is no hurry. I need to finish my cortex-m3 project first and see if that processor is fast enough.

Regards,

Koenraad Lelong