Minor changes for compatibility with PIO 4.0
This commit is contained in:
parent
fa621ea071
commit
da29ee47e1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue