MarlinFirmware/Configurations

[BUG] Creality CR10s v1: Marlin\src\module\temperature.cpp:330:38: error: static assertion failed: PREHEAT_2_TEMP_HOTEND (250) must be less than HEATER_0_MAXTEMP (250) - 15.

isidorosss opened this issue · 6 comments

When i try to build 2.1.2.1 on VScode, i get the error:
Marlin\src\module\temperature.cpp:330:38: error: static assertion failed: PREHEAT_2_TEMP_HOTEND (250) must be less than HEATER_0_MAXTEMP (250) - 15.
I'm updating my Creality CR10s to every newer version of Marlin and it's the first time i get this error on the newest version 2.1.2.1.

This is in example Configs.

https://github.com/MarlinFirmware/Configurations/blob/release-2.1.2.1/config/examples/Creality/CR-10S/CrealityV1/Configuration.h#L2227

#define HEATER_0_MAXTEMP 250
with
#define PREHEAT_2_TEMP_HOTEND 250
is not valid

no... Im just documenting the cause
with #define HEATER_0_MAXTEMP 250 the highest PREHEAT_2_TEMP_HOTEND you can set is 235

ok thanks. i'll wait for a fix then.

Anyone? Any suggestions?

Anyone? Any suggestions?

Change PREHEAT_2_TEMP_HOTEND from 250 to 235.

This is already fixed in bugfix-2.1.x and will be fixed in the next tagged release:

#define PREHEAT_2_TEMP_HOTEND 235 // ABS working temp between 210 and 250 C.