浏览代码

move U8glib-HAL

Bob-the-Kuhn 7 年前
父节点
当前提交
c388dce2b5
共有 1 个文件被更改,包括 60 次插入52 次删除
  1. 60
    52
      platformio.ini

+ 60
- 52
platformio.ini 查看文件

@@ -26,7 +26,7 @@ lib_deps =
26 26
   https://github.com/trinamic/TMC26XStepper.git
27 27
   https://github.com/adafruit/Adafruit_NeoPixel.git
28 28
   https://github.com/ameyer/Arduino-L6470.git
29
-  U8glib-HAL
29
+  
30 30
 
31 31
 
32 32
 default_src_filter = +<src/*> -<src/config>
@@ -49,9 +49,9 @@ platform    = atmelavr
49 49
 framework   = arduino
50 50
 board       = megaatmega2560
51 51
 build_flags = -I $BUILDSRC_DIR
52
-  -fmax-errors=5
53 52
 board_f_cpu = 16000000L
54 53
 lib_deps    = ${common.lib_deps}
54
+  U8glib-HAL
55 55
 src_filter  = ${common.default_src_filter}
56 56
 
57 57
 #
@@ -64,34 +64,7 @@ board       = megaatmega1280
64 64
 build_flags = -I $BUILDSRC_DIR
65 65
 board_f_cpu = 16000000L
66 66
 lib_deps    = ${common.lib_deps}
67
-src_filter  = ${common.default_src_filter}
68
-
69
-#
70
-# Teensy++ 2.0
71
-#
72
-# - PrintrBoard
73
-# - PrintrBoard Rev.F
74
-# - Brainwave Pro
75
-#
76
-[env:teensy20]
77
-platform      = teensy
78
-framework     = arduino
79
-board         = teensy20pp
80
-build_flags   = -I $BUILDSRC_DIR
81
-#board_f_cpu  = 20000000L     ; Bug in Arduino framework disallows boards running at 20Mhz
82
-lib_deps      = ${common.lib_deps}
83
-src_filter    = ${common.default_src_filter}
84
-
85
-#
86
-# RAMBo
87
-#
88
-[env:rambo]
89
-platform    = atmelavr
90
-framework   = arduino
91
-board       = reprap_rambo
92
-build_flags = -I $BUILDSRC_DIR
93
-board_f_cpu = 16000000L
94
-lib_deps    = ${common.lib_deps}
67
+  U8glib-HAL
95 68
 src_filter  = ${common.default_src_filter}
96 69
 
97 70
 #
@@ -103,19 +76,10 @@ framework    = arduino
103 76
 board        = sanguino_atmega1284p
104 77
 upload_speed = 57600
105 78
 lib_deps     = ${common.lib_deps}
79
+  U8glib-HAL
106 80
 src_filter   = ${common.default_src_filter}
107 81
 
108 82
 #
109
-# Sanguinololu (ATmega644p)
110
-#
111
-[env:sanguino_atmega644p]
112
-platform   = atmelavr
113
-framework  = arduino
114
-board      = sanguino_atmega644p
115
-lib_deps   = ${common.lib_deps}
116
-src_filter = ${common.default_src_filter}
117
-
118
-#
119 83
 # Due (Atmel SAM3X8E ARM Cortex-M3)
120 84
 #
121 85
 #  - RAMPS4DUE
@@ -127,18 +91,7 @@ framework   = arduino
127 91
 board       = due
128 92
 build_flags = -I $BUILDSRC_DIR
129 93
 lib_deps    = ${common.lib_deps}
130
-src_filter  = ${common.default_src_filter}
131
-
132
-#
133
-# Teensy 3.5 / 3.6 (ARM Cortex-M4)
134
-#
135
-[env:teensy35]
136
-platform    = teensy
137
-framework   = arduino
138
-board       = teensy35
139
-build_flags = -I $BUILDSRC_DIR
140
-lib_deps    = ${common.lib_deps}
141
-lib_ignore  = Adafruit NeoPixel
94
+  U8glib-HAL
142 95
 src_filter  = ${common.default_src_filter}
143 96
 
144 97
 #
@@ -191,10 +144,65 @@ debug_server   =
191 144
   auto
192 145
   -noir
193 146
 
147
+#
148
+# RAMBo
149
+#
150
+[env:rambo]
151
+platform    = atmelavr
152
+framework   = arduino
153
+board       = reprap_rambo
154
+build_flags = -I $BUILDSRC_DIR
155
+board_f_cpu = 16000000L
156
+lib_deps    = ${common.lib_deps}
157
+  U8glib-HAL
158
+src_filter  = ${common.default_src_filter}
159
+
160
+#
161
+# Sanguinololu (ATmega644p)
162
+#
163
+[env:sanguino_atmega644p]
164
+platform   = atmelavr
165
+framework  = arduino
166
+board      = sanguino_atmega644p
167
+lib_deps   = ${common.lib_deps}
168
+  U8glib-HAL
169
+src_filter = ${common.default_src_filter}
170
+
194 171
 [env:STM32F1]
195 172
 platform    = ststm32
196 173
 framework   = arduino
197 174
 board       = genericSTM32F103RE
198 175
 build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py
199 176
 lib_deps    = ${common.lib_deps}
177
+  U8glib-HAL
178
+src_filter  = ${common.default_src_filter}
179
+
180
+#
181
+# Teensy++ 2.0
182
+#
183
+# - PrintrBoard
184
+# - PrintrBoard Rev.F
185
+# - Brainwave Pro
186
+#
187
+[env:teensy20]
188
+platform      = teensy
189
+framework     = arduino
190
+board         = teensy20pp
191
+build_flags   = -I $BUILDSRC_DIR
192
+#board_f_cpu  = 20000000L     ; Bug in Arduino framework disallows boards running at 20Mhz
193
+lib_deps      = ${common.lib_deps}
194
+  U8glib-HAL
195
+src_filter    = ${common.default_src_filter}
196
+
197
+#
198
+# Teensy 3.5 / 3.6 (ARM Cortex-M4)
199
+#
200
+[env:teensy35]
201
+platform    = teensy
202
+framework   = arduino
203
+board       = teensy35
204
+build_flags = -I $BUILDSRC_DIR
205
+lib_deps    = ${common.lib_deps}
206
+  U8glib-HAL
207
+lib_ignore  = Adafruit NeoPixel
200 208
 src_filter  = ${common.default_src_filter}

正在加载...
取消
保存