This is a work-in-progress and requires further changes from @jepler’s branch to get it CircuitPython-ready.
Since there’s no Arduino core support for RP2040 yet, the “Arduino” section of that header is not fully formed and will need minor tweaks when the time comes. This was tested with the RP2040 C toolchain and runs in a limited context…not really knowing what the canonical Arduino #ifdef checks will be yet. But as is, shouldn’t prevent things from compiling on other architectures.
This is a work-in-progress and requires further changes from @jepler’s branch to get it CircuitPython-ready.
Since there’s no Arduino core support for RP2040 yet, the “Arduino” section of that header is not fully formed and will need minor tweaks when the time comes. This was tested with the RP2040 C toolchain and runs in a limited context…not really knowing what the canonical Arduino #ifdef checks will be yet. But as is, shouldn’t prevent things from compiling on other architectures.