Hi there,
Is anybody working on being able to uses classes, methods, etc (OOP) in freepascal compiler for ARM embedded platform?
Cheers

Mailing lists / fpc-pascal / 2013-02
6 messages · 4 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi there,
Is anybody working on being able to uses classes, methods, etc (OOP) in freepascal compiler for ARM embedded platform?
Cheers
Juan Duran wroteHi there, Is anybody working on being able to uses classes, methods, etc (OOP) in freepascal compiler for ARM embedded platform?
What are you looking for that isn't already documented as being provided?
Is anybody working on being able to uses classes, methods, etc (OOP) in freepascal…
Juan Duran wroteIs anybody working on being able to uses classes, methods, etc (OOP) in freepascal compiler for ARM embedded platform?
OOP works fine already on that platform... what specific are you looking for?
Regards,
- Graeme -
Is anybody working on being able to uses classes, methods, etc (OOP) in freepascal…
Objects work fine on ARM embedded, the documentation on this topic might be a little thin....
The minimum thing you need to do is to initialize the heap, after you have a valid Heapmanager you can use objects out of the box:
program hellofpc;
{$mode objfpc}
uses
heapmgr;
begin
RegisterHeapBlock(pointer($20008000),$1000); //Heap config for STM32F103
...
..OOP works fine already on that platform... what specific are you looking for? - Graeme -…
Sorry about my delay answering!!!
I just wanted to know details about it (docs, some examples with code and compilation howto would be of great help)
Thanks
http://www.freepascal.org/docs.var