Re: [fpc-devel] Stellaris Update

2011-08-16 Thread John Clymer
I was missing something then ! Thanks. (It's usually the obvious things - staring me right in the face - that I miss) Given that one controller unit file can be re-used amongst multiple controllers, that leaves a giant case() statement - which I can live with. And, there is a 2 line patch to

Re: [fpc-devel] Delphi XE2 uses FPC for iOS target

2011-08-16 Thread Sven Barth
Am 15.08.2011 10:52, schrieb Michael Schnell: On 08/15/2011 12:39 AM, Graeme Geldenhuys wrote: On 14 August 2011 20:21, Sven Barth wrote: Just curious: Do you still plan to port it to Pascal? Definitely! Hmm, in the end giving us the choice between LCL/VCL, Firemonkey, fpGUI designer, and MiG

[fpc-devel] fpvectorial xml docs

2011-08-16 Thread Felipe Monteiro de Carvalho
Hello, I added xml docs for fpvectorial (fpdocs/fpvectorial.xml). It would be excellent if someone added it to the standard fcl help build. I searched a little, but I couldn't find how to do it. I see that one can add it to the makefile, but I'm not sure what is really needed to add it to the topl

Re: RE : [fpc-devel] Including Sorokin's TRegExpr in FPC

2011-08-16 Thread michael . vancanneyt
On Tue, 16 Aug 2011, Florian Klämpfl wrote: Am 16.08.2011 10:53, schrieb Felipe Monteiro de Carvalho: On Tue, Aug 2, 2011 at 11:08 AM, Michael Van Canneyt wrote: If Florian agrees (if I'm correct, he wrote the old unit), we can move the old regexpr to oldregexpr, and move this one into its

Re: RE : [fpc-devel] Including Sorokin's TRegExpr in FPC

2011-08-16 Thread Florian Klämpfl
Am 16.08.2011 10:53, schrieb Felipe Monteiro de Carvalho: > On Tue, Aug 2, 2011 at 11:08 AM, Michael Van Canneyt > wrote: >> If Florian agrees (if I'm correct, he wrote the old unit), we can move the >> old regexpr to oldregexpr, and move this one into its place. > > So, Florian, what do you thin

Re: [fpc-devel] Stellaris Update

2011-08-16 Thread Florian Klämpfl
Am 16.08.2011 12:16, schrieb John Clymer: > Stellaris ALWAYS has the Code starting at $:. > > STM32's do something odd where the FLASH starts at $0800:, and the > memory between $: and $07FF: is mappable to either the FLASH > or the built-in boot loader. (Which throws a ki

Re: [fpc-devel] Stellaris Update

2011-08-16 Thread Florian Klämpfl
Am 16.08.2011 12:16, schrieb John Clymer: > Stellaris ALWAYS has the Code starting at $:. > > STM32's do something odd where the FLASH starts at $0800:, and the > memory between $: and $07FF: is mappable to either the FLASH > or the built-in boot loader. (Which throws a ki

Re: [fpc-devel] Stellaris Update

2011-08-16 Thread Florian Klämpfl
Am 16.08.2011 12:24, schrieb John Clymer: > Sorry, missed the second set of questions > > I was able to get the stellaris part setup in t_embed.pas and > cpuinfo.pas, then I got build errors when I build an executable - it was > missing the Controller's startup file - these are in rtl\embedded

Re: [fpc-devel] Stellaris Update

2011-08-16 Thread Geoffrey Barton
On 16 Aug 2011, at 11:16, John Clymer wrote: > Stellaris ALWAYS has the Code starting at $:. > > STM32's do something odd where the FLASH starts at $0800:, and the memory > between $: and $07FF: is mappable to either the FLASH or the > built-in boot loader. (Which thro

Re: [fpc-devel] Stellaris Update

2011-08-16 Thread John Clymer
Sorry, missed the second set of questions I was able to get the stellaris part setup in t_embed.pas and cpuinfo.pas, then I got build errors when I build an executable - it was missing the Controller's startup file - these are in rtl\embedded\arm. Once FPC finishes compiling the program, i

Re: [fpc-devel] Stellaris Update

2011-08-16 Thread John Clymer
Stellaris ALWAYS has the Code starting at $:. STM32's do something odd where the FLASH starts at $0800:, and the memory between $: and $07FF: is mappable to either the FLASH or the built-in boot loader. (Which throws a kink in the works.) But, as far as the point of cat

Re: [fpc-devel] Stellaris Update

2011-08-16 Thread John Clymer
One of my current "fixes" i have in place allows using the PPCCROSSARM compiler to compile Pascal to Assembly. Once in Assembly, the files can be assembled and linked like any other program. So, you have the capability to do just about an exotic configuration you want - you just have to do so

Re: [fpc-devel] strcopy, strlcopy for PWideChar

2011-08-16 Thread Hans-Peter Diettrich
Felipe Monteiro de Carvalho schrieb: On Mon, Aug 15, 2011 at 6:41 PM, Hans-Peter Diettrich wrote: The mix (or equivalence) of character and byte counts obviously is inappropriate for "wide" versions. Perhaps "sizeof" should read "Length"? Maybe Delphi supports only UCS-2 and not UTF-16 Stri

Re: RE : [fpc-devel] Including Sorokin's TRegExpr in FPC

2011-08-16 Thread Felipe Monteiro de Carvalho
On Tue, Aug 2, 2011 at 11:08 AM, Michael Van Canneyt wrote: > If Florian agrees (if I'm correct, he wrote the old unit), we can move the > old regexpr to oldregexpr, and move this one into its place. So, Florian, what do you think? thanks, -- Felipe Monteiro de Carvalho

Re: [fpc-devel] strcopy, strlcopy for PWideChar

2011-08-16 Thread Florian Klämpfl
Am 16.08.2011 07:06, schrieb LacaK: > Hans-Peter Diettrich wrote / napísal(a): >> LacaK schrieb: >> > Or do you not like these "wide" versions at all ? It's not a matter of liking, I'm afraid. If Delphi has them, we'll have to add them too :-) Can you please add an ent

Re: [fpc-devel] Stellaris Update

2011-08-16 Thread Florian Klämpfl
Am 16.08.2011 05:39, schrieb John Clymer: > So, after some work, I have a compiler working for the LM3S8962 board (a > successful Blinking LED :-) ) > > However, as I was going through some of the various datasheets, I see > that all the Stellaris controllers have similar memory maps. That is: >

Re: [fpc-devel] Stellaris Update

2011-08-16 Thread Geoffrey Barton
On 16 Aug 2011, at 04:39, John Clymer wrote: > So, after some work, I have a compiler working for the LM3S8962 board (a > successful Blinking LED :-) ) > > However, as I was going through some of the various datasheets, I see that > all the Stellaris controllers have similar memory maps. Tha