|
Issues compiling Marlin March 10, 2025 03:30AM |
Registered: 10 months ago Posts: 14 |
In file included from Marlin\src\gcode\feature\runout\../../../feature/../module/stepper/../../feature/../lcd/../module/settings.h:31:0,
from Marlin\src\gcode\feature\runout\../../../feature/../module/stepper/../../feature/../lcd/marlinui.h:31,
from Marlin\src\gcode\feature\runout\../../../feature/../module/stepper/../../feature/tmc_util.h:25,
from Marlin\src\gcode\feature\runout\../../../feature/../module/stepper/trinamic.h:35,
from Marlin\src\gcode\feature\runout\../../../feature/../module/stepper/indirection.h:77,
from Marlin\src\gcode\feature\runout\../../../feature/../module/stepper.h:47,
from Marlin\src\gcode\feature\runout\../../../feature/runout.h:31,
from Marlin\src\gcode\feature\runout\M412.cpp:28:
Marlin\src\gcode\feature\runout\../../../feature/../module/stepper/../../feature/../lcd/../module/../HAL/shared/eeprom_api.h:27:30: fatal error: ../../libs/crc16.h: No such file or directory
compilation terminated.
*** [.pio\build\teensy41\src\src\gcode\feature\runout\M412.cpp.o] Error 1
Marlin\src\inc\Warnings.cpp:86:6: warning: #warning "Note: Auto-assigned LCD_SERIAL_PORT. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)" [-Wcpp]
#warning "Note: Auto-assigned LCD_SERIAL_PORT. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
^
Marlin\src\lcd\extui\dgus_reloaded\DGUSDisplay.cpp: In static member function 'static void DGUSDisplay::Init()':
Marlin\src\lcd\extui\dgus_reloaded\DGUSDisplay.cpp:58:3: error: 'LCD_SERIAL' was not declared in this scope
LCD_SERIAL.begin(LCD_BAUDRATE);
^
Marlin\src\lcd\extui\dgus_reloaded\DGUSDisplay.cpp: In static member function 'static void DGUSDisplay::Read(uint16_t, uint8_t)':
Marlin\src\lcd\extui\dgus_reloaded\DGUSDisplay.cpp:66:3: error: 'LCD_SERIAL' was not declared in this scope
LCD_SERIAL.write(size);
^
Marlin\src\lcd\extui\dgus_reloaded\DGUSDisplay.cpp: In static member function 'static void DGUSDisplay::Write(uint16_t, const void*, uint8_t)':
Marlin\src\lcd\extui\dgus_reloaded\DGUSDisplay.cpp:77:5: error: 'LCD_SERIAL' was not declared in this scope
LCD_SERIAL.write(*data++);
^
Marlin\src\lcd\extui\dgus_reloaded\DGUSDisplay.cpp: In static member function 'static void DGUSDisplay::WriteString(uint16_t, const void*, uint8_t, bool, bool, bool)':
Marlin\src\lcd\extui\dgus_reloaded\DGUSDisplay.cpp:111:5: error: 'LCD_SERIAL' was not declared in this scope
LCD_SERIAL.write(' ');
^
Marlin\src\lcd\extui\dgus_reloaded\DGUSDisplay.cpp:114:5: error: 'LCD_SERIAL' was not declared in this scope
LCD_SERIAL.write(*data++);
^
compilation terminated due to -fmax-errors=5.
*** [.pio\build\teensy41\src\src\lcd\extui\dgus_reloaded\DGUSDisplay.cpp.o] Error 1
In file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre-1-axes.h:44:0,
from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/Conditionals-1-axes.h:32,
from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:27,
from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre-5-post.h:24,
from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre-6-type.h:24,
from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,
from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:284:11: error: missing binary operator before token "("
#if EITHER(PARKING_EXTRUDER, MAGNETIC_PARKING_EXTRUDER)
^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:988:11: error: missing binary operator before token "("
#if EITHER(MORGAN_SCARA, MP_SCARA)
^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:1787:11: error: missing binary operator before token "("
#if EITHER(MIN_SOFTWARE_ENDSTOPS, MAX_SOFTWARE_ENDSTOPS)
^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:1991:11: error: missing binary operator before token "("
#if EITHER(AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR)
^
In file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre-1-axes.h:44:0,
from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/Conditionals-1-axes.h:32,
from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:27,
from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre-5-post.h:24,
from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre-6-type.h:24,
from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,
from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:3039:11: error: missing binary operator before token "("
#if EITHER(ANYCUBIC_LCD_I3MEGA, ANYCUBIC_LCD_CHIRON)
^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:3327:11: error: missing binary operator before token "("
#if EITHER(RGB_LED, RGBW_LED)
^
In file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre-4-adv.h:33:0,
from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/Conditionals-4-adv.h:32,
from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:30,
from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre-5-post.h:24,
from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre-6-type.h:24,
from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,
from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:303:11: error: missing binary operator before token "("
#if BOTH(ADAPTIVE_FAN_SLOWING, PIDTEMP)
^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1086:11: error: missing binary operator before token "("
#if EITHER(INPUT_SHAPING_X, INPUT_SHAPING_Y)
^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1322:11: error: missing binary operator before token "("
#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1379:28: error: missing binary operator before token "("
#if HAS_BED_PROBE && EITHER(HAS_MARLINUI_MENU, HAS_TFT_LVGL_UI)
^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1436:11: error: missing binary operator before token "("
#if EITHER(HAS_DISPLAY, DWIN_LCD_PROUI)
^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1500:26: error: missing binary operator before token "("
#if HAS_DISPLAY && EITHER(SDSUPPORT, SET_PROGRESS_MANUALLY)
^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:2148:11: error: missing binary operator before token "("
#if EITHER(AUTO_BED_LEVELING_3POINT, AUTO_BED_LEVELING_UBL)
^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:2183:11: error: missing binary operator before token "("
#if EITHER(MESH_BED_LEVELING, AUTO_BED_LEVELING_UBL)
^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:2191:9: error: missing binary operator before token "("
#if BOTH(AUTO_BED_LEVELING_UBL, EEPROM_SETTINGS)
^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:2305:11: error: missing binary operator before token "("
#if EITHER(ARC_SUPPORT, BEZIER_CURVE_SUPPORT)
^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:2393:9: error: missing binary operator before token "("
#if BOTH(SDSUPPORT, DIRECT_STEPPING)
^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:3173:13: error: missing binary operator before token "("
#if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
^
buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:3335:11: error: missing binary operator before token "("
#if EITHER(SPINDLE_FEATURE, LASER_FEATURE)
^
UnicodeEncodeError: 'charmap' codec can't encode character '\u016f' in position 1650: character maps to :
File "C:\Users\User\.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 167:
env.SConscript(env.GetExtraScripts("pre"), exports="env")
File "C:\Users\User\.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Script\SConscript.py", line 620:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\User\.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Script\SConscript.py", line 280:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "F:\Documents\Projects\3D Printer Board\Marlin Firmware\Bugfix\Marlin-bugfix-2.1.x\buildroot\share\PlatformIO\scripts\preflight-checks.py", line 162:
sanity_check_target()
File "F:\Documents\Projects\3D Printer Board\Marlin Firmware\Bugfix\Marlin-bugfix-2.1.x\buildroot\share\PlatformIO\scripts\preflight-checks.py", line 82:
file.write(modified_text)
File "C:\Users\User\.platformio\python3\Lib\encodings\cp1252.py", line 19:
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
|
Re: Issues compiling Marlin March 10, 2025 05:24AM |
Admin Registered: 15 years ago Posts: 7,304 |
#error "DGUS_LEVEL_GRID_SIZE is incompatible with current mesh." this need to be 5x5 not 10x10, a requirement of this displayChange #define GRID_MAX_POINTS_X to 5
Marlin/src/lcd/extui/dgus_reloaded/DGUSDisplay.cpp:58:3: error: 'LCD_SERIAL' was not declared in this scope
#ifdef LCD_SERIAL_PORT
//#if !WITHIN(LCD_SERIAL_PORT, 0, 3)
// #error "LCD_SERIAL_PORT must be from 0 to 3."
//#endif
DECLARE_SERIAL(LCD_SERIAL_PORT);
#define LCD_SERIAL MSERIAL(LCD_SERIAL_PORT)
#if HAS_DGUS_LCD
#define LCD_SERIAL_TX_BUFFER_FREE() LCD_SERIAL.available()
#endif
#endif
#ifdef LCD_SERIAL_PORT
//#if WITHIN(SERIAL_PORT_3, 0, 8)
IMPLEMENT_SERIAL(LCD_SERIAL_PORT);
//#endif
#endif
Marlin/src/module/temperature.cpp:307:33: error: static assertion failed: HEATER_0_MAXTEMP (260) is too high for thermistor_332.h with HOTEND_OVERSHOOT=15
|
Re: Issues compiling Marlin March 10, 2025 04:07PM |
Registered: 10 months ago Posts: 14 |
Quote
Dust
Change #define GRID_MAX_POINTS_X to 5
Quote
Dust
Add this to your Configuration.h
#define LCD_SERIAL_PORT 5 // (as a guess from the updated pins file)
#if LCD_IS_SERIAL_HOST && !defined(LCD_SERIAL_PORT)
#if MB(MKS_MONSTER8_V1, BTT_SKR_MINI_E3_V1_0, BTT_SKR_MINI_E3_V1_2, BTT_SKR_MINI_E3_V2_0, BTT_SKR_MINI_E3_V3_0, BTT_SKR_MINI_E3_V3_0_1, BTT_SKR_E3_TURBO, BTT_OCTOPUS_V1_1, BTT_SKR_V3_0, BTT_SKR_V3_0_EZ)
#define LCD_SERIAL_PORT 1
#elif MB(CREALITY_V24S1_301, CREALITY_V24S1_301F4, CREALITY_F401RE, CREALITY_V423, MKS_ROBIN)
#define LCD_SERIAL_PORT 2 // Creality Ender3S1, MKS Robin
#else
#define LCD_SERIAL_PORT 5 // Other boards
#endif
#ifdef LCD_SERIAL_PORT
#define AUTO_ASSIGNED_LCD_SERIAL 5
#endif
#endif
Quote
Dust
Next problem is a larger one, no one has been crazy enough to add a serial lcd support to teensy41 as of yet.
Quote
Dust
You have set #define TEMP_SENSOR_0 332, the highest temperature this thermistor can read is 150c (highest temperature entry in the table) , Subtracting HOTEND_OVERSHOOT = 135. So the highest temperature you can set HEATER_0_MAXTEMP to is 135
Very few thermistor can read that high a temperature, they break down as such high temperatures
#define TEMP_SENSOR_0 1 #define TEMP_SENSOR_1 0 #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 TEMP_SENSOR_COOLER 0 #define TEMP_SENSOR_BOARD 0 #define TEMP_SENSOR_REDUNDANT 0
|
Re: Issues compiling Marlin March 10, 2025 11:38PM |
Admin Registered: 15 years ago Posts: 7,304 |
|
Re: Issues compiling Marlin March 12, 2025 11:55PM |
Admin Registered: 15 years ago Posts: 7,304 |