Re: RE : [fpc-pascal] Variable alignment in arm-embedded

2012-06-13 Thread Tomas Hajny
On Wed, June 13, 2012 07:37, alrieckert wrote: alrieckert wrote Please just make sure about your starting address for the flash. I'm using the STM32F103CBT6 and the start address is 0x0800 and not 0x080 I've just verified it. The starting address for the flash should be 0x0800.

RE : [fpc-pascal] Variable alignment in arm-embedded

2012-06-13 Thread Koenraad Lelong
On 13-06-12 07:37, alrieckert wrote: alrieckert wrote Please just make sure about your starting address for the flash. I'm using the STM32F103CBT6 and the start address is 0x0800 and not 0x080 I've just verified it. The starting address for the flash should be 0x0800. The reason

[fpc-pascal] std::map equivalent?

2012-06-13 Thread Xiangrong Fang
Hi, Is there a std::map equivalent for free pascal? Thanks, Shannon -- ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] std::map equivalent?

2012-06-13 Thread Torsten Bonde Christiansen
On 2012-06-12 15:38, Xiangrong Fang wrote: Hi, Is there a std::map equivalent for free pascal? Thanks, Shannon If you wish to use generics you can try TFPGMap from the unit fgl. It does about the same. Kind regards, Torsten Bonde Christiansen. ___

Re: [fpc-pascal] Re: Playing sounds with standard components

2012-06-13 Thread Graeme Geldenhuys
On 13 June 2012 04:26, silvioprog silviop...@gmail.com wrote: I tried playing a wav file with this demo in attached, no errors, but no sound came out. :( You are releasing the TSoundEngine instance to quickly, and don't give SDL chance to initialize fully and play the sound. Simply add a

Re: [fpc-pascal] std::map equivalent?

2012-06-13 Thread Sven Barth
Am 13.06.2012 11:36 schrieb Alexander Shishkin alexv...@mail.ru: 12.06.2012 17:38, Xiangrong Fang пишет: Hi, Is there a std::map equivalent for free pascal? Thanks, Shannon -- ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: RE : [fpc-pascal] Variable alignment in arm-embedded

2012-06-13 Thread alrieckert
Koenraad Lelong-2 wrote About that DFU-loader, do you have to do anything special to be able to use fpc, besides modifying your start-address ? Any links to read more about it ? Now I'm using jtag to flash and debug my software. Hi Koenraad, I'm using DfuSe USB device firmware upgrade

Re: RE : [fpc-pascal] Variable alignment in arm-embedded

2012-06-13 Thread alrieckert
Tomas Hajny-2 wrote Sorry for a possibly stupid question, but is this offset (conceptionally) comparable to the -WB option used for some other targets? If so, it might make sense to extend it also for your case... Hi Tomas, Not a stupid question at all. To be totally honest, I have no

Re: [fpc-pascal] Re: Playing sounds with standard components

2012-06-13 Thread Graeme Geldenhuys
On 13 June 2012 11:36, silvioprog silviop...@gmail.com wrote: With: {.$define UseMusic} I do not hear sound ... :/ I don't know what to say, other than It works here - with or without the UseMusic define. And as I mentioned, we have a project that uses SDL a lot, on Linux and Windows,

Re: RE : RE : [fpc-pascal] Variable alignment in arm-embedded

2012-06-13 Thread alrieckert
Florian Klämpfl wrote Better submit a bug tracker entry. This way it cannot get lost. Hi Florian, Thank you, I do have an open bug on this issue here http://bugs.freepascal.org/view.php?id=22146 Freepascal Bug ID 22146 -- Regards Anton Rieckert -- View this message in context:

Re: RE : [fpc-pascal] Variable alignment in arm-embedded

2012-06-13 Thread Tomas Hajny
On Wed, June 13, 2012 12:55, alrieckert wrote: Tomas Hajny-2 wrote Sorry for a possibly stupid question, but is this offset (conceptionally) comparable to the -WB option used for some other targets? If so, it might make sense to extend it also for your case... Hi Tomas, Not a stupid

[fpc-pascal] Debug information again

2012-06-13 Thread Antonio Fortuny
Hi folks. I've got a serious prblem too with debugger and heaptrc. It look like the one described by *Rainer Stratmann *posted last month. My problem goes around the tracing of memory leaks. I've been busy with Martin on the Lazarus mailing list and he couldn't find why addresses were not

Re: [fpc-pascal] Debug information again

2012-06-13 Thread Jonas Maebe
Antonio Fortuny wrote on Wed, 13 Jun 2012: I can see the memory leak I have generated (read below) but no refecence to the line itself. Instead I receive the reference lines before and after the memory leak creation inside the rtl. The reason is that the RTL itself is compiled with

[fpc-pascal] Re: Is TEventobject obsolete?

2012-06-13 Thread Victor Campillo
El 11/06/2012 10:52, Victor Campillo escribió: Hi all, I have a doubt about Basicevent and RTLevent, according to the documentation Basicevent is obsolete and I should use RTLevent instead. I use most of the time Rtlevent but now I need to know the result of WaitFor (signaled, timeout, ect).

Re: [fpc-pascal] Debug information again

2012-06-13 Thread Martin
On 13/06/2012 14:12, Jonas Maebe wrote: Antonio Fortuny wrote on Wed, 13 Jun 2012: I can see the memory leak I have generated (read below) but no refecence to the line itself. Instead I receive the reference lines before and after the memory leak creation inside the rtl. The reason is that

Re: [fpc-pascal] Re: Is TEventobject obsolete?

2012-06-13 Thread Tomas Hajny
On 13 Jun 12, at 18:33, Victor Campillo wrote: El 11/06/2012 10:52, Victor Campillo escribió: Hi, I have a doubt about Basicevent and RTLevent, according to the documentation Basicevent is obsolete and I should use RTLevent instead. I use most of the time Rtlevent but now I need to know