RP2040-Zero Compilation error on dev version SimpleFOC

Hello,

RP2040-Zero no longer compiles in the dev version
Compilation is fine in master

RP2040-Zero: https://www.waveshare.com/wiki/RP2040-Zero

lib RP2040 ==> 3.7.1 installed GitHub - earlephilhower/arduino-pico: Raspberry Pi Pico Arduino core, for all RP2040 boards

Error:

    /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

Thank you for reporting it! I think it’s a difference between earlephilhower core and the standard core. We’ll fix it for the next release.

1 Like