Browse Source

update lpc builds to use platformios ldf limited to strict mode

need to identify why incompatible libraries are still included without specifically disallowing them
Christopher Pepper 6 years ago
parent
commit
61fbd0aa59
1 changed files with 6 additions and 2 deletions
  1. 6
    2
      platformio.ini

+ 6
- 2
platformio.ini View File

@@ -156,7 +156,9 @@ build_flags       = -DTARGET_LPC1768 -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC176
156 156
 # debug options for backtrace
157 157
 #  -funwind-tables
158 158
 #  -mpoke-function-name
159
-lib_ldf_mode      = off
159
+lib_ignore        = Adafruit NeoPixel
160
+lib_ldf_mode      = chain+
161
+lib_compat_mode   = strict
160 162
 extra_scripts     = Marlin/src/HAL/HAL_LPC1768/upload_extra_script.py
161 163
 src_filter        = ${common.default_src_filter} +<src/HAL/HAL_LPC1768>
162 164
 monitor_speed     = 250000
@@ -171,7 +173,9 @@ build_flags       = -DTARGET_LPC1768 -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC176
171 173
 # debug options for backtrace
172 174
 #  -funwind-tables
173 175
 #  -mpoke-function-name
174
-lib_ldf_mode      = off
176
+lib_ignore        = Adafruit NeoPixel
177
+lib_ldf_mode      = chain+
178
+lib_compat_mode   = strict
175 179
 extra_scripts     = Marlin/src/HAL/HAL_LPC1768/upload_extra_script.py
176 180
 src_filter        = ${common.default_src_filter} +<src/HAL/HAL_LPC1768>
177 181
 monitor_speed     = 250000

Loading…
Cancel
Save