On Tue, 21 Jan 2025, 19:24 Frank McCormick via fpc-pascal, <
fpc-pascal@lists.freepascal.org> wrote:
>
> I guess you are reponding to the first message I posted to the list
> yesterday when I was trying to compile the ncrt package I had downloaded
> from the net. That was BEFORE I realized the who
On Tue, Jan 21, 2025 at 2:34 PM Frank McCormick via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> Free Pascal Compiler version 3.2.2 [2025/01/10] for x86_64
> Copyright (c) 1993-2021 by Florian Klaempfl and others
> Target OS: Linux for x86-64
> Compiling ncrt.pp
> ncrt.inc(225,11) Error:
How can I provide functionality for chdir, mkdir etc. ? The current
implementation in freertos/sysdir.inc
is hard coded with IO errors, is there a way to override the default
implementation?
I have implemented RTL file handling functionality by assigning the
rtl_do_* procedural variables.
Should
The official FPC documentation can be accessed from here:
https://www.freepascal.org/docs.html
These are obviously reference documentation, not getting started or how-to
tutorials.
The documentation is hosted here:
https://gitlab.com/freepascal.org/fpc/documentation
Issues reporting mistakes/omissi
On Wed, Oct 16, 2024 at 7:42 PM Alexey T. via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> 15 Oct news at Hacker News:
> https://floss.fund/blog/announcing-floss-fund/
> They pay 1M $ per year, all FPC needs to apply is the funding.json in
> the repo. And then submit via online form.
> F
On Wed, Oct 16, 2024 at 2:12 AM Rainer Stratmann via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
>
> - Fpcupdeluxe: A good idea. But it doesn't work. I have tried to install
> an
> AVR crosscompiler on a Linux system. Fatal: Can't find unit Infodrwf used
> by
> Project1. And ‘Project1’ do
On Tue, Jul 9, 2024 at 2:56 PM Adriaan van Os via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> Adriaan van Os via fpc-pascal wrote:
> > Christo Crause via fpc-pascal wrote:
> >> PS. My avr binutils version is 2.26 - old, but your version is about
> >> 1
On Sun, 7 Jul 2024, 22:35 Adriaan van Os via fpc-pascal, <
fpc-pascal@lists.freepascal.org> wrote:
> Christo Crause via fpc-pascal wrote:
>
> > The assembly line you showed above is obviously missing a closing
> > parenthesis, so the error from avr-as is cor
On Sun, Jul 7, 2024 at 8:15 PM Adriaan van Os via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> Christo Crause via fpc-pascal wrote:
>
> > The level of support for AVR in 3.0.4 was rudimentary, only atmega128 is
> > supported in the MakeFIle. The support for AVR
On Sun, Jul 7, 2024 at 3:55 PM Adriaan van Os via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> I am trying to build fpc for Arduino on MacOS 10.8.5, using the fpc-3.0.4
> sources and fpc-3.0.4 as
> bootstrap compiler. GNU binutils have been built and installed (but not
> yet avrdude). As
On Fri, Jun 28, 2024 at 5:31 PM Hairy Pixels via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> Thanks I'll check that out. I'm not using Lazarus so tons of dependencies
> won't work but maybe I can learn something. I'm on macOS too so if this is
> using system calls it may not be supporte
On Fri, Jun 28, 2024 at 2:34 PM Hairy Pixels via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> I had a large function which I was profiling with MilliSecondsBetween but
> I split it to be called many different times and now it's not accumulating
> the total time correctly because time is
On Tue, May 21, 2024 at 10:37 AM Ched via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> In https://www.freepascal.org/docs-html/prog/progap7.html , there is
> specified that
> CPUARM Free Pascal target is an ARM 32-bit processor.
>
> What about ARM 64-bit processors like the ones in Rasp
On Mon, May 1, 2023 at 4:24 PM Norman Dunbar via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> On 30/04/2023 16:59, Michael Van Canneyt via fpc-pascal wrote:
>
> > The repo is not private.
> Ok, thanks. my assumption was obviously incorrect then.
>
>
> > One possible reason is that the re
On Thu, Apr 13, 2023 at 11:39 AM Tomas Hajny via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> On 2023-04-13 11:23, Jacob Kroon via fpc-pascal wrote:
>
>
> Hi Jacob,
>
> .
> .
> > Ok, maybe this "Joanna" is on this mailing list and would care to
> > elaborate more why I got banned ?
>
On Wed, Apr 5, 2023 at 12:43 PM Bo Berglund via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> On Wed, 5 Apr 2023 11:40:09 +0200, Christo Crause via fpc-pascal
> wrote:
> >Looking at the datasheet for CAT24C128, Fig. 6 Byte Write Sequence, shows
> >no repeated
On Wed, Apr 5, 2023 at 11:22 AM Jean SUZINEAU via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> May be you could get the source code of i2ctransfer from i2c-tools and
> compare it with the code in i2c.pas ?
>
Good idea, that led to the suggestion to try the WriteBytes method which is
sim
On Wed, Apr 5, 2023 at 7:55 AM Bo Berglund via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> On Wed, 05 Apr 2023 00:33:50 +0200, Bo Berglund via fpc-pascal
>
> I *can* write a sequence of bytes into the EEPROM succsessfully using an
> i2c-tools command like this:
>
> i2ctransfer -y 1 w18@
See comments below.
On Tue, Apr 4, 2023 at 6:52 PM Bo Berglund via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> I use the method:
>
> i2cMaster.WriteBytesToReg(i2caddress: byte; regAddress: uint16; data:
> PByte;
> size: byte): boolean;)
>
> With data specified as follows in the call:
>
On Sun, Apr 2, 2023 at 9:30 PM Bo Berglund via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> Is there a reason that there is no i2c_write_reg demo in the github
> package?
>
I haven't gotten round to that, waiting for hardware to test the code with.
I will try to write one so I can test
On Sat, Apr 1, 2023 at 9:57 PM Bo Berglund via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> Question:
> Can I use Linux file system commands to read/write the data on the i2c
> EEPROM
> memory device and if so how from fpc?
>
To some extent it is possible to handle i2c transactions as f
On Tue, Dec 27, 2022 at 6:47 PM Anthony Walter via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> My idea is to implement a web page system where syntax highlight code is
> presented like in the Lazarus IDE, and special links are peppered through
> and explanation of how and why Pascal wor
On Mon, Oct 10, 2022 at 11:47 AM Jinyang He via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> We, a team working for Loongson, are ready to submit some patches which
> support a new architecture named LoongArch for FreePascal. [1] is one of
> repositories about LoongArch. LoongArch is a R
On Mon, Sep 19, 2022 at 7:51 AM Christo Crause
wrote:
>
>
> On Mon, 19 Sep 2022, 03:18 James Richters via fpc-pascal, <
> fpc-pascal@lists.freepascal.org> wrote:
>
>> I can't seem to find any documentation or SerRead or SerReadTimeout..
>> searching for ei
On Mon, 19 Sep 2022, 03:18 James Richters via fpc-pascal, <
fpc-pascal@lists.freepascal.org> wrote:
> I can't seem to find any documentation or SerRead or SerReadTimeout..
> searching for either along with Freepascal doesn't get me any results.
> If it exists somewhere and I am just missing it, ca
On Mon, 12 Sep 2022, 02:59 Terry A. Haimann via fpc-pascal, <
fpc-pascal@lists.freepascal.org> wrote:
> Trying to compile a small test pascal program on a arm cpu. I beleive
> it is an a53. Libre Le Potato
>
> I am getting the following error:
>
> Error: Error while assembling exitcode 1
>
> Tha
On Mon, Jan 3, 2022 at 3:28 PM James Richters via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> I’m curious if there is some way, perhaps with some directive or something
> to force a debug backtrace to happen, but without an error
>
Try calling Dump_Stack in your code:
https://freepasca
On Sat, 6 Nov 2021, 02:09 James Richters via fpc-pascal, <
fpc-pascal@lists.freepascal.org> wrote:
> Do I need to use the source to re-install FPC every time I want to update
> it? If so how is this accomplished?
>
> Or is there a better way to just update everything when I update the
> repositor
On Fri, Sep 3, 2021 at 8:02 AM LacaK via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> Can we say that in Pascal the result of:
>E1 shl E2
> is of same type as E1 ?
> (so if E1 is LongWord then result is LongWord also?)
>
> What if there is an expression on left side:
>(E1*x) shl
On Thu, Aug 12, 2021 at 7:34 AM LacaK via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
>
> I have related question: in SVN was possible to checkout specific
> sub-directory (for example if I am interested in fcl-db package only I
> checkedout only this sub-directory).
> Is it possible with
On Thu, Aug 12, 2021 at 12:50 AM Bo Berglund via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> On Wed, 11 Aug 2021 22:22:54 +0200 (CEST), Michael Van Canneyt via
> fpc-pascal
> wrote:
>
> ># Get sources
> >git clone https://gitlab.com/freepascal.org/fpc/source.git $FPCVER
> ># switch to
On Sat, Apr 10, 2021 at 10:14 AM Guillermo via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> Hi pascaloids,
>
> I'm doing DOS development for fun and, after installing the compiler
> (was quite hard), I'm having problems handling interrupts.
>
> I started with keyboard and it doesn't work
On Sat, Feb 20, 2021 at 10:48 AM CSlemaker via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> Title: OS Upgrade Windows 7 to Windows 10 – Free Pascal Consequences ?
>
> I am currently running under Windows 7 but I MUST upgrade to Windows 10
> Pro.
>
> Will I need to recompile my Pascal s
On Tue, Feb 9, 2021 at 2:11 PM Luis Henrique via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> At
> https://lists.freepascal.org/pipermail/fpc-devel/2021-February/043569.html
> I saw the syntax "value: x: y".
> > str(value:6:3, valuestr);
> What is the name of this and where is it documen
On Wed, Sep 23, 2020 at 4:25 PM dano none via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> end;
> my_base := my_base + 15;
> writeln('current base ',my_base:2);
> ch := ReadKey;
> { end; { end i = column indexer }}
>
A different way
On Sun, Aug 30, 2020 at 11:26 AM Michael Van Canneyt via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
>
>
> On Sun, 30 Aug 2020, Christo Crause via fpc-pascal wrote:
>
> > On Sun, Aug 30, 2020 at 9:45 AM Dmitry Boyarintsev via fpc-pascal <
> > fpc-p
On Sun, Aug 30, 2020 at 9:45 AM Dmitry Boyarintsev via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> The site opens up with:
>
> APPLICATION ERROR #400
>
I also get the above mentioned error when trying to open the website.
___
fpc-pascal maill
On Fri, Aug 21, 2020 at 12:05 PM Bo Berglund via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> So hence my question:
> Is there something bad about serial (built-in to fpc) that makes it
> unsuitable for use?
>
In my limited experience the FPC serial unit is a bit more low level than
the
On Tue, 7 Jul 2020, 11:17 Joost van der Sluis, wrote:
> Hi all,
>
> Last weekend I started on the ability to evaluate functions within
> fpDebug. And I got quite far. It is a proof-of-concept, still needs a
> lot of work. But it works!
>
Great news! I guess this is a step towards evaluating obje
On Wed, May 13, 2020 at 9:31 AM Michael Van Canneyt
wrote:
>
> On Wed, 13 May 2020, Christo Crause via fpc-pascal wrote:
>
> > On Tue, May 12, 2020 at 11:11 PM Noel Duffy via fpc-pascal <
> > fpc-pascal@lists.freepascal.org> wrote:
> >
> >> Sure, I ca
On Tue, May 12, 2020 at 11:11 PM Noel Duffy via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> Sure, I can do that. I will look at creating a patch for this. For your
> purposes, do you prefer to have a new bug in the bug tracker opened for
> tracking this change?
>
If your patch is relat
On Wed, May 6, 2020 at 12:19 PM Noel Duffy via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> So I guess the question is, is it worth the effort to make
> StrToHostAddr6 RFC4291 compliant? Is that something the FPC team would
> want, or do they just not use the sockets unit?
>
There have
On Thu, 23 Apr 2020, 21:43 Ryan Joseph via fpc-pascal, <
fpc-pascal@lists.freepascal.org> wrote:
> ok, did this and now getting:
>
> /Users/ryanjoseph/Developer/lazarus/components/lazdebuggergdbmi/gdbmidebugger.pp(63,16)
> Fatal: (10022) Can't find unit PropEdits used by GDBMIDebugger
>
> svn up s
On Fri, 10 Apr 2020, 05:09 fredvs via fpc-pascal, <
fpc-pascal@lists.freepascal.org> wrote:
> Hello.
>
> I have done a fork of fpc fixes_3_2 and made some modification of original
> code.
>
> May I distribute the fpc binary of that patched version with the units
> files, ready to use out-of-the-bo
On Tue, Feb 11, 2020 at 4:57 PM Luis - SoftSAT Sistemas <
l...@softsatsistemas.com.br> wrote:
> > You are using relative paths in -Fu and your current folder is
> c:\lazarus\fpc\3.0.4\source\packages\fcl-db, so
> > -Fu../../rtl should expand to -Fuc:\lazarus\fpc\3.0.4\source\rtl - the
> compiler i
On Tue, Feb 11, 2020 at 3:23 PM Luis - SoftSAT Sistemas via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:
> Looking at unit search path the compiler are looking at "sources" dir
> instead of "units" dir with the compiled units and i dont know how to fix
> this.
>
> C:\lazarus\fpc\3.0.4\sour
On Tue, Oct 29, 2019 at 8:27 AM denisgolovan wrote:
> Hi all
>
> Looks like Graeme's FPC git mirror stopped syncing with svn.
> I've sent a private mail, but no response.
> Could somebody help?
>
It appears that the last commit on svn was on the 27th (
https://svn.freepascal.org/cgi-bin/viewvc.c
A user space library written in C: https://github.com/jgarff/rpi_ws281x
On Thu, Oct 24, 2019 at 3:54 PM James Richters <
ja...@productionautomation.net> wrote:
> I'm thinking about making a controller for SK6812 Individually addressable
> RGB+W Led strips, perhaps something I can run on a Raspber
On Sun, Oct 13, 2019 at 8:03 PM Ched <
charles.edouard.des.vastes.vig...@gmail.com> wrote:
> Hello,
>
> In https://www.freepascal.org/docs-html/rtl/sysutils/filenameroutines.html
> ,
>
> FileSetDate <
> https://www.freepascal.org/docs-html/rtl/sysutils/filesetdate.html>Get
> file dates should be
On Wed, Oct 9, 2019 at 8:04 PM Ryan Joseph wrote:
> Updated from svn just now (r43157) and tried to build but I get this
> error. Pasted below is the source from itolitlsreader.pas and it appears
> it’s totally mangled. Are other users seeing this also or did my SVN break
> something?
>
> itolitl
On Wed, Sep 11, 2019 at 7:06 AM Ralf Quint wrote:
> On 9/10/2019 4:26 PM, wkitt...@windstream.net wrote:
> > On 9/9/19 10:11 AM, James Richters wrote:
> >> Pascal doesn't have things like step...
> >
> > hunh??? i don't think that's right but i'm just catching up after
> > several 10+ hours days
On Fri, 12 Jul 2019, 14:19 Bo Berglund, wrote:
> When I install FPC/Lazarus on new Linux systems I use a script I wrote
> several years ago. It is cofigured for the actual versions to install
> but otherwise it is self-contained.
>
> What it does concerning fpc is:
> - Get the tagged version of t
On Thu, Apr 4, 2019 at 1:13 PM LacaK wrote:
> Answering my own question:
>
> When I build cross compiler using FpcUpDeluxe, where I set "Cross Build
> Options Override" to "-Cparmv7A" (The Cortex -A9 cores implement the
> ARMv7-A architecture) then I can sucessfully compile my application for
> W
On Sat, Mar 9, 2019 at 12:13 AM Anthony Walter wrote:
> ... The {$asmmode intel} compiler directive changes the asm syntax of
> what's allowed in your unit, but it does not change how dissasembled code
> is displayed in the Lazarus dissasembler view. I'd like to see instructions
> dissambled in t
On Fri, 19 Oct 2018, 16:40 christo, wrote:
> On 2018/10/18 09:26, Mattias Gaertner via fpc-pascal wrote:
> > How to control where 'make install' puts the libraries (e.g.
> > libpas2js.so)?
> >
> > I tried "INSTALL_LIBDIR=~/tmp/lib64", but that mo
On 2018/10/18 09:26, Mattias Gaertner via fpc-pascal wrote:
How to control where 'make install' puts the libraries (e.g.
libpas2js.so)?
I tried "INSTALL_LIBDIR=~/tmp/lib64", but that moves everything *except*
libraries to "~/tmp/lib64".
See bug https://bugs.freepascal.org/view.php?id=34346
In
On 15/10/2018 23:56, Sven Barth via fpc-pascal wrote:
christo mailto:christo.cra...@gmail.com>>
schrieb am Mo., 15. Okt. 2018, 21:41:
On 15/10/2018 20:07, Sven Barth via fpc-pascal wrote:
christo mailto:christo.cra...@gmail.com>> schrieb am Mo., 15. Okt. 2018,
18:22:
On 15/10/2018 20:07, Sven Barth via fpc-pascal wrote:
christo mailto:christo.cra...@gmail.com>>
schrieb am Mo., 15. Okt. 2018, 18:22:
I'm trying to build a fpmake project for the RTL.
Are you aware that the RTL already has a fpmake project? It might not
be entirely up to d
I'm trying to build a fpmake project for the RTL. One problem I'm
struggling with is how to add an assembler file to the package and
assign a custom command to be executed instead of calling the compiler.
I've tried the following, which does call "as" but then it follows with
an error because
On Sat, 2018-08-25 at 10:56 -0400, john youngquist wrote:
> I updated to FPC 3.0.4 and can't get breakpoints to work.
>
> I get a "can't set breakpoint message" on all lines.
>
> I am in debug mode and have "generate debug information" enabled.
>
> This all worked fine in the previous version. I
On Wed, 2018-08-08 at 19:24 +0800, Dennis wrote:
>
> Christo Crause wrote:
> >
> > On Tue, Aug 7, 2018 at 9:42 AM, Dennis Poon wrote:
> > > Only 20 seconds. But sometimes, when I modify some units used by other
> > > units which are in
> > > turn
On Tue, Aug 7, 2018 at 9:42 AM, Dennis Poon wrote:
> Only 20 seconds. But sometimes, when I modify some units used by other
> units which are in turn used by other units, FPC throws the following
> exception when I compile (not build)
> uspdata.pas(228,50) Error: Compilation raised exception inte
On Thu, 2018-07-05 at 00:20 +0200, Tomas Hajny wrote:
> If you look into fpmake.pp in the same directory, you'll find out that the
> proper command line for calling data2inc should be:
>
> data2inc -b -s fpcmake.ini fpcmake.inc fpcmakeini
>
> (add paths as necessary, e.g. the path to data2inc if
On Wed, 2018-07-04 at 11:57 +0200, Tomas Hajny wrote:
> The .ini file should be translated to .inc using the data2inc utility
> (included with FPC as well) and then incorporated into the binary. This
> should happen automatically, but let's make sure it was the case for you
> as well.
The .inc fil
On Wed, Jul 4, 2018 at 9:21 AM, Tomas Hajny wrote:
> On Wed, July 4, 2018 07:53, Christo wrote:
> > Any hints on how to compile and use fpcmake so that changes in the ini
> > file ends up in the generated MakeFile?
>
> I assume that you updated fpcmake.ini in /fpcsrc/ut
On Sun, 2017-12-03 at 19:05 +0100, Florian Klämpfl wrote:
> Am 29.11.2017 um 06:36 schrieb Christo:
> >
> > On Sun, 2017-11-26 at 17:19 +0100, Michael Ring wrote:
> > >
> > > I am looking for an easy way to have all cortex-m compilers available
> > > a
On 28 Feb 2018 4:22 am, "R0b0t1" wrote:
I will be following up with you off list, since you do not seem to mind.
I'm also interested in the general topic of incorporating embedded
controllers (avr at the moment) into fpc. It would be useful to me if I
could follow at least the general highligh
Michael, I have just noticed a target-subdir folder in
svn.freepascal.org/svn/fpc/branches/target-subdir/
It seems as if rev 30766 contains Florian's first modifications to
implementation the subarch subfolder option.
On 4 Dec 2017 9:23 am, "Michael Ring" wrote:
Hi Florian!
I would like to wor
On Mon, 2017-12-04 at 08:22 +0100, Michael Ring wrote:
> Hi Florian!
>
> I would like to work on this patch, can you share it with me?
>
> Thank you,
>
> Michael
>
>
> Am 03.12.17 um 19:05 schrieb Florian Klämpfl:
> >
> > Am 29.11.2017 um 06:36 sch
The following code doesn't compile for the AVR target (FPC 38288):
program macrotest;
begin
asm
{$ifdef FPC_SRAMSIZE}
sts FPC_SRAMSIZE , r31 // macrotest.pp(5,9) Error: Unknown identifier
"FPC_SRAMSIZE"
{$endif}
end;
end.
Is the use of macros in assembler blocks allowed?
(Compiled
On Sun, 2018-01-07 at 11:30 +0100, Florian Klaempfl wrote:
> Am 07.01.2018 um 06:12 schrieb Christo:
> >
> > On Sun, 2018-01-07 at 05:59 +0200, Christo wrote:
> > >
> > > __missing_command_FPCMAKE -p -Tavr-embedded Makefile.fpc
> > Adding fpc_baseinfo to
On Sun, 2018-01-07 at 05:59 +0200, Christo wrote:
> __missing_command_FPCMAKE -p -Tavr-embedded Makefile.fpc
Adding fpc_baseinfo to the make command revealed that FPCMAKE was not defined
(I guess it should
have been obvious from the error message in the first place). I added the path
to fpcm
inates with the error, see below for the last
couple of lines of output:
make -C tstunits FPC_VERSION= FPC=/home/christo/fpc/3.1.1/compiler/ppcrossavr
CPU_TARGET=avr OS_TARGET=embedded SUBARCH=avr5 'OPT=-XPavr- -Fd' CCOMPILER=
BINUTILSPREFIX=
make[2]: Entering directory '/home/christo/
On Mon, 2017-12-04 at 08:22 +0100, Michael Ring wrote:
> Hi Florian!
>
> I would like to work on this patch, can you share it with me?
> Am 03.12.17 um 19:05 schrieb Florian Klämpfl:
> >
> > Am 29.11.2017 um 06:36 schrieb Christo:
> > >
> > > On Su
On Sun, 2017-11-26 at 17:19 +0100, Michael Ring wrote:
> I am looking for an easy way to have all cortex-m compilers available
> at the same time to be able to do automated building/testing
There is a similar problem with the AVR target having several
subarchitectures. One option I think is to ha
On 28 Nov 2017 9:04 PM, "Роман via fpc-pascal" <
fpc-pascal@lists.freepascal.org> wrote:
> Can I run SortAndInitialize before 'main' without additional user actions?
Maybe not exactly what you want but you could probably add the
SortAndInitialize procedure to the initialization section of a new un
On Thu, 2017-11-09 at 02:36 +0100, Marc Santhoff wrote:
> Additionally there seems to be no compiler switch for changing the
> configuration file to use, only -n for ignoring it. Is ist possible
> to
> name the .cfg on the command line or how would it be done better?
Yes, specify alternative confi
>> They were used mainly back at TP times to have procedure local static
variables (cause that is how they behave as inside procedures).
>
> Can we make the {$J-} as default in fpc and objfpc mode for the next
major release?
+1
___
fpc-pascal maillist -
On Fri, Aug 18, 2017 at 9:39 AM, Graeme Geldenhuys <
mailingli...@geldenhuys.co.uk> wrote:
> On 2017-08-18 07:51, Christo Crause wrote:
>
>> I've also just noted a typing error in GetSerialPortNames: '/dev/ttyAM*'
>> should rather be '/dev/ttyACM*
I see the common Linux port names got added to Synaser (trunk) but the BDS
variants (https://sourceforge.net/p/synalist/bugs/21/) wasn't added.
I've also just noted a typing error in GetSerialPortNames: '/dev/ttyAM*'
should rather be '/dev/ttyACM*''
On Thu, Aug 17, 2017 at 3:45 PM, Graeme Geldenh
On 04 Jun 2017 8:29 PM, "Mark Morgan Lloyd" <
markmll.fpc-pas...@telemetry.co.uk> wrote:
>
> What sort of targets are people looking at, what sort of debugging is
available, and has anybody experimented with the "AVR Dragon"?
As a hobbyist I've built some simple projects with arduino and then
stan
On Sat, 2017-05-27 at 12:58 +0200, Schindler Karl-Michael wrote:
> >
> > Am 27.05.2017 um 11:26 schrieb fpc-pascal-request@lists.freepascal.
> > org:
> >
> > Date: Sat, 27 May 2017 07:58:23 +0200
> > From: Christo
> >
> > A recent change
2/compiler/ppcx64
When starting to compile the rtl
make[2]: Entering directory '/home/christo/fpc/3.1.1'
make -C rtl all
make[3]: Entering directory '/home/christo/fpc/3.1.1/rtl'
make -C embedded all
make[4]: Entering directory '/home/christo/fpc/3.1.1/rtl/embedded'
/bin/mk
I suppose you have to allocate memory and create a pointer to a pointer to
this memory which you pass to the function.
On 16 Apr 2017 4:58 PM, "fredvs" wrote:
> Hello.
>
> A C method is defined like this:
>
> MPG123_EXPORT int mpg123_icy(mpg123_handle *mh, char **icy_meta);
>
> and translated in
On Thu, 2016-07-28 at 10:14 +0200, Koenraad Lelong wrote:
> When I enter 192.168.185.297 (i.e. not a valid ipv4 address) in
> IPAddressStr I get
> 192.168.185.41
> not the expected error-message.
>
> According to the rtl-manual :
>
> function StrToHostAddr(IP: AnsiString) : in_addr
> Description
There is a lot of useful information in avr-gcc code, once you can see past
the peculiarities of C. See the implementation of avr-gcc's delay here:
cvs.savannah.gnu.org/viewvc/avr-libc/include/util/delay.h and delay_basic.h
in the same folder. Basically they use op codes with fixed cpu cycles to
co
a udev rule
which adds the permissions to any (or according to some filter rules)
usb device on the fly. This is particularly useful if the kernel
assigns different names to different devices. I have the following rule
in /etc/udev/rules.d/50-permissions-on-unclaimed-usb
On 13 Aug 2015 10:15 PM, "Chris Moody" wrote:
>
> Hi all,
>
> I have this procedure in my program:
>
> procedure DisplayNode (var node:astring);
> var c, i:integer;
> begin
> i:=SizeOf(node);
> if (i=0) then begin
> writeln ('node was empty / non existant');
> exit;
> end;
> for c:
uthor of this unit.
I think the original license & copyright should be restored for this
unit, any comments?
Best wishes,
Christo
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Sun, 2014-02-02 at 23:13 +0100, Fred van Stappen wrote:
> - Here example for function inside a class of myunit:
>
> library mylib ;
>
> uses
> myunit;
>
> function mylibclassfunction() : integer; cdecl;
> var
> myclass : TMyUnitClass; /// class defined in myunit (if can be a
> variable outsi
On Tue, 2012-09-25 at 22:16 +0100, Henry Vermaak wrote:
> On 25 September 2012 20:57, Christo wrote:
> > Any ideas on how to define the calling convention in the import unit so
> > that it is either stdcall or cdecl depending on the target OS?
>
> I've used a macro
on the target OS?
Regards,
Christo
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Tue, 2012-09-25 at 09:41 +0100, Graeme Geldenhuys wrote:
> then do...
>
> cd pas-libusb
> git checkout libusb-1.0
Thanks Graeme (and Henry). Obviously I'm new to git and tried commands
similar to svn which didn't work quite as expec
something trivial I'm missing.
Regards,
Christo
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
I have seen several header translations of the various libusb variants
(0.1, 1.0 & win32) scattered on the web and forums. I have also noticed
several dead links, a typo or two and some missing function declaration in
some of the available pascal translations.
Would it not make sense to include a
Some proof of the concept: ClassiOS
(http://www.petros-project.com/index.php/products/classios.html) was
written in Delphi. Not an open source project, but it shows it can be
done.
Christo
NOTICE: Please note that this
execution?
> The first symbol of the set has value "0", and second one,
> value "1". To which symbols corresponds the values "2" and "-1"?
You can enable range checking {$R+}, which should then raise an error
if the value goes out of range. Tested with
L.Free;
Not quite bullet proof yet, since one can call Myfunction without
actually
instantiating SL, but at least that should give you a runtime error that
should be easy to trace.
Regards
Christo Crause
NOTICE: Please note
ifferent. Just ensure that the UDF folder you are
using is at the same level as the bin folder containing the version you
are running.
Regards,
Christo
NOTICE: Please note that this eMail, and the contents thereof,
is subj
d check
what the value for UdfAccess is.
You may also have to change the calling convension of
your function to cdecl, since that is what Firebird expects.
Regards,
Christo
NOTICE: Please note that this eMail, and the
1 - 100 of 102 matches
Mail list logo