@sen if you can't target it with upstream gcc find another micro :)
@sen (but the microchip C headers are uniquely cursed among vendor SDKs, have you seen the pic32 headers?)
@azonenberg I have extensively seen the PIC32 headers since their documentation is bad to non-existent so much of the time so I just resort to headers-as-documentation 😐 It's never occurred to me to try to just not use MPLAB. Back in the pre-X days it was pretty nice to use (at least, I thought so) but it's such a mess these days.
@sen i did a project once using upstream mipsel-elf-gcc and pic32 although these days I'm all stm32.
I use arm-none-eabi-g++, cmake, and my own software stack written off the datasheets (no svd generation) with a simple low level C++ wrapper layer
@azonenberg "PIC32" doesn't even mean anything anymore. I've been using the MIPS ones for ages but this one is Cortex M based, and shares essentially nothing with MIPS PIC32s other than the name.