Hello,
After 13 years since I started with Huxley - PLA parts started to crack so I thought to renew old time construction by adding PWM fan and some other ideas to improve print possibilities.
From time to time I upgrade firmware to keep up to date with new functions etc. (I'm using Arduino IDE 2.2.1)
Last week I spent time struggling with such annoying error (attached config and config.adv files):
"In file included from ...\Marlin\src\inc\MarlinConfig.h:49:0,
from ...\Marlin\src\HAL\AVR\HAL_SPI.cpp:34:
...\Marlin\src\inc\SanityCheck.h:1417:4: error: #error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS."
In file included from ...Marlin\src\inc\MarlinConfig.h:49:0,
...\Marlin\src\HAL\AVR\Servo.cpp:55:
...Marlin\src\inc\SanityCheck.h:1417:4: error: #error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS."
...\Marlin\src\inc\MarlinConfig.h:49:0,
...\Marlin\src\HAL\AVR\MarlinSerial.cpp:39:
...\Marlin\src\inc\SanityCheck.h:1417:4: error: #error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS."
...\Marlin\src\inc\MarlinConfig.h:49:0,
...\Marlin\src\HAL\AVR\HAL.cpp:24:
...\Marlin\src\inc\SanityCheck.h:1417:4: error: #error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS."
...\Marlin\src\inc\MarlinConfig.h:49:0,
...\Marlin\src\HAL\AVR\fast_pwm.cpp:24:
...\Marlin\src\inc\SanityCheck.h:1417:4: error: #error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS."
...\Marlin\src\inc\MarlinConfig.h:49:0,
...\Marlin\src\HAL\AVR\eeprom.cpp:24:
...\Marlin\src\inc\SanityCheck.h:1417:4: error: #error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS."
...\Marlin\src\inc\MarlinConfig.h:49:0,
...\Marlin\src\HAL\DUE\fastio\G2_PWM.cpp:43:
...\Marlin\src\inc\SanityCheck.h:1417:4: error: #error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS."
exit status 1
Compilation error: #error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS.""
I'm sure that D12 works with fan (checked), D10 PIN is used by bed (version with Mosfet on heatbed PCB) but even with correctly set "pins_SANGUINOLOLU_11" I can't run M106 receiving "unknown command..."
My first thought was to comment out in "Sanitycheck...ini" line described in error message -> I was happy that compilation and upload passed until I tried M106 -> again with "unknown command..."
PLEASE - is there any one that could help me to solve this on 2.0.9.5 or eventually newer version of Marlin?
After 13 years since I started with Huxley - PLA parts started to crack so I thought to renew old time construction by adding PWM fan and some other ideas to improve print possibilities.
From time to time I upgrade firmware to keep up to date with new functions etc. (I'm using Arduino IDE 2.2.1)
Last week I spent time struggling with such annoying error (attached config and config.adv files):
"In file included from ...\Marlin\src\inc\MarlinConfig.h:49:0,
from ...\Marlin\src\HAL\AVR\HAL_SPI.cpp:34:
...\Marlin\src\inc\SanityCheck.h:1417:4: error: #error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS."
In file included from ...Marlin\src\inc\MarlinConfig.h:49:0,
...\Marlin\src\HAL\AVR\Servo.cpp:55:
...Marlin\src\inc\SanityCheck.h:1417:4: error: #error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS."
...\Marlin\src\inc\MarlinConfig.h:49:0,
...\Marlin\src\HAL\AVR\MarlinSerial.cpp:39:
...\Marlin\src\inc\SanityCheck.h:1417:4: error: #error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS."
...\Marlin\src\inc\MarlinConfig.h:49:0,
...\Marlin\src\HAL\AVR\HAL.cpp:24:
...\Marlin\src\inc\SanityCheck.h:1417:4: error: #error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS."
...\Marlin\src\inc\MarlinConfig.h:49:0,
...\Marlin\src\HAL\AVR\fast_pwm.cpp:24:
...\Marlin\src\inc\SanityCheck.h:1417:4: error: #error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS."
...\Marlin\src\inc\MarlinConfig.h:49:0,
...\Marlin\src\HAL\AVR\eeprom.cpp:24:
...\Marlin\src\inc\SanityCheck.h:1417:4: error: #error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS."
...\Marlin\src\inc\MarlinConfig.h:49:0,
...\Marlin\src\HAL\DUE\fastio\G2_PWM.cpp:43:
...\Marlin\src\inc\SanityCheck.h:1417:4: error: #error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS."
exit status 1
Compilation error: #error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS.""
I'm sure that D12 works with fan (checked), D10 PIN is used by bed (version with Mosfet on heatbed PCB) but even with correctly set "pins_SANGUINOLOLU_11" I can't run M106 receiving "unknown command..."
My first thought was to comment out in "Sanitycheck...ini" line described in error message -> I was happy that compilation and upload passed until I tried M106 -> again with "unknown command..."
PLEASE - is there any one that could help me to solve this on 2.0.9.5 or eventually newer version of Marlin?