Re: [fpc-devel] Problems building xtensa-freertos RTL in trunk

2020-04-21 Thread Michael Ring via fpc-devel
Trunk now builds without issues for armv6m, armv7m and armv7em, here's the patch to add the license and the renames to make the interrupts cmsis compatible. http://temp.michael-ring.org/cmsis_plus_license.patch Michael Am 20.04.20 um 23:11 schrieb Michael Ring via fpc-devel: Am 20.04.20 um

Re: [fpc-devel] Problems building xtensa-freertos RTL in trunk

2020-04-20 Thread Michael Ring via fpc-devel
Am 20.04.20 um 22:14 schrieb Florian Klämpfl: Am 20.04.20 um 00:03 schrieb Michael Ring via fpc-devel: Thanks! Your commit is close, but not yet there... to make it work it was necessary for me to re-create the Makefiles, arm-freertos was missing in the root makefile and some others, did yo

Re: [fpc-devel] Problems building xtensa-freertos RTL in trunk

2020-04-20 Thread Florian Klämpfl
Am 20.04.20 um 00:03 schrieb Michael Ring via fpc-devel: Thanks! Your commit is close, but not yet there... to make it work it was necessary for me to re-create the Makefiles, arm-freertos was missing in the root makefile and some others, did you rebuild fpcmake before using it? Pierre recr

Re: [fpc-devel] Problems building xtensa-freertos RTL in trunk

2020-04-19 Thread Michael Ring via fpc-devel
Thanks! Your commit is close, but not yet there... to make it work it was necessary for me to re-create the Makefiles, arm-freertos was missing in the root makefile and some others, did you rebuild fpcmake before using it? You also did not include the rtl/freertos/arm directory (I guess on

Re: [fpc-devel] Problems building xtensa-freertos RTL in trunk

2020-04-19 Thread Florian Klämpfl
Am 19.04.20 um 17:25 schrieb Michael Ring via fpc-devel: I have uploaded  my patch to: http://temp.michael-ring.org/fpc-arm-freertos.patch I have committed it with a few changes, let's see how it works :) ___ fpc-devel maillist - fpc-devel@lists.f

Re: [fpc-devel] Problems building xtensa-freertos RTL in trunk

2020-04-19 Thread Florian Klämpfl
Am 19.04.20 um 17:25 schrieb Michael Ring via fpc-devel: I have uploaded  my patch to: http://temp.michael-ring.org/fpc-arm-freertos.patch Thanks, I'll look into it. I have left out the generated Makefiles to keep the patch (kind of) readable. I am able to build the target like this: m

Re: [fpc-devel] Problems building xtensa-freertos RTL in trunk

2020-04-19 Thread Michael Ring via fpc-devel
I have uploaded  my patch to: http://temp.michael-ring.org/fpc-arm-freertos.patch I have left out the generated Makefiles to keep the patch (kind of) readable. I am able to build the target like this: make -j clean buildbase CROSSINSTALL=1 OS_TARGET=freertos CPU_TARGET=arm SUBARCH=armv7em

Re: [fpc-devel] Problems building xtensa-freertos RTL in trunk

2020-04-19 Thread Florian Klämpfl
Am 06.04.20 um 20:54 schrieb Michael Ring via fpc-devel: I was able to compile my first hello world for esp32, however I had to patch a few files so that compiling works for 4.0 / 4.1 Branch of esp-idf Florian, can you please have a look at the patches and apply them if they are OK? I have c

Re: [fpc-devel] Problems building xtensa-freertos RTL in trunk

2020-04-07 Thread Michael Ring via fpc-devel
I removed Modules/Libs that I could not find in v4.0/v4.1 Release of idf. As official stable release of idf is currently 4.0 I think it makes sense to make sure that this release builds out of the box. As esp32 is bleeding edge both for compiler and freertos I have done most patches that are

Re: [fpc-devel] Problems building xtensa-freertos RTL in trunk

2020-04-06 Thread Florian Klämpfl
Am 06.04.20 um 20:54 schrieb Michael Ring via fpc-devel: I was able to compile my first hello world for esp32, however I had to patch a few files so that compiling works for 4.0 / 4.1 Branch of esp-idf Florian, can you please have a look at the patches and apply them if they are OK? To be ho

Re: [fpc-devel] Problems building xtensa-freertos RTL in trunk

2020-04-06 Thread Michael Ring via fpc-devel
I was able to compile my first hello world for esp32, however I had to patch a few files so that compiling works for 4.0 / 4.1 Branch of esp-idf Florian, can you please have a look at the patches and apply them if they are OK? diff --git a/compiler/systems/t_freertos.pas b/compiler/systems/t

Re: [fpc-devel] Problems building xtensa-freertos RTL in trunk

2020-04-05 Thread Michael Ring via fpc-devel
Just to be sure, from your Path settings it looks like you are using esp-idf from the release/v4.0 Branch, correct? Michael Am 04.04.20 um 19:44 schrieb Florian Klämpfl: Am 04.04.20 um 16:06 schrieb Christo Crause via fpc-devel: I'm keen to test the xtensa-freertos target, but it seems there a

Re: [fpc-devel] Problems building xtensa-freertos RTL in trunk

2020-04-04 Thread Florian Klämpfl
Am 04.04.20 um 16:06 schrieb Christo Crause via fpc-devel: I'm keen to test the xtensa-freertos target, but it seems there are a couple of patches missing from trunk. It is possible to build an xtensa cross compiler, but the make files doesn't know the xtensa-freertos target. To get the make f

[fpc-devel] Problems building xtensa-freertos RTL in trunk

2020-04-04 Thread Christo Crause via fpc-devel
I'm keen to test the xtensa-freertos target, but it seems there are a couple of patches missing from trunk. It is possible to build an xtensa cross compiler, but the make files doesn't know the xtensa-freertos target. To get the make files in rtl updated, one needs to rebuild fpcmake, edit rtl/Mak