Re: PIC32 build fail

2021-01-31 Thread Barbiani
> > > Did you just use this configuration? > > https://www.github.com/crosstool-ng/crosstool-ng/tree/master/samples%2Fmips-unknown-elf%2Fcrosstool.config > > I did. Then changed to little endian, enabled newlib and gdb. Probably better start from mipsel-gnu.

Re: PIC32 build fail

2021-01-30 Thread Brennan Ashton
on some github > repo? > > > -Original Message- > > From: Brennan Ashton > > Sent: Friday, January 29, 2021 11:49 PM > > To: dev@nuttx.apache.org > > Subject: Re: PIC32 build fail > > > > On Fri, Jan 29, 2021, 4:39 AM Barbiani wrote: > &g

RE: PIC32 build fail

2021-01-29 Thread Xiang Xiao
How about we generate the toolchain binary and publish it on some github repo? > -Original Message- > From: Brennan Ashton > Sent: Friday, January 29, 2021 11:49 PM > To: dev@nuttx.apache.org > Subject: Re: PIC32 build fail > > On Fri, Jan 29, 2021, 4:39 AM Barbiani

Re: PIC32 build fail

2021-01-29 Thread Brennan Ashton
On Fri, Jan 29, 2021, 4:39 AM Barbiani wrote: > I was able to use crosstool-ng to build gcc 10.2 (static) and Nuttx. > > I see that the automated test downloads a pre-built toolchain. Do I create > an archive of > the toolchain and upload somewhere? > > I think this is helpful to know that it's w

Re: PIC32 build fail

2021-01-29 Thread Barbiani
I was able to use crosstool-ng to build gcc 10.2 (static) and Nuttx. I see that the automated test downloads a pre-built toolchain. Do I create an archive of the toolchain and upload somewhere? On Fri, Jan 29, 2021 at 12:08 AM Xiang Xiao wrote: > If so, it's better to switch from Pinguino to mi

Re: PIC32 build fail

2021-01-28 Thread Xiang Xiao
If so, it's better to switch from Pinguino to mips-elf-gcc for daily check. Marcio, could you try mips-elf-gcc and send PR to https://github.com/apache/incubator-nuttx-testing? On Fri, Jan 29, 2021 at 11:05 AM Gregory Nutt wrote: > The XC32 used to work years ago but I don't think anyone has use

Re: PIC32 build fail

2021-01-28 Thread Gregory Nutt
The XC32 used to work years ago but I don't think anyone has used it in the last 5 years or so.  I would not recommend it.  It is non-standard and very likely incompatible.  I would instead recommend any mips-elf-gcc tool chain.  There are several perbuilt MIPS toolchains available.  You can bu

Re: PIC32 build fail

2021-01-28 Thread Barbiani
Pinguino does work without a glitch. On Thu, Jan 28, 2021 at 11:29 PM Xiang Xiao wrote: > On Fri, Jan 29, 2021 at 9:20 AM Barbiani wrote: > > > Hello, > > > > Has anyone tested the pic32 build lately? I am using the pic32mx7mmb. > > > > > Yes, MIPS target is on the CI checklist: > > > https://

Re: PIC32 build fail

2021-01-28 Thread Xiang Xiao
On Fri, Jan 29, 2021 at 9:20 AM Barbiani wrote: > Hello, > > Has anyone tested the pic32 build lately? I am using the pic32mx7mmb. > > Yes, MIPS target is on the CI checklist: https://github.com/apache/incubator-nuttx-testing/blob/master/testlist/other.dat#L13-L22 It is setting the processor as

PIC32 build fail

2021-01-28 Thread Barbiani
Hello, Has anyone tested the pic32 build lately? I am using the pic32mx7mmb. It is setting the processor as '-mprocessor=elf32pic32mx' for the xc32 compiler. In file included from /opt/microchip/xc32/v2.50/bin/bin/../../lib/gcc/pic32mx/4.8.3/../../../../pic32mx/lib/./crt0.S:50:0: /opt/microchip/