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 build a newer toolchain for yourself following
instructions on the internet or using the NuttX buildroot. The Pinguino
toolchain is a standard MIPS GCC toolchain but renames the binaries for
its branding. The last time I looked, the Pingquino toolchain was very
old and had not been updated recently.
On 1/28/2021 8:53 PM, Barbiani wrote:
Pinguino does work without a glitch.
On Thu, Jan 28, 2021 at 11:29 PM Xiang Xiao <xiaoxiang781...@gmail.com>
wrote:
On Fri, Jan 29, 2021 at 9:20 AM Barbiani <barbi...@gmail.com> 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 '-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/xc32/v2.50/pic32mx/include/xc.h:710:4: error: #error
Unknown
processor!
# error Unknown processor!
^
ERROR: xc32-gcc failed: 255
command: xc32-gcc -MT
./builtin_list.home.future.nuttx.apps.builtin.o -M '-fno-builtin'
'-Wall'
'-Wstrict-prototypes' '-Wshadow' '-Wundef' '-fno-strict-aliasing'
'-fno-strength-reduce' '-fomit-frame-pointer' '-mprocessor=elf32pic32mx'
'-march=m4k' ...
Could you try Pinguino toolchain which is used in CI build:
https://github.com/apache/incubator-nuttx-testing/blob/master/docker/linux/Dockerfile#L81-L89
Marcio.