Browse Source

[2.0.x] ELF improvement, fix lib_ignore (#9793)

- Compiler flags so ELF will include the original source.
- Use commit-id archives for a working `lib_ignore`.
Bob-the-Kuhn 6 years ago
parent
commit
f15d7bdbf2
1 changed files with 32 additions and 32 deletions
  1. 32
    32
      platformio.ini

+ 32
- 32
platformio.ini View File

@@ -23,19 +23,19 @@ libdeps_dir = .piolibdeps
23 23
 env_default = megaatmega2560
24 24
 
25 25
 [common]
26
+default_src_filter = +<src/*> -<src/config>
27
+build_flags = -fmax-errors=5
28
+  -g
29
+  -ggdb
26 30
 lib_deps =
27 31
   https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
28 32
   LiquidCrystal_I2C@1.1.2
29 33
   TMC2130Stepper
30 34
   https://github.com/teemuatlut/TMC2208Stepper/archive/v0.0.3.zip
31 35
   Adafruit NeoPixel@1.1.3
32
-  https://github.com/lincomatic/LiquidTWI2/archive/master.zip
33
-  https://github.com/trinamic/TMC26XStepper/archive/master.zip
34
-  https://github.com/ameyer/Arduino-L6470/archive/master.zip
35
-
36
-default_src_filter = +<src/*> -<src/config>
37
-
38
-build_flags = -fmax-errors=5
36
+  https://github.com/lincomatic/LiquidTWI2/archive/30aa480.zip
37
+  https://github.com/ameyer/Arduino-L6470/archive/3cd0993.zip
38
+  https://github.com/trinamic/TMC26XStepper/archive/c1921b4.zip
39 39
 
40 40
 #################################
41 41
 #                               #
@@ -72,30 +72,6 @@ lib_deps    = ${common.lib_deps}
72 72
 src_filter  = ${common.default_src_filter}
73 73
 
74 74
 #
75
-# Melzi and clones (ATmega1284p)
76
-#
77
-[env:melzi]
78
-platform     = atmelavr
79
-framework    = arduino
80
-board        = sanguino_atmega1284p
81
-build_flags  = ${common.build_flags}
82
-upload_speed = 57600
83
-lib_deps     = ${common.lib_deps}
84
-src_filter   = ${common.default_src_filter}
85
-
86
-#
87
-# Melzi and clones (Optiboot bootloader)
88
-#
89
-[env:melzi_optiboot]
90
-platform     = atmelavr
91
-framework    = arduino
92
-board        = sanguino_atmega1284p
93
-build_flags  = ${common.build_flags}
94
-upload_speed = 115200
95
-lib_deps     = ${common.lib_deps}
96
-src_filter   = ${common.default_src_filter}
97
-
98
-#
99 75
 # Due (Atmel SAM3X8E ARM Cortex-M3)
100 76
 #
101 77
 #  - RAMPS4DUE
@@ -107,7 +83,7 @@ framework   = arduino
107 83
 board       = due
108 84
 build_flags = ${common.build_flags}
109 85
 lib_deps    = ${common.lib_deps}
110
-lib_ignore  = TMC26XStepper
86
+lib_ignore  = c1921b4
111 87
 src_filter  = ${common.default_src_filter}
112 88
 
113 89
 #
@@ -164,6 +140,30 @@ debug_server   =
164 140
   -noir
165 141
 
166 142
 #
143
+# Melzi and clones (ATmega1284p)
144
+#
145
+[env:melzi]
146
+platform     = atmelavr
147
+framework    = arduino
148
+board        = sanguino_atmega1284p
149
+build_flags  = ${common.build_flags}
150
+upload_speed = 57600
151
+lib_deps     = ${common.lib_deps}
152
+src_filter   = ${common.default_src_filter}
153
+
154
+#
155
+# Melzi and clones (Optiboot bootloader)
156
+#
157
+[env:melzi_optiboot]
158
+platform     = atmelavr
159
+framework    = arduino
160
+board        = sanguino_atmega1284p
161
+build_flags  = ${common.build_flags}
162
+upload_speed = 115200
163
+lib_deps     = ${common.lib_deps}
164
+src_filter   = ${common.default_src_filter}
165
+
166
+#
167 167
 # RAMBo
168 168
 #
169 169
 [env:rambo]

Loading…
Cancel
Save