Browse Source

PlatformIO Travis test

spi.h renamed to avoid conflicts with base libraries
Christopher Pepper 7 years ago
parent
commit
d2fb3215da
3 changed files with 86 additions and 145 deletions
  1. 81
    144
      .travis.yml
  2. 3
    0
      buildroot/bin/build_marlin_pio
  3. 2
    1
      platformio.ini

+ 81
- 144
.travis.yml View File

1
-dist: trusty
2
-sudo: true
3
-  #
4
-language: c
5
-  #
6
-dist: trusty
7
-sudo: required
8
-group: deprecated-2017Q2
1
+language: python
2
+python:
3
+  - "2.7"
4
+
9
 notifications:
5
 notifications:
10
   email: false
6
   email: false
11
-  #
7
+
8
+# Cache PlatformIO packages using Travis CI container-based infrastructure
9
+sudo: false
10
+cache: 
11
+  pip: true
12
+  directories:
13
+  - "~/.platformio"
14
+
15
+env:
16
+  - TEST_PLATFORM="-e megaatmega2560"
17
+
12
 before_install:
18
 before_install:
13
   #
19
   #
14
   # Fetch the tag information for the current branch
20
   # Fetch the tag information for the current branch
16
   #
22
   #
17
   # Publish the buildroot script folder
23
   # Publish the buildroot script folder
18
   - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
24
   - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
19
-  - export PATH=${TRAVIS_BUILD_DIR}/buildroot/bin/:${PATH}
20
-  #
21
-  # Start fb X server
22
-  - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
23
-  - sleep 3
24
-  - export DISPLAY=:1.0
25
-  #
26
-  # Teensy compiling
27
-  - lsb_release -a
28
-  - sudo apt-get -qq update
29
-  - sudo apt-get install -y binutils-arm-none-eabi gcc-arm-none-eabi lib32ncurses5 lib32z1
30
-  #
31
-install:
32
-  #
33
-  # Install arduino 1.8.0
34
-  - wget http://downloads-02.arduino.cc/arduino-1.8.0-linux64.tar.xz
35
-  - tar xf arduino-1.8.0-linux64.tar.xz
36
-  - sudo mv arduino-1.8.0 /usr/local/share/arduino
37
-  - ln -s /usr/local/share/arduino/arduino ${TRAVIS_BUILD_DIR}/buildroot/bin/arduino
38
-  #
39
-  # Install: LiquidCrystal_I2C library
40
-  - git clone https://github.com/kiyoshigawa/LiquidCrystal_I2C.git
41
-  - mv LiquidCrystal_I2C/LiquidCrystal_I2C /usr/local/share/arduino/libraries/LiquidCrystal_I2C
42
-  #
43
-  # Install: LiquidTWI2 library
44
-  - git clone https://github.com/lincomatic/LiquidTWI2.git
45
-  - sudo mv LiquidTWI2 /usr/local/share/arduino/libraries/LiquidTWI2
46
-  #
47
-  # Install: Monochrome Graphics Library for LCDs and OLEDs
48
-  - git clone https://github.com/olikraus/U8glib_Arduino.git
49
-  - sudo mv U8glib_Arduino /usr/local/share/arduino/libraries/U8glib
50
-  #
51
-  # Install: L6470 Stepper Motor Driver library
52
-  # - git clone https://github.com/ameyer/Arduino-L6470.git
53
-  # - sudo mv Arduino-L6470/L6470 /usr/local/share/arduino/libraries/L6470
54
-  #
55
-  # Install: TMC26X Stepper Motor Controller library
56
-  # - git clone https://github.com/trinamic/TMC26XStepper.git
57
-  # - sudo mv TMC26XStepper /usr/local/share/arduino/libraries/TMC26XStepper
58
-  #
59
-  # Install: TMC2130 Stepper Motor Controller library
60
-  - git clone https://github.com/teemuatlut/TMC2130Stepper.git
61
-  - sudo mv TMC2130Stepper /usr/local/share/arduino/libraries/TMC2130Stepper
62
-  #
63
-  # Install: Adafruit Neopixel library
64
-  - git clone https://github.com/adafruit/Adafruit_NeoPixel.git
65
-  - sudo mv Adafruit_NeoPixel /usr/local/share/arduino/libraries/Adafruit_NeoPixel
66
-  #
67
-  # Install Teensy stuff
68
-
69
-  - wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/5_4-2016q2/gccarmnoneeabi542016q220160622linuxtar.bz2
70
-  - tar xf gccarmnoneeabi542016q220160622linuxtar.bz2
71
-  - sudo mkdir -p /usr/local/share/arduino/hardware/tools/arm
72
-  - sudo mv gcc-arm-none-eabi-5_4-2016q2/* /usr/local/share/arduino/hardware/tools/arm/
73
-
74
-  - wget https://github.com/ARM-software/CMSIS_5/raw/develop/CMSIS/Lib/ARM/arm_cortexM4lf_math.lib
75
-  - sudo mv arm_cortexM4lf_math.lib /usr/local/share/arduino/hardware/tools/arm/arm-none-eabi/lib/libarm_cortexM4lf_math.a
76
-
77
-  - git clone https://github.com/teemuatlut/teensyfiles_for_marlin.git
78
-  - sudo mkdir -p /usr/local/share/arduino/hardware/teensy/avr
79
-  - sudo cp teensyfiles_for_marlin/*.txt /usr/local/share/arduino/hardware/teensy/avr/
80
-
81
-  - git clone https://github.com/PaulStoffregen/cores.git
82
-  - sudo mv cores /usr/local/share/arduino/hardware/teensy/avr
83
-
84
-  # Teensy libraries
25
+  - ln -s ${TRAVIS_BUILD_DIR}/buildroot/bin/ ~/bin
85
 
26
 
86
-  - git clone https://github.com/PaulStoffregen/Wire.git
87
-  - git clone https://github.com/PaulStoffregen/SPI.git
88
-  - git clone https://github.com/PaulStoffregen/Servo.git
89
-  - sudo mkdir -p /usr/local/share/arduino/hardware/teensy/avr/libraries/
90
-  - sudo mv Wire /usr/local/share/arduino/hardware/teensy/avr/libraries/
91
-  - sudo mv SPI /usr/local/share/arduino/hardware/teensy/avr/libraries/
92
-  - sudo mv Servo /usr/local/share/arduino/hardware/teensy/avr/libraries/
27
+install:
28
+  - pip install -U platformio
93
 
29
 
94
-  - mkdir -p /usr/local/share/arduino/hardware/tools/arm
95
-  - sudo ln -s /usr/bin /usr/local/share/arduino/hardware/tools/arm/bin
96
-  - sudo ln -s /usr/lib /usr/local/share/arduino/hardware/tools/arm/lib
97
 before_script:
30
 before_script:
98
   #
31
   #
99
   # Change current working directory to the build dir
32
   # Change current working directory to the build dir
113
   #
46
   #
114
   # Build with the default configurations
47
   # Build with the default configurations
115
   #
48
   #
116
-  - build_marlin
49
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
117
   #
50
   #
118
   # Test 2 extruders (one MAX6675) and heated bed on basic RAMPS 1.4
51
   # Test 2 extruders (one MAX6675) and heated bed on basic RAMPS 1.4
119
   # Test a "Fix Mounted" Probe with Safe Homing, some arc options,
52
   # Test a "Fix Mounted" Probe with Safe Homing, some arc options,
127
   - opt_enable PIDTEMPBED FIX_MOUNTED_PROBE Z_SAFE_HOMING ARC_P_CIRCLES CNC_WORKSPACE_PLANES
60
   - opt_enable PIDTEMPBED FIX_MOUNTED_PROBE Z_SAFE_HOMING ARC_P_CIRCLES CNC_WORKSPACE_PLANES
128
   - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT EEPROM_SETTINGS
61
   - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT EEPROM_SETTINGS
129
   - opt_enable BLINKM PCA9632 RGB_LED NEOPIXEL_RGBW_LED
62
   - opt_enable BLINKM PCA9632 RGB_LED NEOPIXEL_RGBW_LED
63
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
64
+
65
+  #
66
+  # ...with AUTO_BED_LEVELING_LINEAR, Z_MIN_PROBE_REPEATABILITY_TEST, and DEBUG_LEVELING_FEATURE
67
+  #
130
   - opt_enable AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
68
   - opt_enable AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
131
   - opt_enable_adv FWRETRACT MAX7219_DEBUG
69
   - opt_enable_adv FWRETRACT MAX7219_DEBUG
132
   - opt_set ABL_GRID_POINTS_X 16
70
   - opt_set ABL_GRID_POINTS_X 16
133
   - opt_set ABL_GRID_POINTS_Y 16
71
   - opt_set ABL_GRID_POINTS_Y 16
134
-  - opt_set_adv FANMUX0_PIN 53
135
-  - build_marlin
72
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
136
   #
73
   #
137
   # Test a simple build of AUTO_BED_LEVELING_UBL
74
   # Test a simple build of AUTO_BED_LEVELING_UBL
138
   #
75
   #
139
   - restore_configs
76
   - restore_configs
140
   - opt_enable AUTO_BED_LEVELING_UBL UBL_G26_MESH_EDITING ENABLE_LEVELING_FADE_HEIGHT FIX_MOUNTED_PROBE EEPROM_SETTINGS G3D_PANEL
77
   - opt_enable AUTO_BED_LEVELING_UBL UBL_G26_MESH_EDITING ENABLE_LEVELING_FADE_HEIGHT FIX_MOUNTED_PROBE EEPROM_SETTINGS G3D_PANEL
141
   - opt_enable_adv CUSTOM_USER_MENUS I2C_POSITION_ENCODERS BABYSTEPPING
78
   - opt_enable_adv CUSTOM_USER_MENUS I2C_POSITION_ENCODERS BABYSTEPPING
142
-  - build_marlin
79
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
143
   #
80
   #
144
   # Test a Sled Z Probe
81
   # Test a Sled Z Probe
145
   # ...with AUTO_BED_LEVELING_LINEAR, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, and EEPROM_CHITCHAT
82
   # ...with AUTO_BED_LEVELING_LINEAR, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, and EEPROM_CHITCHAT
146
   #
83
   #
147
   - restore_configs
84
   - restore_configs
148
   - opt_enable Z_PROBE_SLED AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
85
   - opt_enable Z_PROBE_SLED AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
149
-  - build_marlin
86
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
150
   #
87
   #
151
   # Test a Servo Probe
88
   # Test a Servo Probe
152
   # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
89
   # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
156
   - opt_set NUM_SERVOS 1
93
   - opt_set NUM_SERVOS 1
157
   - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
94
   - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
158
   - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET
95
   - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET
159
-  - build_marlin
96
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
160
   #
97
   #
161
   # Test MESH_BED_LEVELING feature, with LCD
98
   # Test MESH_BED_LEVELING feature, with LCD
162
   #
99
   #
163
   - restore_configs
100
   - restore_configs
164
   - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN LCD_BED_LEVELING ULTIMAKERCONTROLLER
101
   - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN LCD_BED_LEVELING ULTIMAKERCONTROLLER
165
-  - build_marlin
102
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
166
   #
103
   #
167
   # Test PROBE_MANUALLY feature, with LCD support,
104
   # Test PROBE_MANUALLY feature, with LCD support,
168
   #      EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER,
105
   #      EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER,
172
   - opt_set MOTHERBOARD BOARD_MINIRAMBO
109
   - opt_set MOTHERBOARD BOARD_MINIRAMBO
173
   - opt_enable PROBE_MANUALLY AUTO_BED_LEVELING_BILINEAR LCD_BED_LEVELING ULTIMAKERCONTROLLER
110
   - opt_enable PROBE_MANUALLY AUTO_BED_LEVELING_BILINEAR LCD_BED_LEVELING ULTIMAKERCONTROLLER
174
   - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT M100_FREE_MEMORY_WATCHER M100_FREE_MEMORY_DUMPER M100_FREE_MEMORY_CORRUPTOR INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
111
   - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT M100_FREE_MEMORY_WATCHER M100_FREE_MEMORY_DUMPER M100_FREE_MEMORY_CORRUPTOR INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
175
-  - build_marlin
112
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
176
   #
113
   #
177
   # Test 5 extruders on AZTEEG_X3_PRO (can use any board with >=5 extruders defined)
114
   # Test 5 extruders on AZTEEG_X3_PRO (can use any board with >=5 extruders defined)
178
   # Include a test for LIN_ADVANCE here also
115
   # Include a test for LIN_ADVANCE here also
185
   - opt_set TEMP_SENSOR_4 999
122
   - opt_set TEMP_SENSOR_4 999
186
   - opt_set TEMP_SENSOR_BED 1
123
   - opt_set TEMP_SENSOR_BED 1
187
   - opt_enable_adv LIN_ADVANCE
124
   - opt_enable_adv LIN_ADVANCE
188
-  - build_marlin
125
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
189
   #
126
   #
190
   # Mixing Extruder with 5 steppers
127
   # Mixing Extruder with 5 steppers
191
   #
128
   #
193
   - opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
130
   - opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
194
   - opt_enable MIXING_EXTRUDER
131
   - opt_enable MIXING_EXTRUDER
195
   - opt_set MIXING_STEPPERS 5
132
   - opt_set MIXING_STEPPERS 5
196
-  - build_marlin
133
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
197
   #
134
   #
198
   # Test DUAL_X_CARRIAGE
135
   # Test DUAL_X_CARRIAGE
199
   #
136
   #
203
   - opt_set TEMP_SENSOR_1 1
140
   - opt_set TEMP_SENSOR_1 1
204
   - opt_enable USE_XMAX_PLUG
141
   - opt_enable USE_XMAX_PLUG
205
   - opt_enable_adv DUAL_X_CARRIAGE
142
   - opt_enable_adv DUAL_X_CARRIAGE
206
-  - build_marlin
143
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
207
   #
144
   #
208
   # Test SPEAKER with BOARD_BQ_ZUM_MEGA_3D and BQ_LCD_SMART_CONTROLLER
145
   # Test SPEAKER with BOARD_BQ_ZUM_MEGA_3D and BQ_LCD_SMART_CONTROLLER
209
   #
146
   #
222
   - opt_set NUM_SERVOS 1
159
   - opt_set NUM_SERVOS 1
223
   - opt_set TEMP_SENSOR_1 1
160
   - opt_set TEMP_SENSOR_1 1
224
   - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
161
   - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
225
-  - build_marlin
162
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
226
   #
163
   #
227
   # Test MINIRAMBO for PWM_MOTOR_CURRENT
164
   # Test MINIRAMBO for PWM_MOTOR_CURRENT
228
   #      ULTIMAKERCONTROLLER, FILAMENT_LCD_DISPLAY, FILAMENT_WIDTH_SENSOR,
165
   #      ULTIMAKERCONTROLLER, FILAMENT_LCD_DISPLAY, FILAMENT_WIDTH_SENSOR,
238
   - opt_enable_adv FILAMENT_CHANGE_FEATURE PARK_HEAD_ON_PAUSE LCD_INFO_MENU
175
   - opt_enable_adv FILAMENT_CHANGE_FEATURE PARK_HEAD_ON_PAUSE LCD_INFO_MENU
239
   - pins_set RAMPS X_MAX_PIN -1
176
   - pins_set RAMPS X_MAX_PIN -1
240
   - opt_set_adv Z2_MAX_PIN 2
177
   - opt_set_adv Z2_MAX_PIN 2
241
-  - build_marlin
178
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
242
   #
179
   #
243
   # Enable COREXY
180
   # Enable COREXY
244
   #
181
   #
245
   - restore_configs
182
   - restore_configs
246
   - opt_enable COREXY
183
   - opt_enable COREXY
247
-  - build_marlin
184
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
248
   #
185
   #
249
   # Enable COREYX (swapped)
186
   # Enable COREYX (swapped)
250
   #
187
   #
259
   #
196
   #
260
   - restore_configs
197
   - restore_configs
261
   - opt_enable ULTRA_LCD
198
   - opt_enable ULTRA_LCD
262
-  - build_marlin
199
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
263
   #
200
   #
264
   # DOGLCD
201
   # DOGLCD
265
   #
202
   #
266
   - restore_configs
203
   - restore_configs
267
   - opt_enable DOGLCD
204
   - opt_enable DOGLCD
268
-  - build_marlin
205
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
269
   #
206
   #
270
   # MAKRPANEL
207
   # MAKRPANEL
271
   # Needs to use Melzi and Sanguino hardware
208
   # Needs to use Melzi and Sanguino hardware
279
   - restore_configs
216
   - restore_configs
280
   - opt_set MOTHERBOARD BOARD_RIGIDBOARD_V2
217
   - opt_set MOTHERBOARD BOARD_RIGIDBOARD_V2
281
   - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING DAC_MOTOR_CURRENT_DEFAULT
218
   - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING DAC_MOTOR_CURRENT_DEFAULT
282
-  - build_marlin
219
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
283
   #
220
   #
284
   # G3D_PANEL with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
221
   # G3D_PANEL with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
285
   #
222
   #
290
   - opt_set_adv SDSORT_USES_RAM true
227
   - opt_set_adv SDSORT_USES_RAM true
291
   - opt_set_adv SDSORT_USES_STACK true
228
   - opt_set_adv SDSORT_USES_STACK true
292
   - opt_set_adv SDSORT_CACHE_NAMES true
229
   - opt_set_adv SDSORT_CACHE_NAMES true
293
-  - build_marlin
230
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
294
   #
231
   #
295
   # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
232
   # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
296
   #
233
   #
297
   - restore_configs
234
   - restore_configs
298
   - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
235
   - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
299
   - opt_enable_adv SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING
236
   - opt_enable_adv SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING
300
-  - build_marlin
237
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
301
   #
238
   #
302
   # REPRAPWORLD_KEYPAD
239
   # REPRAPWORLD_KEYPAD
303
   #
240
   #
310
   #
247
   #
311
   - restore_configs
248
   - restore_configs
312
   - opt_enable RA_CONTROL_PANEL PINS_DEBUGGING
249
   - opt_enable RA_CONTROL_PANEL PINS_DEBUGGING
313
-  - build_marlin
250
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
314
   #
251
   #
315
   ######## I2C LCD/PANELS ##############
252
   ######## I2C LCD/PANELS ##############
316
   #
253
   #
340
   #
277
   #
341
   - restore_configs
278
   - restore_configs
342
   - opt_enable LCM1602
279
   - opt_enable LCM1602
343
-  - build_marlin
280
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
344
   #
281
   #
345
   #
282
   #
346
   ######## Example Configurations ##############
283
   ######## Example Configurations ##############
353
   # Delta Config (generic) + ABL bilinear + PROBE_MANUALLY
290
   # Delta Config (generic) + ABL bilinear + PROBE_MANUALLY
354
   - use_example_configs delta/generic
291
   - use_example_configs delta/generic
355
   - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
292
   - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
356
-  - build_marlin
293
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
357
   #
294
   #
358
   # Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS
295
   # Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS
359
   #
296
   #
360
   - use_example_configs delta/generic
297
   - use_example_configs delta/generic
361
   - opt_disable DISABLE_MIN_ENDSTOPS
298
   - opt_disable DISABLE_MIN_ENDSTOPS
362
   - opt_enable AUTO_BED_LEVELING_UBL Z_PROBE_ALLEN_KEY EEPROM_SETTINGS EEPROM_CHITCHAT OLED_PANEL_TINYBOY2
299
   - opt_enable AUTO_BED_LEVELING_UBL Z_PROBE_ALLEN_KEY EEPROM_SETTINGS EEPROM_CHITCHAT OLED_PANEL_TINYBOY2
363
-  - build_marlin
300
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
364
   #
301
   #
365
   # Delta Config (FLSUN AC because it's complex)
302
   # Delta Config (FLSUN AC because it's complex)
366
   #
303
   #
367
   - use_example_configs delta/FLSUN/auto_calibrate
304
   - use_example_configs delta/FLSUN/auto_calibrate
368
-  - build_marlin
305
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
369
   #
306
   #
370
   # Makibox Config  need to check board type for Teensy++ 2.0
307
   # Makibox Config  need to check board type for Teensy++ 2.0
371
   #
308
   #
378
   - opt_enable AUTO_BED_LEVELING_BILINEAR FIX_MOUNTED_PROBE USE_ZMIN_PLUG EEPROM_SETTINGS EEPROM_CHITCHAT ULTIMAKERCONTROLLER
315
   - opt_enable AUTO_BED_LEVELING_BILINEAR FIX_MOUNTED_PROBE USE_ZMIN_PLUG EEPROM_SETTINGS EEPROM_CHITCHAT ULTIMAKERCONTROLLER
379
   - opt_enable_adv HAVE_TMC2130 X_IS_TMC2130 Y_IS_TMC2130 Z_IS_TMC2130
316
   - opt_enable_adv HAVE_TMC2130 X_IS_TMC2130 Y_IS_TMC2130 Z_IS_TMC2130
380
   - opt_enable_adv AUTOMATIC_CURRENT_CONTROL STEALTHCHOP HYBRID_THRESHOLD SENSORLESS_HOMING
317
   - opt_enable_adv AUTOMATIC_CURRENT_CONTROL STEALTHCHOP HYBRID_THRESHOLD SENSORLESS_HOMING
381
-  - build_marlin
318
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
382
   #
319
   #
383
   # tvrrug Config need to check board type for sanguino atmega644p
320
   # tvrrug Config need to check board type for sanguino atmega644p
384
   #
321
   #
390
   #
327
   #
391
   # To be added in nightly test branch
328
   # To be added in nightly test branch
392
   #
329
   #
393
-  # Backup Configuration.h, Configuration_adv.h, and pins_RAMPS.h
394
-  #
330
+
331
+  - export TEST_PLATFORM="-e teensy35"
395
   - restore_configs
332
   - restore_configs
396
   - opt_set MOTHERBOARD BOARD_TEENSY35_36
333
   - opt_set MOTHERBOARD BOARD_TEENSY35_36
397
   - cp Marlin/Configuration.h Marlin/Configuration.h.backup
334
   - cp Marlin/Configuration.h Marlin/Configuration.h.backup
400
   #
337
   #
401
   # Test Teensy3.5 with default config
338
   # Test Teensy3.5 with default config
402
   #
339
   #
403
-  - build_marlin_teensy35
340
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
404
   #
341
   #
405
   # Test heated bed temperature sensor
342
   # Test heated bed temperature sensor
406
   #
343
   #
407
   - opt_set TEMP_SENSOR_BED 1
344
   - opt_set TEMP_SENSOR_BED 1
408
-  - build_marlin_teensy35
345
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
409
   #
346
   #
410
   # Test 2 extruders on basic RAMPS 1.4
347
   # Test 2 extruders on basic RAMPS 1.4
411
   #
348
   #
412
   - opt_set EXTRUDERS 2
349
   - opt_set EXTRUDERS 2
413
   - opt_set TEMP_SENSOR_1 1
350
   - opt_set TEMP_SENSOR_1 1
414
-  - build_marlin_teensy35
351
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
415
   #
352
   #
416
   # Test PIDTEMPBED
353
   # Test PIDTEMPBED
417
   #
354
   #
418
   - restore_configs
355
   - restore_configs
419
   - opt_enable PIDTEMPBED
356
   - opt_enable PIDTEMPBED
420
-  - build_marlin_teensy35
357
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
421
   #
358
   #
422
   # Test a "Fix Mounted" Probe along with Safe Homing
359
   # Test a "Fix Mounted" Probe along with Safe Homing
423
   #
360
   #
424
   - restore_configs
361
   - restore_configs
425
   - opt_enable FIX_MOUNTED_PROBE Z_SAFE_HOMING
362
   - opt_enable FIX_MOUNTED_PROBE Z_SAFE_HOMING
426
-  - build_marlin_teensy35
363
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
427
   #
364
   #
428
   # ...with AUTO_BED_LEVELING_LINEAR, Z_MIN_PROBE_REPEATABILITY_TEST, and DEBUG_LEVELING_FEATURE
365
   # ...with AUTO_BED_LEVELING_LINEAR, Z_MIN_PROBE_REPEATABILITY_TEST, and DEBUG_LEVELING_FEATURE
429
   #
366
   #
430
   - opt_enable AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
367
   - opt_enable AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
431
   - opt_set ABL_GRID_POINTS_X 16
368
   - opt_set ABL_GRID_POINTS_X 16
432
   - opt_set ABL_GRID_POINTS_Y 16
369
   - opt_set ABL_GRID_POINTS_Y 16
433
-  - build_marlin_teensy35
370
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
434
   #
371
   #
435
   # Test a Sled Z Probe
372
   # Test a Sled Z Probe
436
   #
373
   #
437
   - restore_configs
374
   - restore_configs
438
   - opt_enable Z_PROBE_SLED
375
   - opt_enable Z_PROBE_SLED
439
-  - build_marlin_teensy35
376
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
440
   #
377
   #
441
   # ...with AUTO_BED_LEVELING_LINEAR, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, and EEPROM_CHITCHAT
378
   # ...with AUTO_BED_LEVELING_LINEAR, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, and EEPROM_CHITCHAT
442
   #
379
   #
443
   - opt_enable AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
380
   - opt_enable AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
444
-  - build_marlin_teensy35
381
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
445
   #
382
   #
446
   # Test a Servo Probe
383
   # Test a Servo Probe
447
   #
384
   #
448
   - restore_configs
385
   - restore_configs
449
   - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
386
   - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
450
-  - build_marlin_teensy35
387
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
451
   #
388
   #
452
   # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
389
   # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
453
   #
390
   #
454
   - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
391
   - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
455
   - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
392
   - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
456
-  - build_marlin_teensy35
393
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
457
   #
394
   #
458
   # Test MESH_BED_LEVELING feature, with LCD
395
   # Test MESH_BED_LEVELING feature, with LCD
459
   #
396
   #
460
   - restore_configs
397
   - restore_configs
461
   - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN MANUAL_BED_LEVELING ULTIMAKERCONTROLLER
398
   - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN MANUAL_BED_LEVELING ULTIMAKERCONTROLLER
462
-  - build_marlin_teensy35
399
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
463
   #
400
   #
464
   # Test EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER,
401
   # Test EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER,
465
   #   INCH_MODE_SUPPORT, TEMPERATURE_UNITS_SUPPORT
402
   #   INCH_MODE_SUPPORT, TEMPERATURE_UNITS_SUPPORT
467
   - restore_configs
404
   - restore_configs
468
   # - opt_enable M100_FREE_MEMORY_WATCHER // Compiler error!
405
   # - opt_enable M100_FREE_MEMORY_WATCHER // Compiler error!
469
   - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
406
   - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
470
-  - build_marlin_teensy35
407
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
471
   #
408
   #
472
   # Mixing Extruder
409
   # Mixing Extruder
473
   #
410
   #
474
   - restore_configs
411
   - restore_configs
475
   - opt_enable MIXING_EXTRUDER
412
   - opt_enable MIXING_EXTRUDER
476
   - opt_set MIXING_STEPPERS 2
413
   - opt_set MIXING_STEPPERS 2
477
-  - build_marlin_teensy35
414
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
478
   #
415
   #
479
   # Test DUAL_X_CARRIAGE
416
   # Test DUAL_X_CARRIAGE
480
   #
417
   #
493
   - opt_set NUM_SERVOS 1
430
   - opt_set NUM_SERVOS 1
494
   - opt_set TEMP_SENSOR_1 1
431
   - opt_set TEMP_SENSOR_1 1
495
   - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
432
   - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
496
-  - build_marlin_teensy35
433
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
497
   #
434
   #
498
   # Test FILAMENT_CHANGE_FEATURE and LCD_INFO_MENU
435
   # Test FILAMENT_CHANGE_FEATURE and LCD_INFO_MENU
499
   #
436
   #
500
   - restore_configs
437
   - restore_configs
501
   - opt_enable ULTIMAKERCONTROLLER
438
   - opt_enable ULTIMAKERCONTROLLER
502
   - opt_enable_adv FILAMENT_CHANGE_FEATURE LCD_INFO_MENU
439
   - opt_enable_adv FILAMENT_CHANGE_FEATURE LCD_INFO_MENU
503
-  - build_marlin_teensy35
440
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
504
   #
441
   #
505
   # Enable filament sensor
442
   # Enable filament sensor
506
   #
443
   #
507
   - restore_configs
444
   - restore_configs
508
   - opt_enable FILAMENT_WIDTH_SENSOR
445
   - opt_enable FILAMENT_WIDTH_SENSOR
509
-  - build_marlin_teensy35
446
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
510
   #
447
   #
511
   # Enable filament sensor with LCD display
448
   # Enable filament sensor with LCD display
512
   #
449
   #
513
   - opt_enable ULTIMAKERCONTROLLER FILAMENT_LCD_DISPLAY
450
   - opt_enable ULTIMAKERCONTROLLER FILAMENT_LCD_DISPLAY
514
-  - build_marlin_teensy35
451
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
515
   #
452
   #
516
   # Enable BEZIER_CURVE_SUPPORT, EXPERIMENTAL_I2CBUS, and I2C_SLAVE_ADDRESS
453
   # Enable BEZIER_CURVE_SUPPORT, EXPERIMENTAL_I2CBUS, and I2C_SLAVE_ADDRESS
517
   #
454
   #
518
   - restore_configs
455
   - restore_configs
519
   - opt_enable_adv BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS
456
   - opt_enable_adv BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS
520
   - opt_set_adv I2C_SLAVE_ADDRESS 63
457
   - opt_set_adv I2C_SLAVE_ADDRESS 63
521
-  - build_marlin_teensy35
458
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
522
   #
459
   #
523
   # Enable COREXY
460
   # Enable COREXY
524
   #
461
   #
525
   - restore_configs
462
   - restore_configs
526
   - opt_enable COREXY
463
   - opt_enable COREXY
527
-  - build_marlin_teensy35
464
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
528
   #
465
   #
529
   # Enable COREXZ
466
   # Enable COREXZ
530
   #
467
   #
531
   - restore_configs
468
   - restore_configs
532
   - opt_enable COREXZ
469
   - opt_enable COREXZ
533
-  - build_marlin_teensy35
470
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
534
   #
471
   #
535
   # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
472
   # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
536
   #
473
   #
538
   - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
475
   - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
539
   - pins_set RAMPS X_MAX_PIN -1
476
   - pins_set RAMPS X_MAX_PIN -1
540
   - opt_set_adv Z2_MAX_PIN 2
477
   - opt_set_adv Z2_MAX_PIN 2
541
-  - build_marlin_teensy35
478
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
542
   #
479
   #
543
   # Test PRINTCOUNTER
480
   # Test PRINTCOUNTER
544
   #
481
   #
545
   - restore_configs
482
   - restore_configs
546
   - opt_enable PRINTCOUNTER
483
   - opt_enable PRINTCOUNTER
547
-  - build_marlin_teensy35
484
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
548
   #
485
   #
549
   # Test NOZZLE_PARK_FEATURE
486
   # Test NOZZLE_PARK_FEATURE
550
   #
487
   #
551
   - restore_configs
488
   - restore_configs
552
   - opt_enable NOZZLE_PARK_FEATURE
489
   - opt_enable NOZZLE_PARK_FEATURE
553
-  - build_marlin_teensy35
490
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
554
   #
491
   #
555
   # Test NOZZLE_CLEAN_FEATURE
492
   # Test NOZZLE_CLEAN_FEATURE
556
   #
493
   #
557
   - restore_configs
494
   - restore_configs
558
   - opt_enable NOZZLE_CLEAN_FEATURE
495
   - opt_enable NOZZLE_CLEAN_FEATURE
559
-  - build_marlin_teensy35
496
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
560
   #
497
   #
561
   #
498
   #
562
   ######## STANDARD LCD/PANELS ##############
499
   ######## STANDARD LCD/PANELS ##############
565
   #
502
   #
566
   - restore_configs
503
   - restore_configs
567
   - opt_enable ULTRA_LCD
504
   - opt_enable ULTRA_LCD
568
-  - build_marlin_teensy35
505
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
569
   #
506
   #
570
   # DOGLCD
507
   # DOGLCD
571
   #
508
   #
572
   - restore_configs
509
   - restore_configs
573
   - opt_enable DOGLCD
510
   - opt_enable DOGLCD
574
-  - build_marlin_teensy35
511
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
575
   #
512
   #
576
   # ULTIMAKERCONTROLLER
513
   # ULTIMAKERCONTROLLER
577
   #
514
   #
578
   - restore_configs
515
   - restore_configs
579
   - opt_enable ULTIMAKERCONTROLLER
516
   - opt_enable ULTIMAKERCONTROLLER
580
-  - build_marlin_teensy35
517
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
581
   #
518
   #
582
   # MAKRPANEL
519
   # MAKRPANEL
583
   # Needs to use Melzi and Sanguino hardware
520
   # Needs to use Melzi and Sanguino hardware
590
   #
527
   #
591
   - restore_configs
528
   - restore_configs
592
   - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING
529
   - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING
593
-  - build_marlin_teensy35
530
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
594
   #
531
   #
595
   # G3D_PANEL
532
   # G3D_PANEL
596
   #
533
   #
597
   - restore_configs
534
   - restore_configs
598
   - opt_enable G3D_PANEL SDSUPPORT
535
   - opt_enable G3D_PANEL SDSUPPORT
599
-  - build_marlin_teensy35
536
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
600
   #
537
   #
601
   # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
538
   # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
602
   #
539
   #
603
   - restore_configs
540
   - restore_configs
604
   - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
541
   - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
605
-  - build_marlin_teensy35
542
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
606
   #
543
   #
607
   # REPRAPWORLD_KEYPAD
544
   # REPRAPWORLD_KEYPAD
608
   #
545
   #
615
   #
552
   #
616
   - restore_configs
553
   - restore_configs
617
   - opt_enable RA_CONTROL_PANEL
554
   - opt_enable RA_CONTROL_PANEL
618
-  - build_marlin_teensy35
555
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
619
   #
556
   #
620
   ######## I2C LCD/PANELS ##############
557
   ######## I2C LCD/PANELS ##############
621
   #
558
   #
645
   #
582
   #
646
   - restore_configs
583
   - restore_configs
647
   - opt_enable LCM1602
584
   - opt_enable LCM1602
648
-  - build_marlin_teensy35
585
+  - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}

+ 3
- 0
buildroot/bin/build_marlin_pio View File

1
+#!/usr/bin/env bash
2
+
3
+platformio run --project-dir $@ --silent

+ 2
- 1
platformio.ini View File

24
   LiquidCrystal_I2C@1.1.2
24
   LiquidCrystal_I2C@1.1.2
25
   https://github.com/lincomatic/LiquidTWI2.git
25
   https://github.com/lincomatic/LiquidTWI2.git
26
   https://github.com/teemuatlut/TMC2130Stepper.git
26
   https://github.com/teemuatlut/TMC2130Stepper.git
27
+  https://github.com/adafruit/Adafruit_NeoPixel.git
27
 default_src_filter = +<*> -<example_configurations> -<src/HAL/HAL_*>
28
 default_src_filter = +<*> -<example_configurations> -<src/HAL/HAL_*>
28
 
29
 
29
 [env:megaatmega2560]
30
 [env:megaatmega2560]
95
 platform = atmelsam
96
 platform = atmelsam
96
 framework = arduino
97
 framework = arduino
97
 board = due
98
 board = due
98
-build_flags = -I $BUILDSRC_DIR
99
+build_flags = -I $BUILDSRC_DIR -D MOTHERBOARD=BOARD_RAMPS4DUE_EFB
99
 lib_deps = ${common.lib_deps}
100
 lib_deps = ${common.lib_deps}
100
 src_filter = ${common.default_src_filter} +<src/HAL/HAL_DUE>
101
 src_filter = ${common.default_src_filter} +<src/HAL/HAL_DUE>
101
 
102
 

Loading…
Cancel
Save