Skip to content

Commit b8a96ac

Browse files
committed
feather m4 cache
1 parent 8794281 commit b8a96ac

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

boards.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ adafruit_feather_m4.build.usb_product="Adafruit Feather M4"
365365
adafruit_feather_m4.build.usb_manufacturer="Adafruit LLC"
366366
adafruit_feather_m4.build.board=FEATHER_M4
367367
adafruit_feather_m4.build.core=arduino
368-
adafruit_feather_m4.build.extra_flags=-D__SAMD51J19A__ -D__SAMD51__ {build.usb_flags} -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16
368+
adafruit_feather_m4.build.extra_flags=-D__SAMD51J19A__ -DADAFRUIT_FEATHER_M4_EXPRESS -D__SAMD51__ {build.usb_flags} -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16
369369
adafruit_feather_m4.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
370370
adafruit_feather_m4.build.openocdscript=openocd_scripts/arduino_zero.cfg
371371
adafruit_feather_m4.build.variant=feather_m4
@@ -375,3 +375,7 @@ adafruit_feather_m4.build.pid=0x8022
375375
adafruit_feather_m4.bootloader.tool=openocd
376376
adafruit_feather_m4.bootloader.file=metroM4/bootloader.bin
377377
adafruit_feather_m4.compiler.arm.cmsis.ldflags="-L{build.variant.path}" -larm_cortexM4lf_math -mfloat-abi=hard -mfpu=fpv4-sp-d16
378+
adafruit_feather_m4.menu.cache.on=Enabled
379+
adafruit_feather_m4.menu.cache.on.build.cache_flags=-DENABLE_CACHE
380+
adafruit_feather_m4.menu.cache.off=Disabled
381+
adafruit_feather_m4.menu.cache.off.build.cache_flags=

0 commit comments

Comments
 (0)