ErskyTx Test Versions

erskyTx runs on many radios and upgrade boards
ersky9x was a port of er9x for use on the sky9x board.
User avatar
MikeB
9x Developer
Posts: 18014
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ErskyTx Test Versions

Post by MikeB »

WinAVR is for er9x (AVR processors), you must be using an ARM compiler (arm-none-eabi-gcc ??) for erskyTx.
In a command prompt I can enter:
arm-none-eabi-gcc -v
and it gives me build information ending with the version number.
It may be your ARM compiler installation does not have "newLib" included.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

ReSt
Posts: 1595
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: ErskyTx Test Versions

Post by ReSt »

So it's 4.6.2 but obviously with newLib.
-------------
Using built-in specs.
COLLECT_GCC=arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=c:/programme/yagarto/bin/../libexec/gcc/arm-none-eabi/4.6.2/
lto-wrapper.exe
Target: arm-none-eabi
Configured with: ../gcc-4.6.2/configure --target=arm-none-eabi --prefix=/home/ya
garto/install --disable-nls --disable-shared --disable-threads --with-gcc --with
-gnu-ld --with-gnu-as --with-dwarf2 --enable-languages=c,c++ --enable-interwork
--enable-multilib --with-newlib --with-headers=../newlib-1.19.0/newlib/libc/incl
ude --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libg
omp -v
Thread model: single
gcc version 4.6.2 (GCC)
---------------

Reinhard
User avatar
MikeB
9x Developer
Posts: 18014
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ErskyTx Test Versions

Post by MikeB »

This is my "lib" directory for 4.7.2:

Code: Select all

 Directory of C:\Yagarto\arm-none-eabi\lib

10/03/2018  19:51    <DIR>          .
10/03/2018  19:51    <DIR>          ..
10/03/2018  19:51               573 aprofile-validation-v2m.specs
10/03/2018  19:51               557 aprofile-validation.specs
10/03/2018  19:51               555 aprofile-ve-v2m.specs
10/03/2018  19:51               539 aprofile-ve.specs
10/03/2018  19:51    <DIR>          cpu-init
10/03/2018  19:51             1,560 crt0.o
10/03/2018  19:51    <DIR>          hard
10/03/2018  19:51               195 iq80310.specs
10/03/2018  19:51    <DIR>          ldscripts
10/03/2018  19:51         1,176,870 libc.a
10/03/2018  19:51         1,009,508 libc_nano.a
10/03/2018  19:51         1,176,870 libg.a
10/03/2018  19:51             8,756 libgloss-linux.a
10/03/2018  19:51         1,009,508 libg_nano.a
10/03/2018  19:51           609,780 libm.a
10/03/2018  19:51            29,530 libnosys.a
10/03/2018  19:51            21,636 librdimon-v2m.a
10/03/2018  19:51            21,636 librdimon.a
10/03/2018  19:51            20,768 librdimon_nano.a
10/03/2018  19:51            19,430 librdpmon.a
10/03/2018  19:51         4,888,778 libstdc++.a
10/03/2018  19:51             2,559 libstdc++.a-gdb.py
10/03/2018  19:51         3,093,174 libstdc++_nano.a
10/03/2018  19:51           325,132 libsupc++.a
10/03/2018  19:51           255,796 libsupc++_nano.a
10/03/2018  19:51             1,056 linux-crt0.o
10/03/2018  19:51               121 linux.specs
10/03/2018  19:51               740 nano.specs
10/03/2018  19:51               277 nosys.specs
10/03/2018  19:51               192 pid.specs
10/03/2018  19:51             2,160 rdimon-crt0-v2m.o
10/03/2018  19:51             2,184 rdimon-crt0.o
10/03/2018  19:51               726 rdimon-v2m.specs
10/03/2018  19:51               628 rdimon.specs
10/03/2018  19:51             1,468 rdpmon-crt0.o
10/03/2018  19:51               147 rdpmon.specs
10/03/2018  19:51             1,052 redboot-crt0.o
10/03/2018  19:51             6,308 redboot-syscalls.o
10/03/2018  19:51             6,119 redboot.ld
10/03/2018  19:51               192 redboot.specs
10/03/2018  19:51    <DIR>          thumb
So this includes a nano.specs file and a several lib***_nano.a files.
If you do a google search for "yagarto-bu-2.23.1_gcc-4.7.2-c-c++_nl-1.20.0_gdb-7.5.1_eabi_20121222", you should find a link to a download for 4.7.2 that may include the "nano" files.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
ReSt
Posts: 1595
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: ErskyTx Test Versions

Post by ReSt »

Hello Mike,
I installed that new version of Yagarto but it contains no nano.specs file. It contains very little files and not even a single *.specs file; see the attached file

By the way, do I really need this nano.spec file as without that parameter I can compile the source and it seems to work without problems.

Reinhard
content.txt
(2.24 KiB) Downloaded 7 times
User avatar
MikeB
9x Developer
Posts: 18014
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ErskyTx Test Versions

Post by MikeB »

I think I started using nano.specs to make the code smaller so it would fit in the SKY board that only has 256K of flash (saves 1324 bytes of flash). Yes it should all work OK without nano.specs, you just get larger code.

I know I've tried various versions of the compiler. It looks like I've left libraries in from a later version, while still using the 4.7.2 compiler.
On 10/03/2018 I downloaded "gcc-arm-none-eabi-7-2017-q4-major-win32.zip" and this is also the date on all my library files. I've checked several directories and the lib and lib/thumb directories from that zip file have the same number of files with the same sizes as those in my compiler directories.

I've done a web search for that file and it does find a download for it.

You might as well just leave the nano.specs out, but could download that file and copy the arm-none-eabi\lib directory and sub-directories to your arm-none-eabi\lib directory.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

ReSt
Posts: 1595
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: ErskyTx Test Versions

Post by ReSt »

I'll try to find it.
In the moment I'm just experimenting with a 13.2.1 version that includes newlib and nanospecs(that probably is a 64 bit version) and my computer is 32bit.
leaving off all the executable files and copy the rest over the 4.7.2 version.
But in the moment it fails with a syntax error in one of the files.

I will update when I get som new results

Reinhard
ReSt
Posts: 1595
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: ErskyTx Test Versions

Post by ReSt »

Hallo Mike,
found and installed the 'major' version and after manually adding the path to the path statement, it is working.

Thank you for your help

Reinhard
User avatar
MikeB
9x Developer
Posts: 18014
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ErskyTx Test Versions

Post by MikeB »

Good!
As my computer processor has 4 cores, I'm now adding -j 4 to the make command, everything now compiles much quicker, very good when I'm doing a build for all radios having done a "make clean" first so everything needs to be compiled.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
ReSt
Posts: 1595
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: ErskyTx Test Versions

Post by ReSt »

Hello Mike,

I have a problem with r227 and 9XRPro
When I use the precompiled version, it works
But when I compile it (no errors) by myself I get a problem

I now have the new compiler, supporting the nano.spesc and the font_04x06.lbm font file.

I call the make file via a batchfile with the following command:

make REVX=1 REVB=1 Stamp=1 REV=227 USER=ReSt

The failing mix is:
CH03 +50%Thr Switch(Ele) Offset(50%)
+ -50%Thr Switch(!Ele) Offset(-50%)

With ELE on, I should get 0 - +100 and with Ele off 0 - -100

I always get the result of the second line, never that of the first line

Swapping both lines, again gives the result of the second line.


Reinhard
User avatar
MikeB
9x Developer
Posts: 18014
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ErskyTx Test Versions

Post by MikeB »

So what compiler version are you now running?
I assume you have some specific changes you are using by the "USER=" addition. Have you tried a build without that included?

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
ReSt
Posts: 1595
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: ErskyTx Test Versions

Post by ReSt »

Compiler 7.2.1

I downloaded that file you mentioned above (gcc-arm-none-eabi-7-2017-q4-major-win32.exe and the *.zip) and my \arm-non-eabi\lib contains exactly the same files and identical filesizes as you showed above. The only difference is, that they all are dated 30.11.2017

With "USER=", do you mean with calling the make file?
In former times, I used to add this value to the version string, so that on the Tx I could easily differentiate between precompiled and personally compiled code.

I just tested with a "make REVX=1 REVB=1" and that didn't make any difference.

Reinhard
User avatar
MikeB
9x Developer
Posts: 18014
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ErskyTx Test Versions

Post by MikeB »

Github at the moment only has the sources up to r224 on it. So if you are compiling from the Github sources you have r224, not r227.
I'll see if I can commit r227 sources. The problem is I've done a lot of changes since r224, then needed to fix some bugs in r224 that has resulted in r227. I need to save my major changes and get the sources to r227 then commit them.

The major new changes are that trims in flight modes may be their own trim (as now) or added to the trim of another flight mode, and GVARS may now be specific to each flight mode (and 12 of them).

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
ReSt
Posts: 1595
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: ErskyTx Test Versions

Post by ReSt »

Ok, so my code is r224 and I will wait until you put the r227 on github.
Take you time it's by no way urgent for me

Thanks

Reinhard
User avatar
MikeB
9x Developer
Posts: 18014
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ErskyTx Test Versions

Post by MikeB »

r227 is now on Github. I downloaded from Github and built for the 'PRO, then compared the .lss file with the .lss file from my release build. They are the same, except for the version time.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
ReSt
Posts: 1595
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: ErskyTx Test Versions

Post by ReSt »

Thanks.

I'll try.

Reinhard
Rad
Posts: 461
Joined: Wed Apr 20, 2016 3:43 pm
Country: Austria
Contact:

Re: ErskyTx Test Versions

Post by Rad »

Evening! Does this new eepskye_427 correct the bugs in the ERSKYTX rev 227 or should we wait until a new rev has been released?

Thanks!
https://radindustries.wordpress.com/
User avatar
MikeB
9x Developer
Posts: 18014
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ErskyTx Test Versions

Post by MikeB »

I've just published r228, see here: viewtopic.php?p=157890#p157890.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

Post Reply

Return to “erskyTx (was ersky9x)”