From da29ee47e1dd00793e9bed7770a3a4fed5ef51c3 Mon Sep 17 00:00:00 2001 From: Josh Stewart Date: Fri, 12 Jul 2019 16:07:00 +1000 Subject: [PATCH] Minor changes for compatibility with PIO 4.0 --- .gitignore | 1 + platformio.ini | 9 ++++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 7bb26561..fa92e1aa 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ reference/hardware/v0.2/~$schematic v0.2_bom.xlsx reference/hardware/v0.4/gerbers/Archive.zip .pioenvs +.pio .piolibdeps .clang_complete .gcc-flags.json diff --git a/platformio.ini b/platformio.ini index c587dfac..68ac8ede 100644 --- a/platformio.ini +++ b/platformio.ini @@ -13,7 +13,7 @@ platform=atmelavr board=megaatmega2560 framework=arduino build_unflags = -Os -build_flags = -O3 -ffast-math +build_flags = -O3 -ffast-math -Wall -Wextra lib_deps = EEPROM [env:teensy35] @@ -55,9 +55,8 @@ board = black_f407ve lib_deps = EEPROM board_build.core = stm32 ;build_flags = -fpermissive -std=gnu++11 -UBOARD_NR_GPIO_PINS -DCORE_STM32_OFFICIAL -DSRAM_AS_EEPROM -build_flags = -fpermissive -std=gnu++11 -UBOARD_NR_GPIO_PINS -DCORE_STM32_OFFICIAL -DSPI_AS_EEPROM - - +build_flags = -fpermissive -std=gnu++11 -UBOARD_NR_GPIO_PINS -DCORE_STM32_OFFICIAL -DSPI_AS_EEPROM -DMENU_USB_SERIAL +upload_protocol = serial [env:bluepill_f103c8] platform = ststm32 @@ -88,7 +87,7 @@ upload_protocol = sam-ba [platformio] src_dir=speeduino -env_default = megaatmega2560 +default_envs = megaatmega2560 ;The following lines are for testing / experimentation only. Comment the line above to try them out ;env_default = teensy35 ;env_default = LaunchPad_tm4c1294ncpdt