Closed Stefan-van-Hattum closed 2 years ago
You did not download Marlin 2.0.9.3 https://github.com/MarlinFirmware/Marlin/archive/refs/tags/2.0.9.3.zip You downloaded Marlin 2.0.x ie https://github.com/MarlinFirmware/Marlin/archive/2.0.x.zip
2.0.x is slightly ahead of 2.0.9.3 and breaks if you use 2.0.9.3 config files.
In particular In Configuration_adv.h this has changed
2.0.x needs
// @section lcd
#if HAS_MANUAL_MOVE_MENU
#define MANUAL_FEEDRATE { 50*60, 50*60, 4*60, 2*60 } // (mm/min) Feedrates for manual moves along X, Y, Z, E from panel
Marlin 2.0.9.2 - 2.0.9.3 needs
// @section lcd
#if ANY(HAS_LCD_MENU, EXTENSIBLE_UI, HAS_DWIN_E3V2)
#define MANUAL_FEEDRATE { 50*60, 50*60, 4*60, 2*60 } // (mm/min) Feedrates for manual moves along X, Y, Z, E from panel
Hi ,
Thank you for the response, looking at the website of Marlin it says version 2.0.9.3 but the link is indeed 2.0.x.zip which I didn’t notice. That is a mistake on the website I guess then. @.***
I will try to download the 2.0.9.3 from github using the link you supplied. Thank you !.
Regards,
Stefan
Van: ellensp @.> Verzonden: Sunday, 29 May 2022 13:17 Aan: MarlinFirmware/Configurations @.> CC: Stefan-van-Hattum @.>; Author @.> Onderwerp: Re: [MarlinFirmware/Configurations] [BUG] compilation fails for Two Trees Bluer Plus with mks_robin_nano35_maple (Issue #742)
You did not download Marlin 2.0.9.3 https://github.com/MarlinFirmware/Marlin/archive/refs/tags/2.0.9.3.zip You downloaded Marlin 2.0.x ie https://github.com/MarlinFirmware/Marlin/archive/2.0.x.zip
2.0.x is slightly ahead of 2.0.9.3 and breaks if you use 2.0.9.3 config files.
In particular In Configuration_adv.h this has changes a lot recently
2.0.x needs
// @section lcd
Marlin 2.0.9.2 - 2.0.9.3 needs
// @section lcd
— Reply to this email directly, view it on GitHubhttps://github.com/MarlinFirmware/Configurations/issues/742#issuecomment-1140427159, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATUA2PJMCTNAVZIXERJJQA3VMNG2DANCNFSM5XIAD6OA. You are receiving this because you authored the thread.Message ID: @.**@.>>
Bug Description
Downloaded latest Marlin 2.0.9.3 and the configurations file 2.0.9.3 After making the following modifications according to YouTube channel Aurora Tech:
define Z_MIN_ENDSTOP_INVERTING false// Set to true to invert the logic of the endstop.
// XPT2046 Touch Screen calibration
define TOUCH_CALIBRATION_X 16903
define TOUCH_CALIBRATION_Y 10346
define TOUCH_OFFSET_X -25
define TOUCH_OFFSET_Y -22
I saved the config and try to build using mks_robin_nano35_maple. The following is shown:
Processing mks_robin_nano35_maple (board: genericSTM32F103VE; platform: ststm32@~12.1; framework: arduino) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via
-v, --verbose
option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103VE.html PLATFORM: ST STM32 (12.1.1) > STM32F103VE (64k RAM. 512k Flash)HARDWARE: STM32F103VET6 72MHz, 64KB RAM, 512KB Flash DEBUG: Current (jlink) External (blackmagic, cmsis-dap, jlink, stlink) PACKAGES:
warning "Maple build environments are deprecated. Please use a non-Maple build environment. Report issues to the Marlin Firmware project."
^
~~ Compiling .pio\build\mks_robin_nano35_maple\src\src\lcd\menu\menu_bed_corners.cpp.o Compiling .pio\build\mks_robin_nano35_maple\src\src\lcd\menu\menu_bed_leveling.cpp.o Compiling .pio\build\mks_robin_nano35_maple\src\src\lcd\menu\menu_configuration.cpp.o Compiling .pio\build\mks_robin_nano35_maple\src\src\lcd\menu\menu_filament.cpp.o Marlin\src\lcd\marlinui.cpp: In static member function 'static void ManualMove::task()': Marlin\src\lcd\marlinui.cpp:796:60: error: 'manual_feedrate_mm_s' was not declared in this scope const feedRate_t fr_mm_s = (axis < LOGICAL_AXES) ? manual_feedrate_mm_s[axis] : XY_PROBE_FEEDRATE_MM_S; ^~~~~~~~ Marlin\src\lcd\marlinui.cpp:796:60: note: suggested alternative: 'feedrate_mm_s' const feedRate_t fr_mm_s = (axis < LOGICAL_AXES) ? manual_feedrate_mm_s[axis] : XY_PROBE_FEEDRATE_MM_S; ^~~~~~~~ feedrate_mm_s Marlin\src\lcd\menu\menu.cpp: In function 'void line_to_z(const_float_t)': Marlin\src\lcd\menu\menu.cpp:285:30: error: 'manual_feedrate_mm_s' was not declared in this scope line_to_current_position(manual_feedrate_mm_s.z); ^~~~~~~~ Marlin\src\lcd\menu\menu.cpp:285:30: note: suggested alternative: 'feedrate_mm_s' line_to_current_position(manual_feedrate_mm_s.z); ^~~~~~~~ feedrate_mm_s [.pio\build\mks_robin_nano35_maple\src\src\lcd\marlinui.cpp.o] Error 1 [.pio\build\mks_robin_nano35_maple\src\src\lcd\menu\menu.cpp.o] Error 1 Marlin\src\lcd\menu\menu_bed_corners.cpp: In function 'void _lcd_goto_next_corner()': Marlin\src\lcd\menu\menu_bed_corners.cpp:316:30: error: 'manual_feedrate_mm_s' was not declared in this scope line_to_current_position(manual_feedrate_mm_s.x); ^~~~~~~~ Marlin\src\lcd\menu\menu_bed_corners.cpp:316:30: note: suggested alternative: 'feedrate_mm_s' line_to_current_position(manual_feedrate_mm_s.x); ^~~~~~~~ feedrate_mm_s *** [.pio\build\mks_robin_nano35_maple\src\src\lcd\menu\menu_bed_corners.cpp.o] Error 1 ========================================================================================= [FAILED] Took 115.16 seconds ========================================================================================= Environment Status Durationmks_robin_nano35_maple FAILED 00:01:55.156 ==================================================================================== 1 failed, 0 succeeded in 00:01:55.156 ==================================================================================== The terminal process "C:\Users\Stefan.platformio\penv\Scripts\platformio.exe 'run', '--environment', 'mks_robin_nano35_maple'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
I also tried using bugfix-2.0.x and the import-2.0.x but these give different errors when building.
Configuration Files
Required: Include a ZIP file containing
Configuration.h
andConfiguration_adv.h
.If you've made any other modifications describe them in detail here.
configurations.zip
Steps to Reproduce
Expected behavior:
I expect compilation successful and have a custom Marlin firmware for my Two Trees Bluer Plus.
Actual behavior:
Build fails with errors
Additional Information