diff --git a/platformio.ini b/platformio.ini index 82167f2..40dc89e 100644 --- a/platformio.ini +++ b/platformio.ini @@ -30,6 +30,7 @@ include_dir = . [env] build_flags = -Wall -Wextra +monitor_filters = time [env:samd21-dev-usb] platform = atmelsam @@ -51,6 +52,15 @@ monitor_speed = 115200 monitor_echo = yes build_flags = -std=c++17 +[env:Arduino M0] +platform = atmelsam +board = mzeroUSB +framework = arduino +lib_deps = ${env.lib_deps} +monitor_speed = 115200 +monitor_echo = yes +build_flags = -std=c++17 -DI2C_EXTENDED_ADDRESS ; -DI2C_USE_WIRE -DDIAG_LOOPTIMES -DDIAG_IO + [env:mega2560-debug] platform = atmelavr board = megaatmega2560 @@ -61,7 +71,7 @@ lib_deps = SPI monitor_speed = 115200 monitor_echo = yes -build_flags = -DDIAG_IO -DDIAG_LOOPTIMES +build_flags = -DI2C_EXTENDED_ADDRESS -DDIAG_IO -DDIAG_LOOPTIMES [env:mega2560-no-HAL] platform = atmelavr