Marlin 2.0.5.4/2.0.6 Ramps 1.4 auto fans and switching nozzle gives compiler error July 28, 2020 11:27AM |
Registered: 3 years ago Posts: 1 |
Configuration.h changes: // Choose the name from boards.h that matches your setup #ifndef MOTHERBOARD #define MOTHERBOARD BOARD_RAMPS_14_EEB #endif // @section extruder // This defines the number of extruders // :[1, 2, 3, 4, 5, 6, 7, 8] #define EXTRUDERS 2 ... #define SWITCHING_NOZZLE ... #define SWITCHING_NOZZLE_SERVO_NR 1 //Need to use the pins for servo one ... #define TEMP_SENSOR_0 1 #define TEMP_SENSOR_1 1 #define TEMP_SENSOR_2 0 #define TEMP_SENSOR_3 0 #define TEMP_SENSOR_4 0 #define TEMP_SENSOR_5 0 #define TEMP_SENSOR_6 0 #define TEMP_SENSOR_7 0 #define TEMP_SENSOR_BED 1 #define TEMP_SENSOR_PROBE 0 #define TEMP_SENSOR_CHAMBER 0 ... #define DISTINCT_E_FACTORS #define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 4000, 500, 500 } #define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25, 25 } #define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000, 1000 } ... #define NUM_SERVOS 2 // Servo index starts with 0 for M280 command ... #define SERVO_DELAY { 300 } Configuration_adv.h changes: #define E0_AUTO_FAN_PIN 5 #define E1_AUTO_FAN_PIN 5 #define E2_AUTO_FAN_PIN -1 #define E3_AUTO_FAN_PIN -1 #define E4_AUTO_FAN_PIN -1 #define E5_AUTO_FAN_PIN -1 #define CHAMBER_AUTO_FAN_PIN -1 #define EXTRUDER_AUTO_FAN_TEMPERATURE 50 #define EXTRUDER_AUTO_FAN_SPEED 255 // 255 == full speed #define CHAMBER_AUTO_FAN_TEMPERATURE 30 #define CHAMBER_AUTO_FAN_SPEED 255
/home/cbp/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/cbp/.arduino15/packages/arduino/hardware/avr/1.8.3/cores/arduino -I/home/cbp/.arduino15/packages/arduino/hardware/avr/1.8.3/variants/mega /tmp/arduino_build_927596/sketch/src/module/stepper/indirection.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE /home/cbp/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/cbp/.arduino15/packages/arduino/hardware/avr/1.8.3/cores/arduino -I/home/cbp/.arduino15/packages/arduino/hardware/avr/1.8.3/variants/mega /tmp/arduino_build_927596/sketch/src/module/stepper/trinamic.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE /home/cbp/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/cbp/.arduino15/packages/arduino/hardware/avr/1.8.3/cores/arduino -I/home/cbp/.arduino15/packages/arduino/hardware/avr/1.8.3/variants/mega /tmp/arduino_build_927596/sketch/src/module/stepper.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE /home/cbp/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/home/cbp/.arduino15/packages/arduino/hardware/avr/1.8.3/cores/arduino -I/home/cbp/.arduino15/packages/arduino/hardware/avr/1.8.3/variants/mega /tmp/arduino_build_927596/sketch/src/module/temperature.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE Here the compiling thread was killed and the compiling ends: Error while detecting libraries included by /tmp/arduino_build_927596/sketch/src/module/temperature.cpp ... Sketch uses 62828 bytes (24%) of program storage space. Maximum is 253952 bytes. Global variables use 2699 bytes (32%) of dynamic memory, leaving 5493 bytes for local variables. Maximum is 8192 bytes.