Skip to content

Commit c34dd05

Browse files
committed
Keep ARDUINO_SAMD_ZERO flag for compatilibity
- Instead of removing it in favor of ARDUINO_SAMD_FEATHER_M0 have both flags present to increase chances of compatibility with libraries.
1 parent d95e053 commit c34dd05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: boards.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ adafruit_feather_m0.build.usb_product="Feather M0"
3232
adafruit_feather_m0.build.usb_manufacturer="Adafruit"
3333
adafruit_feather_m0.build.board=SAMD_FEATHER_M0
3434
adafruit_feather_m0.build.core=arduino
35-
adafruit_feather_m0.build.extra_flags=-D__SAMD21G18A__ {build.usb_flags}
35+
adafruit_feather_m0.build.extra_flags=-DARDUINO_SAMD_ZERO -D__SAMD21G18A__ {build.usb_flags}
3636
adafruit_feather_m0.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
3737
adafruit_feather_m0.build.openocdscript=openocd_scripts/arduino_zero.cfg
3838
adafruit_feather_m0.build.variant=arduino_zero

0 commit comments

Comments
 (0)