> I don't have an actual Microchip Explorer16/32 which it sounds like
> you are working on, but if you were to put a draft PR up or point me
> at a branch I would be happy to try to run this against the simulator
> and see if we can get a little further.
>
> This is the simulator I was using https://github.com/sergev/qemu/wiki
> I did have to make a few changes to get it to build with  a modern
> gcc/glibc
>

This may be a typo on your side, but I'm testing with an MX, not an
MZ.  I did just try it with that simulator, and I get an error about
writing to peripheral register 1f800600 being not supported.

Here's the branch that I'm working off of at the moment.  It also has
a fix for defining CONFIG_SERIAL_TERMIOS with the PIC32, which doesn't
properly compile:
https://github.com/rm5248/incubator-nuttx/tree/pic-messing-around

You should be able to get the proper configuration by doing
./tools/configure.sh -E -l pic32mx-explorer16:nsh.  Note that the
explorer16 has the output on UART2 - I don't remember if you can
switch which UART qemu is using to see that output.  Switching it to
UART1 for the simulator should be fine though.

-Robert Middleton

Reply via email to