Browse Source

Merge pull request #8338 from Bob-the-Kuhn/u8g-try-4-fix-platformio.ini

2.0.x - U8G HAL LCD support - platformio.ini correction
Bob-the-Kuhn 7 years ago
parent
commit
5a88e9bc4b
No account linked to committer's email address
1 changed files with 60 additions and 52 deletions
  1. 60
    52
      platformio.ini

+ 60
- 52
platformio.ini View File

26
   https://github.com/trinamic/TMC26XStepper.git
26
   https://github.com/trinamic/TMC26XStepper.git
27
   https://github.com/adafruit/Adafruit_NeoPixel.git
27
   https://github.com/adafruit/Adafruit_NeoPixel.git
28
   https://github.com/ameyer/Arduino-L6470.git
28
   https://github.com/ameyer/Arduino-L6470.git
29
-  U8glib-HAL
29
+  
30
 
30
 
31
 
31
 
32
 default_src_filter = +<src/*> -<src/config>
32
 default_src_filter = +<src/*> -<src/config>
49
 framework   = arduino
49
 framework   = arduino
50
 board       = megaatmega2560
50
 board       = megaatmega2560
51
 build_flags = -I $BUILDSRC_DIR
51
 build_flags = -I $BUILDSRC_DIR
52
-  -fmax-errors=5
53
 board_f_cpu = 16000000L
52
 board_f_cpu = 16000000L
54
 lib_deps    = ${common.lib_deps}
53
 lib_deps    = ${common.lib_deps}
54
+  U8glib-HAL
55
 src_filter  = ${common.default_src_filter}
55
 src_filter  = ${common.default_src_filter}
56
 
56
 
57
 #
57
 #
64
 build_flags = -I $BUILDSRC_DIR
64
 build_flags = -I $BUILDSRC_DIR
65
 board_f_cpu = 16000000L
65
 board_f_cpu = 16000000L
66
 lib_deps    = ${common.lib_deps}
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
 src_filter  = ${common.default_src_filter}
68
 src_filter  = ${common.default_src_filter}
96
 
69
 
97
 #
70
 #
103
 board        = sanguino_atmega1284p
76
 board        = sanguino_atmega1284p
104
 upload_speed = 57600
77
 upload_speed = 57600
105
 lib_deps     = ${common.lib_deps}
78
 lib_deps     = ${common.lib_deps}
79
+  U8glib-HAL
106
 src_filter   = ${common.default_src_filter}
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
 # Due (Atmel SAM3X8E ARM Cortex-M3)
83
 # Due (Atmel SAM3X8E ARM Cortex-M3)
120
 #
84
 #
121
 #  - RAMPS4DUE
85
 #  - RAMPS4DUE
127
 board       = due
91
 board       = due
128
 build_flags = -I $BUILDSRC_DIR
92
 build_flags = -I $BUILDSRC_DIR
129
 lib_deps    = ${common.lib_deps}
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
 src_filter  = ${common.default_src_filter}
95
 src_filter  = ${common.default_src_filter}
143
 
96
 
144
 #
97
 #
191
   auto
144
   auto
192
   -noir
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
 [env:STM32F1]
171
 [env:STM32F1]
195
 platform    = ststm32
172
 platform    = ststm32
196
 framework   = arduino
173
 framework   = arduino
197
 board       = genericSTM32F103RE
174
 board       = genericSTM32F103RE
198
 build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py
175
 build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py
199
 lib_deps    = ${common.lib_deps}
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
 src_filter  = ${common.default_src_filter}
208
 src_filter  = ${common.default_src_filter}

Loading…
Cancel
Save