/home/***/Arduino/libraries/Arduino-FOC-dev/src/drivers/hardware_specific/rp2040/rp2040_mcu.cpp:22:10: fatal error: pinDefinitions.h: No such file or directory
22 | #include <pinDefinitions.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Erreur de compilation pour la carte Waveshare RP2040 Zero
@runger I just ran across this issue with the earlephilhower core and looks like it’s the same in the dev branch. For now, I changed line 38 in rp2040_mcu.cpp to the following which seems to fix it as I believe there’s no pin remapping by default…
The problem was caused by fixing incompatibility with the Nano RP2040 Connect, which uses Arduino style pin numbers rather than RP2040 GPIO numbers. Unfortunately the earlephilhower core does not defined the digitalPinToPinName macro used for mapping between the two.