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.
>

Reply via email to