On 03/19/2016 09:20 AM, Michael Ring wrote:
OK, seems you are not using trunk or an outdated version of trunk as
there are quite a number of units for stm32f4 available in current trunk:
stm32f401xx.pp
stm32f407xx.pp
stm32f411xe.pp
stm32f429xx.pp
stm32f446xx.pp
So I'd recomment to either
On 03/19/2016 07:36 AM, Michael Ring wrote:
Re-reading your initial mail I am kind of wondering what you actually did ?
When using -WpSTM32F407VG you will automagially use stm32f407xx.pp unit
which is the correct one for your chip and also stack should be correct
as ram size is set to 128MB.
On 03/19/2016 04:19 AM, Jeppe Johansen wrote:
On 03/19/2016 04:47 AM, Andrew Haines wrote:
I'm guessing there is some define I have to use and everything will
start working :)
Where do I go from here?
You need to remove classes from your used units. It needs a thread
manager to work
one-eabi-"
OS_TARGET=embedded CPU_TARGET=arm SUBARCH=armv7em
the program is compiled with
-Oparmv7em
-WpSTM32F407VG
I'm guessing there is some define I have to use and everything will
start working :)
Where do I go from here?
Thanks in advance,
Andrew Haines
On 11/29/2015 06:54 PM, Jeppe Johansen wrote:
Don't use noreturn. It signals to the compiler that your function will
not return (i.e. do an infinite loop).
Ok, this is good to know.
Use the interrupt directive for interrupt handlers. That makes them
emit the iret instruction instead of ret
On 11/29/2015 02:13 PM, Jeppe Johansen wrote:
Not sure the timer initialization is right, but it looks ok.
One thing you need is the interrupt procedure directive:
procedure TIMER0_overflow; interrupt; public name 'TIMER0_COMPA_ISR';
Otherwise it'll probably reset at some point.
Ok I got it
Hi, I am experimenting with the avr embedded compiler from trunk and am
trying to set an interrupt. I am not sure how to do it. The interrupt I
want to change is TIMER0_COMPA_ISR.
I see in the startup code there is:
.weak TIMER0_COMPA_ISR
and later there is:
.set TIMER0_COMPA_ISR,
On 11/29/2015 02:13 PM, Jeppe Johansen wrote:
Not sure the timer initialization is right, but it looks ok.
One thing you need is the interrupt procedure directive:
procedure TIMER0_overflow; interrupt; public name 'TIMER0_COMPA_ISR';
Otherwise it'll probably reset at some point.
What
Hi yes unfortunately my account was hacked. Several hundred messages were sent
in about fifteen minutes before I changed my password. Sorry for the noise.
Andrew Haines
On May 8, 2014 1:41:50 PM EDT, Tomas Hajny xhaj...@hajny.biz wrote:
On Thu, May 8, 2014 16:34, Andrew Haines wrote
Sorry for all the spam from me. The password was hacked for my email.
I changed it pretty quickly but still at least several hundred emails
were sent from my account.
Andrew
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
Hey!
http://www.shonko.com.ar/-message.friend?unesimeza=1915968pivutul=220942
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Hey there! http://7ydosug.ru/-hi.friend?elumjluf=850034hexofuve=892308
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
On 04/01/12 05:13, Marco van de Voort wrote:
In our previous episode, Michael Van Canneyt said:
I was thinking about TStrings possibly having an overloaded function Add
or AddStrings where the argument is an array of string?
procedure Add(strs: array of string); overload;
or
procedure
I was thinking about TStrings possibly having an overloaded function Add
or AddStrings where the argument is an array of string?
procedure Add(strs: array of string); overload;
or
procedure AddStrings(strs: array of string); overload;
Specifically I want this for TProcess.Parameters. since it's
Hi,
I'm trying to figure out the order of events when an elf file is executed.
I think that the _start symbol just points to the start of the .text
section and crt1 is first followed by crti followed by crtbegin. After
that I'm not sure.
I am porting fpc to the xenon platform and it uses the
On 03/16/12 15:27, Sven Barth wrote:
On 16.03.2012 19:16, Andrew Haines wrote:
Hi,
I'm trying to figure out the order of events when an elf file is
executed.
I think that the _start symbol just points to the start of the .text
section and crt1 is first followed by crti followed by crtbegin
On 01/30/12 07:19, Mark Morgan Lloyd wrote:
Nikolai Zhubr wrote:
Hi,
29.01.2012 19:32, Jy V:
[...]
on the WNDR3800 the OpenWRT installed gives
root@OpenWrt:~# uname -a
Linux OpenWrt 2.6.32.27 #5 Wed Dec 21 01:59:33 CET 2011 mips GNU/Linux
I've got wndr3800 too, and moreover I don't use it
Hi,
I was trying to build a cross complier for mips-linux and met this error:
make crossinstall PP=/usr/local/lib/fpc/2.6.0/ppcx64 OS_TARGET=linux
CPU_TARGET=mipsel
make[4]: Entering directory
`/home/andrew/programming/fpc-2.6.0/packages/fcl-web'
./fpmake clean --localunitdir=../..
On 12/12/11 13:50, Jonas Maebe wrote:
Hi,
A new FPC JVM snapshot has been put online at
http://wiki.freepascal.org/FPC_JVM
The main new feature is full fledged support for Android/Dalvik, including a
Pascal translation of the Android SDK classes. To compile for Android rather
than for
On 12/12/11 14:55, ik wrote:
I'm trying to build it from the svn repo:
http://svn.freepascal.org/svn/fpc/branches/jvmbackend/ .
I get the following error:
-
$ make CROSSOPT=-O2 -g CPU_TARGET=jvm OS_TARGET=java all
make: -iVSPTPSOTO: Command not found
make: -iSP:
Hi,
Is it possible to set a object/class procedure/function to external?
I want to do something like this:
TGObject = object
function new: PGObject; cdecl; external 'libglib.so' name 'g_object_new';
There are other cases where this maps better (i'm ignoring the 'self'
parameter in this
On 07/17/11 05:50, Hans-Peter Diettrich wrote:
Andrew Haines schrieb:
The best way I know is described here:
http://wiki.lazarus.freepascal.org/Executing_External_Programs#How_to_redirect_output_with_TProcess
Thanks for the link, I didn't know before that redirecting is such a big
issue
, count);
data.write(buffer, count);
end;
Result := Proc.ExitStatus;
proc.free;
data.free;
end;
usage:
RunCommandAndDirectOutput('diff', '-r dir1 dir2', 'diff.txt');
Regards,
Andrew Haines
___
fpc-devel maillist - fpc-devel
On 01/03/11 06:02, Jonas Maebe wrote:
On 03 Jan 2011, at 04:11, Andrew Haines wrote:
On linux32 and win32 what cc does fpc use by default?
If you mean i386 by 32, it's Delphi-style fastcall, aka register.
This calling convention is the default on all i386 platforms.
FPC's
(stdcall?) on win32 and just wanted to know if stdcall is for sure
what I want.
I know on x64 there is only one calling convention each for windows64
and everything_else_64.
On linux32 and win32 what cc does fpc use by default?
Thanks,
Andrew Haines
Hi, could somebody apply the patch in this bug
http://bugs.freepascal.org/view.php?id=18245 please? :)
Thanks
Andrew Haines
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
I had the same result trying to crosscompile to ppc386 from ppcx64.
Regards,
Andrew Haines
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
On 12/17/10 13:19, Jonas Maebe wrote:
On 17 Dec 2010, at 18:48, Andrew Haines wrote:
Is cross compilation broken?
Not any more or less than it was in the past.
make[3]: Entering directory `/home/andrew/programming/fpc/compiler'
Makefile:3582: *** recipe commences before first target
Henry Vermaak wrote:
2009/12/1 Andrew Haines andrewd...@aol.com:
Hi,
I tried to modify my fpc.cfg like so:
#IFDEF arm
#IFDEF i386
What am I doing wrong?
Hmm, I'm sure I've done something like this. Does cpuarm and cpui386
work instead of arm and i386?
Yes this was the problem
Hi,
I tried to modify my fpc.cfg like so:
#IFDEF arm
-XParm-wince-
-Xd
#ENDIF
#IFDEF i386
-Xd
-Fl/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/32
-Fl/emul/linux/x86/usr/lib32
-Fl/emul/linux/x86/lib
-Fl/lib32
-Fl/usr/lib32
-Fl/usr/local/lib32
#ENDIF
I have a ppc386(linux) and also ppcarm(wince)
my
Hi attached patch for fpdoc adds the option --chm-title so that a nicer
title than the default (rtl,fcl,lcl etc) can be used.
The second patch is the documentation for the new option
Regards,
Andrew
Index: utils/fpdoc/dw_htmlchm.inc
Hi,
This patch allows TUnzipper to load it's file from any TStream
descendant instead of only using a FileName to load a zip stream.
Regards,
Andrew Haines
Index: src/zipper.pp
===
--- src/zipper.pp (revision 13488)
+++ src
Marco van de Voort wrote:
Btw, could you have a look at this:
http://bugs.freepascal.org/view.php?id=13540
and see if you notice anything particular?
Sure, I will try to look after work today. Though I remember being
slightly confused as to how the quickref was wrong. The MS reader seemed
Micha Nelissen wrote:
Do you mind if I say I think this is a very weird event handler?
No, of course not :)
What is the behaviour? How many times is it called? What does AClosing
mean? How do I know I don't have a memory leak?
Yes you are right of course. It is confusing.
Why an
Marco van de Voort wrote:
Btw, could you have a look at this:
http://bugs.freepascal.org/view.php?id=13540
and see if you notice anything particular?
I made some changes and *think* I have fixed the problem in r13476 and
r13477. Both the ms reader and 7-zip are happy now. Afaict the
Hi,
This patch updates TUnZipper so that files can be unzipped to a custom
user stream.
To use a custom stream here is an example:
UnZip := TUnZipper.Create;
// both of the following have to be set or
// the builtin method will be used (TFileStream)
UnZip.UseCustomOutputStream := True;
Marco van de Voort wrote:
L.s.
I've made a few scripts that
(1) fix (some of) the html output of tex4ht. (fpcdocs/relinkdocs.pp)
(2) compress them to chm with generated toc and searchability
(fpcdocs/compilelatexchm.pp)
This enabled me to compile the most
Joost van der Sluis wrote:
Op maandag 15-12-2008 om 23:52 uur [tijdzone -0500], schreef Andrew
Haines:
It fixes a really terrible memory leak.
No.
Not for now at least. First wait for the testsuite-results (if there are
no tests for this particular part, then we even have to wait
It fixes a really terrible memory leak.
Thanks
Andrew
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
?
Regards,
Andrew
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Hi,
this fixes the TOC and Index when generated in a windows computer so \
is changed to /
Regards,
Andrew
Index: dw_htmlchm.inc
===
--- dw_htmlchm.inc (revision 12229)
+++ dw_htmlchm.inc (working copy)
@@ -179,12 +179,12 @@
Michael Van Canneyt wrote:
On Fri, 14 Nov 2008, Andrew Haines wrote:
hi attached is a patch to add the option --make-searchable to fpdoc for the
chm target
It can take some time to index all the documents in the rtl for example.
Applied, and merged to fixes, so it gets included
Michael Van Canneyt wrote:
On Fri, 14 Nov 2008, Andrew Haines wrote:
hi attached is a patch to add the option --make-searchable to fpdoc for the
chm target
It can take some time to index all the documents in the rtl for example.
Applied, and merged to fixes, so it gets included
hi attached is a patch to add the option --make-searchable to fpdoc for
the chm target
It can take some time to index all the documents in the rtl for example.
Regards,
Andrew
Index: dw_htmlchm.inc
===
--- dw_htmlchm.inc
Hi,
In a dynamically linked in library (not dlload) if I do
@SomeProcInSharedObject is it giving me the address of the code in
memory or something else?
For instance I tried to overwrite a proc in gtk like so:
Orig_addr := PtrUInt(@gtk_widget_get_name);
New_addr :=
processors. Also since there is no OS on these devices does
that mean that for sure fpc cannot work?
Regards,
Andrew Haines
A 32 bit microcontroller:
http://www.microcontroller.com/news/microchip_pic32.asp
___
fpc-devel maillist - fpc-devel
Andrew Haines wrote:
Andrew Haines wrote:
Hi this documents all the new chm options for fpdoc and also fixes the
Makefile.fpc file to use a tab instead of spaces for the target chm.
Regards,
Andrew
bump
ah maybe the tab character is changed by my mail client. I guess
Fabio Dell'Aria wrote:
But on the wiki I found same ppumove winnt examples:
http://www.freepascal.org/docs-html/user/userse42.html#x149-1490008.7
I suspect that those docs are outdated. It's been quite some time since
ar.exe needed to be copied to arw.exe or ld.exe needed to be copied to
Hi,
I added to the docs imformation on the chm part of fpdoc.
There are five or six options I would like to document better than the
short description --help --format=chm gives, where should they go in
fpdoc.tex?
Regards,
Andrew
Index: fpdoc.tex
Hi the attached patch is my attempt of editing the Makefile.fpc file in
the docs repositiory.
It makes it so you can build the rtl and fcl docs as chm files with:
make chm
Regards,
Andrew
Index: Makefile.fpc
===
--- Makefile.fpc
Michael Van Canneyt wrote:
On Fri, 21 Dec 2007, Andrew Haines wrote:
Hi the attached patch is my attempt of editing the Makefile.fpc file in
the docs repositiory.
It makes it so you can build the rtl and fcl docs as chm files with:
make chm
Applied. Thank you.
Wow, that was fast
Hi,
Apparently I don't know much about makefiles and the last patch I sent
makes only chm files and not html files ever.
So here is another patch that fixes that.
Also I've decided that I don't like makefiles. :)
I can't believe how long it took for me to find a solution to the problem :(
Michael Van Canneyt wrote:
On Wed, 12 Dec 2007, Andrew Haines wrote:
Andrew Haines wrote:
Hi, the last patch had a couple of writeln's that were left in by
accident :( Here's a patch.
bump :)
Can you resend the patch ? I didn't see it ?
Attached.
Andrew
Index: packages/extra/chm
Andrew Haines wrote:
Hi, the last patch had a couple of writeln's that were left in by
accident :( Here's a patch.
bump :)
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Hi,
Is it possible to make this work:
if X 3 or 10 then ...
of course it would be shorthand for: if (X3) or (X10) then
I suppose also it would be possible then to do:
if X 3 or -1 or = 4000 or = 100 then...
Andrew
___
fpc-devel
Yury Sidorov wrote:
Actually import by ordinal is implemented in works. Look at line 2416 of
ogcoff.pas
When AOrdNr 0 it indicates that import is by name, but ordinal number
is specified as hint. Whan AOrdNr 0 then import by ordinal only.
Okay yes I see that, but that is for the import
Yury Sidorov wrote:
From: Andrew Haines [EMAIL PROTECTED]
Yury Sidorov wrote:
Actually import by ordinal is implemented in works. Look at line 2416 of
ogcoff.pas
When AOrdNr 0 it indicates that import is by name, but ordinal number
is specified as hint. Whan AOrdNr 0 then import
)
Sorry if none of this makes sense, I think I may have overloaded my
brain on this one :)
Thanks,
Andrew Haines
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Hi, I've been trying to make the xbox a target for fpc and have run into
a problem. I need to pass --shared to ld.
I tried with some c code to see if --dll was enough but it didn't work
Essentially I've copied the t_win.pas and i_win.pas files and modified
them for the xbox.
[EMAIL PROTECTED]
Hi, I am trying to implement the xbox as a target for fpc and am
wondering how _WinMainCRTStartup is linked into the executable?
all I've found is sysinitpas.pp for win32 which is used by buildrtl.pp
but I don't see that buildrtl is referenced except in the makefile.
So how does the code in
Hi all,
I've been working on a compiler for creating CHM files. It's pretty much
done. :)
I've written a GUI to create and compile project files also a simple
command line program that compiles project files. And a Sitemap editor
(part the GUI) needed to make the Table of Contents and the Index.
text
This is a test of a chm that was generated with only pascal code and
uses no external libraries. How cool is that?
/end text
Please let me know if this file works for you.
Thanks,
Andrew Haines
test.chm
Description: application/chm
___
fpc-devel
is http://www.hu.freepascal.org/ hacked?
Andrew
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Daniƫl Mantione wrote:
Op Fri, 20 Oct 2006, schreef Andrew Haines:
is http://www.hu.freepascal.org/ hacked?
Not at all, it was showing Scenergy's homepage in progress :)
Ok that's good :)
Andrew
___
fpc-devel maillist - fpc-devel
Hi,
Is support for resources {$R someresource.res} planned for ppcx64?
Thanks,
Andrew
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
VisionForce wrote:
Where might I be able to find some good Win32 forms and controls
tutorials for Pascal?
All the available docs for freepascal are here:
http://www.freepascal.org/docs.html
Have you checked out Lazarus? It's a CrossPlatform Delphi-like IDE.
66 matches
Mail list logo