It looks like the defines for Adafruit Feather M0 are different on Arduino IDE and platform.io on VScode, I found out that the following codes work on one of the 2 IDEs, is there a way to have the same define? Am I missing a configuration process?
With Arduino IDE 1.8.19 , platform.io 6.1.5 (home 3.4.3):
#ifndef ADAFRUIT_FEATHER_M0
#error "Ce sketch doit être compilé pour le type de carte 'Adafruit Feather M0'"
#endif
Compiles with Arduino IDE, not with platform.io
#ifndef ARDUINO_SAMD_FEATHER_M0
#error "Ce sketch doit être compilé pour le type de carte 'Adafruit Feather M0'"
#endif
It looks like the defines for Adafruit Feather M0 are different on Arduino IDE and platform.io on VScode, I found out that the following codes work on one of the 2 IDEs, is there a way to have the same define? Am I missing a configuration process?
With Arduino IDE 1.8.19 , platform.io 6.1.5 (home 3.4.3):
Compiles with Arduino IDE, not with platform.io
Compiles with platform.io, not with Arduino IDE
This seems to be related to this line.
platformio.ini :
Community Topic