Den 17-02-2015 kl. 17:21 skrev turro75:
Hi All,
I'm trying to get the fpc working on a stm32f103c8 board (maple_mini_clone).
following this http://j-software.dk/stm32f103.php
http://j-software.dk/stm32f103.php I'm able to compile (fpc-2.6.4) and
flash the bin in the flash but no way to see
Den 02-01-2015 kl. 15:07 skrev Jonas Maebe:
On 02/01/15 14:55, Bart wrote:
On 1/2/15, Jonas Maebe jonas.ma...@elis.ugent.be wrote:
The reason is that by design, FPC-compiled programs for Linux do not
depend on libc and clocale introduces a dependency on libc. It's the
same reason why you have
It will never throw an exception, but it will never be thread safe either.
Unless you are using the Interlocked* functions no datatype is
threadsafe on a modern processor(except for reference counting of
ansistrings, dynamic arrays, and interfaces; and all those use
Interlocked* functions
Den 17-05-2014 01:33, Justin Smyth skrev:
Hi everyone,
I have recently got open ocd v8 to talk to my nxp lpc 1343 via a
stlinkv2 , should fpc ( 2.6.4 or higher support this type of CPU and
does anyone have any ideas how to hook up gdb to openocd ? I am
thinking of using Lazarus to step
Den 23-02-2014 15:26, Mark Morgan Lloyd skrev:
I think I've sorted this but I'd appreciate being kicked if it looks
like I'm doing something badly wrong.
What determines the constructor that's called when an object's created?
I've got a couple of classes defined like this:
TB5500BaseUnit=
Den 23-02-2014 17:03, Mark Morgan Lloyd skrev:
Marco van de Voort wrote:
In our previous episode, Mark Morgan Lloyd said:
That logical, since the constructors are not an virtual; and
override; pair.
I find that if I explicitly decorate TB5500BaseUnit.Create() as
virtual and
]
.Ll2:
.
.Lj9:
.long -32840
.Lj7:
.long 32768
.Lj10:
.long 32840
.Lt2:
Am 13.01.14 15:15, schrieb Jeppe Græsdal Johansen:
Might be related to the mla/mls optimization which somehow has been
enabled even though it's still broken
- Reply message -
Fra
Might be related to the mla/mls optimization which somehow has been enabled
even though it's still broken
- Reply message -
Fra: Reinier Olislagers reinierolislag...@gmail.com
Dato: man., jan. 13, 2014 13:44
Emne: [fpc-pascal] ARM Linux crosscompiler: compiles but... executable gives
Den 27-12-2013 10:16, Xiangrong Fang skrev:
Hi All,
I used HeapTrc on my TTreap class:
https://github.com/xrfang/fpcollection/blob/master/src/units/treap.pas
It reported memory leak in the following procedure:
function TTreap.GetEnumerator: TTreap;
begin
Result := TTreap.Create; //-- memory
Den 22-11-2013 16:21, Brian skrev:
Mark ... sorry for the mixup. The program and unit should now be stand alone.
The unit links libc (rev6).
Regards
Brian
coret.pas
http://free-pascal-general.1045716.n5.nabble.com/file/n5717549/coret.pas
test_threads.pas
Den 23-10-2013 13:15, Carsten Bager skrev:
Hi Carsten,
Unfortunately, my target will be STM32. I used the lpc to follow the
wiki. Once I get that working I hope the STM32 will be working also. And
I would like to use fpc 2.7.1 because I know that this version has
enhanced interrupt-handling. I
Why not just skip all the encoding uncertainity of strings and use an
array of byte/char?
It'll probably be a lot faster too
Den 16-07-2013 12:17, Carsten Bager skrev:
Hi
I have a question about dynamic strings and memory allocation.
If you look at my example underneath, I depend on that a
Den 11-06-2013 04:49, m...@rpzdesign.com skrev:
Passing a Pchar gives weird, erratic behavior
Could you maybe describe this weird, erratic behavior?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
Den 18-04-2013 07:57, Reinier Olislagers skrev:
Hi all,
(FPC 2.6.2 x86, trunk x64, on Windows; found similar behaviour on Linux x64)
Busy getting DBase III memo support correct ;)
In fcl-db\src\dbase\dbf_common.pas we find this part used to e.g. find
end of file ($1A/ASCII 26) markers in a
Den 18-04-2013 07:03, silvioprog skrev:
Hi,
I tried to use TThread in a small sample, but it don't works. The code
is very simple, and I'm sending it in attached.
Thanks,
--
Silvio Clécio
My public projects - github.com/silvioprog http://github.com/silvioprog
Here's a version which I think
Den 14-02-2013 20:39, Florian Klämpfl skrev:
Am 14.02.2013 20:08, schrieb Michael Ring:
I might have found a hack to solve your linking problem for arm-embedded
on linux, unfortunately I am not an expert on gnu ld, but perhaps this
here gives a hint to somebody that knows how to properly solve
function TPNGProcessor.SwapLong( const aValue: Cardinal ): Cardinal;
begin
result := BeToN(aValue);
end;
Den 06-02-2013 09:25, Juha Manninen skrev:
A Delphi project DeleD 3-D which I try to convert, has
unit_PNGSupport with method:
function TPNGProcessor.SwapLong( const aValue: Cardinal ):
Looks like a memory corruption problem. I just tried to compile trunk
with 2.6.0 as a starting compiler on win32 and had no problems(apart
from the broken RTL).
What starting compiler and what os/cpu are you on?
Den 23-01-2013 19:28, Koenraad Lelong skrev:
On 23-01-13 17:20, Tomas Hajny
Den 24-01-2013 12:16, Koenraad Lelong skrev:
On 24-01-13 11:24, Jeppe Græsdal Johansen wrote:
Looks like a memory corruption problem. I just tried to compile trunk
with 2.6.0 as a starting compiler on win32 and had no problems(apart
from the broken RTL).
What starting compiler and what os/cpu
Den 21-01-2013 18:51, Juan Duran skrev:
Hi all,
I haven't been able to find a clear example on how to program on ARM with
interrupts. Can somebody post an example? I am specially interested in Systick
interrupts on LPC1768.
Thanks in advance
___
Den 30-10-2012 01:04, ik skrev:
Hello,
There are many places such as GitHub, Google Code, Sourceforge etc,
that hosts a lot of open source projects, libraries etc for
FPC/Pascal.
On the other hand we have fppkg that can have repositories and able to
allow us remote download and install of code.
Den 25-08-2012 18:15, Rainer Stratmann skrev:
Am Saturday 25 August 2012 15:22:59 schrieb Rainer Stratmann:
Am Saturday 25 August 2012 14:14:18 schrieb Marco van de Voort:
In our previous episode, Rainer Stratmann said:
I downloaded the daily source an wanted to build a crosscompiler for
arm
Den 26-08-2012 20:11, Rainer Stratmann skrev:
http://www.freepascal.org/develop.var
ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/source/fpc.zip
Is this always the latest trunk version?
Or is there somewhere a more current version?
___
fpc-pascal
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
Den 08-06-2012 14:28, Ludo Brands skrev:
Thanks Ludo,
I'll take that as a starting point. I hope I will not need the lost
256 bytes in the future.
I could be wrong but AFAIK if the compiler would do the alignment, the loss
can also be up to 255 bytes. Here you lose 256 bytes in all cases.
Yes,
The easiest way to do interrupt processing in Cortex-M3 processors(which
I assume you are using), is to create an interrupt vector table in SRAM
and then change the NVIC to use that. That way you can point to the
interrupt handlers at runtime.
It's true that the normal way of doing it is with
Just use the BEtoN function. That will convert whatever big-endian
number to your native endian.
I don't know what speed it has, but it sure is elegant :)
Den 16-04-2012 00:38, Giuliano Colla skrev:
I'm dealing with a large number of data coming from an external device.
They are big-endian 16
Den 03-02-2012 13:23, Koenraad Lelong skrev:
Hi,
I just had some time to look into this again.
I downloaded the latest 2.6.0 sources and mostly followed
http://wiki.freepascal.org/TARGET_Embedded to make a crosscompiler. In
/usr/lib/fpc/2.6.0 there is a ppcrossarm with a date of today when I
Den 17-01-2012 16:19, Felipe Monteiro de Carvalho skrev:
Hello,
I need to convert this:
[felipe@localhost android]$ gedit
~/Programas/android-ndk-r5/platforms/android-8/arch-arm/usr/include/jni.h
void(*CallStaticVoidMethodV)(JNIEnv*, jclass, jmethodID, va_list);
To Pascal. I tryed
Den 25-11-2011 17:53, Felipe Monteiro de Carvalho skrev:
Hello,
This is a kind of take a look at my code please question. Normally I
avoid that kind of question, but in this case my cluelessness is big
enough that it would really be excellent if someone could throw some
light here.
Well,
Den 21-11-2011 13:56, Rainer Stratmann skrev:
Is it possible to get information of the name of a var?
For Example.
var
counter : longint;
varname : shortstring;
varname := nameofvar( counter );
The content of varname then is 'counter'.
It would most likely be very easy to implement, but
There is this page for RTL related units:
http://www.freepascal.org/docs-html/rtl/index.html
I don't know about packages. I think for packages, reading the unit source
codes and looking at the examples is more efficient
Is there an online tool for browsing
Den 12-10-2011 08:25, Koenraad Lelong skrev:
On 12-10-11 08:12, Koenraad Lelong wrote:
On 11-10-11 22:05, Jeppe Græsdal Johansen wrote:
That's a problem, since that error was fixed in revision 19238.
Btw. I just tested, and I had no problem building the svn trunk version
using fpc 2.71. What
Den 11-10-2011 21:59, Koenraad Lelong skrev:
On 11-10-11 15:56, Jeppe Græsdal Johansen wrote:
Those errors seem to relate to some recent changes in the way heap
management is done. Last I checked it worked just fine, but other things
might have changed which broke it. I'll try to confirm
Den 06-10-2011 00:30, Carlos Avila skrev:
Hello
Is complex number arithmetic possible in FPC? Another post recommends
use unit so named ucomplex, but i can't find any detailed information
of this in the documentation. But, amazingly, i sucessfully probed
this small program:
PROGRAM DUMMY;
Den 26-09-2011 15:50, Mattias Gaertner skrev:
Hi,
On target 'arm' sometimes the compiler uses the controller unit.
For the codetools I need to know the exact conditions.
What flags indicate that the controller unit is used?
Mattias
It's at the bottom of loaddefaultunits in pmodules:
Den 19-09-2011 17:21, Koenraad Lelong skrev:
On 19-09-11 14:49, Mark Morgan Lloyd wrote:
Koenraad Lelong wrote:
On 04-09-10 12:40, Jeppe Johansen wrote:
Den 04-09-2010 12:37, Rainer Stratmann skrev:
Am Saturday 04 September 2010 11:57:25 schrieb Jeppe Johansen:
Den 04-09-2010 10:50, Rainer
Den 19-09-2011 22:20, Roberto P. skrev:
Hi,
I think you can get an unbranded (no IAR, no Keil, etc...) flash
programming tool with a simple (but working) software from ST for
about 30 euros.
Look here: http://www.st.com/internet/evalboard/product/251168.jsp
R#
I'm pretty sure it's still the
38 matches
Mail list logo