Browse Source

Update 'board_f_cpu' to 'board_build.f_cpu'

Scott Lahteine 6 years ago
parent
commit
22771dd2dd
1 changed files with 64 additions and 64 deletions
  1. 64
    64
      platformio.ini

+ 64
- 64
platformio.ini View File

@@ -16,9 +16,9 @@
16 16
 #
17 17
 
18 18
 [platformio]
19
-src_dir = Marlin
20
-build_dir = .pioenvs
21
-lib_dir = .piolib
19
+src_dir     = Marlin
20
+build_dir   = .pioenvs
21
+lib_dir     = .piolib
22 22
 libdeps_dir = .piolibdeps
23 23
 env_default = megaatmega2560
24 24
 
@@ -51,27 +51,27 @@ lib_deps =
51 51
 # ATmega2560
52 52
 #
53 53
 [env:megaatmega2560]
54
-platform      = atmelavr
55
-framework     = arduino
56
-board         = megaatmega2560
57
-build_flags   = ${common.build_flags}
58
-board_f_cpu   = 16000000L
59
-lib_deps      = ${common.lib_deps}
60
-src_filter    = ${common.default_src_filter}
61
-monitor_speed = 250000
54
+platform          = atmelavr
55
+framework         = arduino
56
+board             = megaatmega2560
57
+build_flags       = ${common.build_flags}
58
+board_build.f_cpu = 16000000L
59
+lib_deps          = ${common.lib_deps}
60
+src_filter        = ${common.default_src_filter}
61
+monitor_speed     = 250000
62 62
 
63 63
 #
64 64
 # ATmega1280
65 65
 #
66 66
 [env:megaatmega1280]
67
-platform      = atmelavr
68
-framework     = arduino
69
-board         = megaatmega1280
70
-build_flags   = ${common.build_flags}
71
-board_f_cpu   = 16000000L
72
-lib_deps      = ${common.lib_deps}
73
-src_filter    = ${common.default_src_filter}
74
-monitor_speed = 250000
67
+platform          = atmelavr
68
+framework         = arduino
69
+board             = megaatmega1280
70
+build_flags       = ${common.build_flags}
71
+board_build.f_cpu = 16000000L
72
+lib_deps          = ${common.lib_deps}
73
+src_filter        = ${common.default_src_filter}
74
+monitor_speed     = 250000
75 75
 
76 76
 #
77 77
 # AT90USB1286 boards using CDC bootloader
@@ -147,44 +147,44 @@ monitor_speed = 250000
147 147
 # NXP LPC1768 ARM Cortex-M3
148 148
 #
149 149
 [env:LPC1768]
150
-platform        = nxplpc
151
-board           = lpc1768
152
-board_f_cpu     = 100000000L
153
-build_flags     = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
150
+platform          = nxplpc
151
+board             = lpc1768
152
+board_build.f_cpu = 100000000L
153
+build_flags       = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
154 154
   ${common.build_flags}
155 155
   -DU8G_HAL_LINKS
156
-src_build_flags = -Wall
157
-build_unflags   = -Wall
158
-lib_ldf_mode    = off
159
-lib_extra_dirs  = frameworks
160
-lib_deps        = CMSIS-LPC1768
156
+src_build_flags   = -Wall
157
+build_unflags     = -Wall
158
+lib_ldf_mode      = off
159
+lib_extra_dirs    = frameworks
160
+lib_deps          = CMSIS-LPC1768
161 161
   https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
162 162
   TMC2130Stepper@>=2.2.1
163
-extra_scripts   = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py, Marlin/src/HAL/HAL_LPC1768/upload_extra_script.py
164
-src_filter      = ${common.default_src_filter}
165
-monitor_speed   = 250000
163
+extra_scripts     = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py, Marlin/src/HAL/HAL_LPC1768/upload_extra_script.py
164
+src_filter        = ${common.default_src_filter}
165
+monitor_speed     = 250000
166 166
 
167 167
 #
168 168
 # LPC1768 (for debugging and development)
169 169
 #
170 170
 [env:LPC1768_debug_and_upload]
171 171
 # Segger JLink
172
-platform       = nxplpc
173
-#framework     = mbed
174
-board          = lpc1768
175
-board_f_cpu    = 100000000L
176
-build_flags    = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
172
+platform          = nxplpc
173
+#framework        = mbed
174
+board             = lpc1768
175
+board_build.f_cpu = 100000000L
176
+build_flags       = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
177 177
   ${common.build_flags}
178 178
   -DU8G_HAL_LINKS
179
-lib_ldf_mode   = off
180
-lib_extra_dirs = frameworks
181
-lib_deps       = CMSIS-LPC1768
179
+lib_ldf_mode      = off
180
+lib_extra_dirs    = frameworks
181
+lib_deps          = CMSIS-LPC1768
182 182
   https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
183
-src_filter     = ${common.default_src_filter}
184
-extra_scripts  =  Marlin/src/HAL/HAL_LPC1768/debug_extra_script.py, Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
185
-monitor_speed  = 250000
186
-debug_tool     = custom
187
-debug_server   =
183
+src_filter        = ${common.default_src_filter}
184
+extra_scripts     =  Marlin/src/HAL/HAL_LPC1768/debug_extra_script.py, Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
185
+monitor_speed     = 250000
186
+debug_tool        = custom
187
+debug_server      =
188 188
   C:\Program Files (x86)\SEGGER\JLink_V618d\JLinkGDBServerCL.exe
189 189
   -select USB
190 190
   -port 2331
@@ -223,14 +223,14 @@ monitor_speed = 250000
223 223
 # RAMBo
224 224
 #
225 225
 [env:rambo]
226
-platform      = atmelavr
227
-framework     = arduino
228
-board         = reprap_rambo
229
-build_flags   = ${common.build_flags}
230
-board_f_cpu   = 16000000L
231
-lib_deps      = ${common.lib_deps}
232
-src_filter    = ${common.default_src_filter}
233
-monitor_speed = 250000
226
+platform          = atmelavr
227
+framework         = arduino
228
+board             = reprap_rambo
229
+build_flags       = ${common.build_flags}
230
+board_build.f_cpu = 16000000L
231
+lib_deps          = ${common.lib_deps}
232
+src_filter        = ${common.default_src_filter}
233
+monitor_speed     = 250000
234 234
 
235 235
 #
236 236
 # Sanguinololu (ATmega644p)
@@ -295,15 +295,15 @@ monitor_speed = 250000
295 295
 # Teensy++ 2.0
296 296
 #
297 297
 [env:teensy20]
298
-platform      = teensy
299
-framework     = arduino
300
-board         = teensy20pp
301
-build_flags   = ${common.build_flags}
302
-#board_f_cpu  = 20000000L     ; Bug in Arduino framework disallows boards running at 20Mhz
303
-lib_deps      = ${common.lib_deps}
304
-lib_ldf_mode  = deep+
305
-src_filter    = ${common.default_src_filter}
306
-monitor_speed = 250000
298
+platform          = teensy
299
+framework         = arduino
300
+board             = teensy20pp
301
+build_flags       = ${common.build_flags}
302
+#board_build.f_cpu = 20000000L     ; Bug in Arduino framework disallows boards running at 20Mhz
303
+lib_deps          = ${common.lib_deps}
304
+lib_ldf_mode      = deep+
305
+src_filter        = ${common.default_src_filter}
306
+monitor_speed     = 250000
307 307
 
308 308
 #
309 309
 # Teensy 3.5 / 3.6 (ARM Cortex-M4)
@@ -321,11 +321,11 @@ monitor_speed = 250000
321 321
 [env:malyanm200]
322 322
 platform    = ststm32
323 323
 framework   = arduino
324
-board = malyanM200
324
+board       = malyanM200
325 325
 build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py -DMCU_STM32F103CB -D __STM32F1__=1 -std=c++1y -D MOTHERBOARD="BOARD_MALYAN_M200" -DSERIAL_USB -ffunction-sections -fdata-sections -Wl,--gc-sections
326
-src_filter = ${common.default_src_filter}
326
+src_filter  = ${common.default_src_filter}
327 327
 #-<frameworks>
328
-lib_ignore =
328
+lib_ignore  =
329 329
   U8glib
330 330
   LiquidCrystal_I2C
331 331
   LiquidCrystal

Loading…
Cancel
Save