Build and CI fixes and optimizations (#12584)

-Disable LDF "deep+" mode on AT90USB platforms. Appears not needed any longer (likely due to fix 7322df26ad). Results in identical binary output and cuts compile time in half
-Disable Cartesio config from CircleCI (compile failure)
-Disable Geetech I3 Pro X GT2560 from CircleCI (compile failure)
-Enable EEPROM on Micromake example config (fix compile failure)
-Move FolgerTech/i3-2020 to AVR platform in CircleCI (fix CirculeCI build failure)
-Disable various examples failing to build in CircleCI
-Enable various examples no longer failing to build in CircleCI
2.0.x
Dave Johnson 6 years ago committed by Scott Lahteine
parent 11c7945365
commit 0947b92734

@ -67,7 +67,6 @@ jobs:
echo testing megaatmega2560 targets... echo testing megaatmega2560 targets...
export TEST_PLATFORM="-e megaatmega2560" export TEST_PLATFORM="-e megaatmega2560"
restore_configs
echo use_example_configs adafruit/ST7565 echo use_example_configs adafruit/ST7565
use_example_configs adafruit/ST7565 use_example_configs adafruit/ST7565
build_marlin_pio ./ ${TEST_PLATFORM} build_marlin_pio ./ ${TEST_PLATFORM}
@ -88,10 +87,10 @@ jobs:
use_example_configs AliExpress/CL-260 use_example_configs AliExpress/CL-260
build_marlin_pio ./ ${TEST_PLATFORM} build_marlin_pio ./ ${TEST_PLATFORM}
restore_configs restore_configs
echo use_example_configs Cartesio #echo use_example_configs Cartesio
use_example_configs Cartesio #use_example_configs Cartesio
build_marlin_pio ./ ${TEST_PLATFORM} #build_marlin_pio ./ ${TEST_PLATFORM}
restore_configs #restore_configs
echo use_example_configs delta/FLSUN/auto_calibrate echo use_example_configs delta/FLSUN/auto_calibrate
use_example_configs delta/FLSUN/auto_calibrate use_example_configs delta/FLSUN/auto_calibrate
build_marlin_pio ./ ${TEST_PLATFORM} build_marlin_pio ./ ${TEST_PLATFORM}
@ -120,6 +119,10 @@ jobs:
use_example_configs Felix/DUAL use_example_configs Felix/DUAL
build_marlin_pio ./ ${TEST_PLATFORM} build_marlin_pio ./ ${TEST_PLATFORM}
restore_configs restore_configs
echo use_example_configs FolgerTech/i3-2020
use_example_configs FolgerTech/i3-2020
build_marlin_pio ./ ${TEST_PLATFORM}
restore_configs
echo use_example_configs gCreate/gMax1.5+ echo use_example_configs gCreate/gMax1.5+
use_example_configs gCreate/gMax1.5+ use_example_configs gCreate/gMax1.5+
build_marlin_pio ./ ${TEST_PLATFORM} build_marlin_pio ./ ${TEST_PLATFORM}
@ -128,20 +131,17 @@ jobs:
use_example_configs Geeetech/GT2560 use_example_configs Geeetech/GT2560
build_marlin_pio ./ ${TEST_PLATFORM} build_marlin_pio ./ ${TEST_PLATFORM}
restore_configs restore_configs
echo use_example_configs Geeetech/I3_Pro_X-GT2560 #echo use_example_configs Geeetech/I3_Pro_X-GT2560
use_example_configs Geeetech/I3_Pro_X-GT2560 #use_example_configs Geeetech/I3_Pro_X-GT2560
build_marlin_pio ./ ${TEST_PLATFORM} #build_marlin_pio ./ ${TEST_PLATFORM}
restore_configs #restore_configs
echo use_example_configs Infitary/i3-M508 echo use_example_configs Infitary/i3-M508
use_example_configs Infitary/i3-M508 use_example_configs Infitary/i3-M508
build_marlin_pio ./ ${TEST_PLATFORM} build_marlin_pio ./ ${TEST_PLATFORM}
restore_configs restore_configs
# use_example_configs Malyan/M200
# Disabled due to compile failure on E0_AUTO_FAN_PIN PB8 build_marlin_pio ./ ${TEST_PLATFORM}
# restore_configs
# use_example_configs Malyan/M200
# build_marlin_pio ./ ${TEST_PLATFORM}
# restore_configs
echo use_example_configs Micromake/C1/basic echo use_example_configs Micromake/C1/basic
use_example_configs Micromake/C1/basic use_example_configs Micromake/C1/basic
build_marlin_pio ./ ${TEST_PLATFORM} build_marlin_pio ./ ${TEST_PLATFORM}
@ -177,18 +177,13 @@ jobs:
echo use_example_configs Wanhao/Duplicator6 echo use_example_configs Wanhao/Duplicator6
use_example_configs Wanhao/Duplicator6 use_example_configs Wanhao/Duplicator6
build_marlin_pio ./ ${TEST_PLATFORM} build_marlin_pio ./ ${TEST_PLATFORM}
#
# Disabled due to compile failure on https://github.com/stawel/SlowSoftI2CMaster
#
# - Requires https://github.com/stawel/SlowSoftI2CMaster
# restore_configs
# use_example_configs wt150
# build_marlin_pio ./ ${TEST_PLATFORM}
echo testing anet10 targets...
export TEST_PLATFORM="-e anet10"
restore_configs restore_configs
# Requires manual load of https://github.com/stawel/SlowSoftI2CMaster
#use_example_configs wt150
#build_marlin_pio ./ ${TEST_PLATFORM}
#restore_configs
echo testing melzi targets...
export TEST_PLATFORM="-e melzi"
echo use_example_configs Anet/A6 echo use_example_configs Anet/A6
use_example_configs Anet/A6 use_example_configs Anet/A6
build_marlin_pio ./ ${TEST_PLATFORM} build_marlin_pio ./ ${TEST_PLATFORM}
@ -212,70 +207,57 @@ jobs:
echo use_example_configs TinyBoy2 echo use_example_configs TinyBoy2
use_example_configs TinyBoy2 use_example_configs TinyBoy2
build_marlin_pio ./ ${TEST_PLATFORM} build_marlin_pio ./ ${TEST_PLATFORM}
restore_configs
echo testing rambo targets... echo testing rambo targets...
export TEST_PLATFORM="-e rambo" export TEST_PLATFORM="-e rambo"
restore_configs
echo use_example_configs AlephObjects/TAZ4 echo use_example_configs AlephObjects/TAZ4
use_example_configs AlephObjects/TAZ4 use_example_configs AlephObjects/TAZ4
build_marlin_pio ./ ${TEST_PLATFORM} build_marlin_pio ./ ${TEST_PLATFORM}
echo testing teensy20 targets...
export TEST_PLATFORM="-e teensy20"
#
# Disabled due to Z_MIN_PIN related compile failure
#
# restore_configs
# use_example_configs delta/kossel_pro
# build_marlin_pio ./ ${TEST_PLATFORM}
restore_configs restore_configs
echo testing at90usb1286_* targets...
export TEST_PLATFORM="-e at90usb1286_dfu"
#echo se_example_configs delta/kossel_pro
#use_example_configs delta/kossel_pro
#build_marlin_pio ./ ${TEST_PLATFORM}
#restore_configs
echo use_example_configs makibox echo use_example_configs makibox
use_example_configs makibox use_example_configs makibox
build_marlin_pio ./ ${TEST_PLATFORM} build_marlin_pio ./ ${TEST_PLATFORM}
restore_configs
echo testing sanguino_atmega644p targets... echo testing sanguino_atmega644p targets...
export TEST_PLATFORM="-e sanguino_atmega644p" export TEST_PLATFORM="-e sanguino_atmega644p"
restore_configs
echo use_example_configs tvrrug/Round2 echo use_example_configs tvrrug/Round2
use_example_configs tvrrug/Round2 use_example_configs tvrrug/Round2
build_marlin_pio ./ ${TEST_PLATFORM} build_marlin_pio ./ ${TEST_PLATFORM}
restore_configs
echo testing LPC1768 targets... echo testing LPC1768 targets...
export TEST_PLATFORM="-e LPC1768" export TEST_PLATFORM="-e LPC1768"
echo use_example_configs Mks/Sbase
use_example_configs Mks/Sbase
build_marlin_pio ./ ${TEST_PLATFORM}
restore_configs restore_configs
echo use_example_configs FolgerTech/i3-2020 echo testing STM32F1 targets...
use_example_configs FolgerTech/i3-2020 export TEST_PLATFORM="-e STM32F1"
restore_configs
echo use_example_configs STM32F10
use_example_configs STM32F10
build_marlin_pio ./ ${TEST_PLATFORM} build_marlin_pio ./ ${TEST_PLATFORM}
restore_configs restore_configs
echo use_example_configs Mks/Sbase echo use_example_configs stm32f103ret6
use_example_configs Mks/Sbase use_example_configs stm32f103ret6
build_marlin_pio ./ ${TEST_PLATFORM} build_marlin_pio ./ ${TEST_PLATFORM}
restore_configs
# echo testing DUE targets...
# Disabled due to numerous compile failures export TEST_PLATFORM="-e DUE"
# #echo use_example_configs UltiMachine/Archim2
# echo testing STM32F1 targets... #use_example_configs UltiMachine/Archim2
# export TEST_PLATFORM="-e STM32F1" #build_marlin_pio ./ ${TEST_PLATFORM}
# restore_configs #restore_configs
# use_example_configs STM32F10
# build_marlin_pio ./ ${TEST_PLATFORM}
# restore_configs
# use_example_configs stm32f103ret6
# build_marlin_pio ./ ${TEST_PLATFORM}
#
# Disabled due do pin related compile failures
#
# echo testing DUE targets...
# export TEST_PLATFORM="-e DUE"
# restore_configs
# use_example_configs UltiMachine/Archim2
# build_marlin_pio ./ ${TEST_PLATFORM}
# #
# Remove temp files from dependencies tree prior to caching # Remove temp files from dependencies tree prior to caching

@ -1288,7 +1288,7 @@
// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily). // M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
// M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to. // M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to.
// //
//#define EEPROM_SETTINGS // Enable for M500 and M501 commands #define EEPROM_SETTINGS // Enable for M500 and M501 commands
//#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release! //#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release!
#define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM. #define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM.

@ -86,7 +86,6 @@ framework = arduino
board = at90usb1286 board = at90usb1286
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ldf_mode = deep+
src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR> src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
extra_scripts = pre:buildroot/share/atom/create_custom_upload_command_CDC.py extra_scripts = pre:buildroot/share/atom/create_custom_upload_command_CDC.py
monitor_speed = 250000 monitor_speed = 250000
@ -103,7 +102,6 @@ framework = arduino
board = at90usb1286 board = at90usb1286
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
lib_ldf_mode = deep+
src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR> src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR>
extra_scripts = pre:buildroot/share/atom/create_custom_upload_command_DFU.py extra_scripts = pre:buildroot/share/atom/create_custom_upload_command_DFU.py
monitor_speed = 250000 monitor_speed = 250000

Loading…
Cancel
Save