Update board_f_cpu to board_build.f_cpu

This commit is contained in:
Scott Lahteine 2018-05-26 23:29:27 -05:00
parent 14f45448cb
commit 0d6ef67e48
1 changed files with 32 additions and 32 deletions

View File

@ -16,9 +16,9 @@
# #
[platformio] [platformio]
src_dir = Marlin src_dir = Marlin
build_dir = .pioenvs build_dir = .pioenvs
lib_dir = .piolib lib_dir = .piolib
libdeps_dir = .piolibdeps libdeps_dir = .piolibdeps
env_default = megaatmega2560 env_default = megaatmega2560
@ -50,25 +50,25 @@ lib_deps =
# ATmega2560 # ATmega2560
# #
[env:megaatmega2560] [env:megaatmega2560]
platform = atmelavr platform = atmelavr
framework = arduino framework = arduino
board = megaatmega2560 board = megaatmega2560
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
board_f_cpu = 16000000L board_build.f_cpu = 16000000L
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
monitor_speed = 250000 monitor_speed = 250000
# #
# ATmega1280 # ATmega1280
# #
[env:megaatmega1280] [env:megaatmega1280]
platform = atmelavr platform = atmelavr
framework = arduino framework = arduino
board = megaatmega1280 board = megaatmega1280
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
board_f_cpu = 16000000L board_build.f_cpu = 16000000L
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
monitor_speed = 250000 monitor_speed = 250000
# #
# AT90USB1286 boards using CDC bootloader # AT90USB1286 boards using CDC bootloader
@ -129,13 +129,13 @@ monitor_speed = 250000
# RAMBo # RAMBo
# #
[env:rambo] [env:rambo]
platform = atmelavr platform = atmelavr
framework = arduino framework = arduino
board = reprap_rambo board = reprap_rambo
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
board_f_cpu = 16000000L board_build.f_cpu = 16000000L
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
monitor_speed = 250000 monitor_speed = 250000
# #
# Sanguinololu (ATmega644p) # Sanguinololu (ATmega644p)
@ -163,11 +163,11 @@ monitor_speed = 250000
# Teensy++ 2.0 # Teensy++ 2.0
# #
[env:teensy20] [env:teensy20]
platform = teensy platform = teensy
framework = arduino framework = arduino
board = teensy20pp board = teensy20pp
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
#board_f_cpu = 20000000L ; Bug in Arduino framework disallows boards running at 20Mhz #board_build.f_cpu = 20000000L ; Bug in Arduino framework disallows boards running at 20Mhz
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ldf_mode = deep+ lib_ldf_mode = deep+
monitor_speed = 250000 monitor_speed = 250000