MarlinFirmware / Configurations

Configurations for Marlin Firmware
https://marlinfw.org
GNU General Public License v3.0
2.03k stars 3.36k forks source link

[BUG] compilation fails for Two Trees Bluer Plus with mks_robin_nano35_maple #742

Closed Stefan-van-Hattum closed 2 years ago

Stefan-van-Hattum commented 2 years ago

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:

Executing task: C:\Users\Stefan.platformio\penv\Scripts\platformio.exe run --environment mks_robin_nano35_maple <

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:

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 and Configuration_adv.h.

If you've made any other modifications describe them in detail here.

configurations.zip

Steps to Reproduce

  1. Make modifcation in Configuration.h
  2. Save modified Configuration.h
  3. Use PlatformIO and select mks_robin_nano35_maple
  4. click build
  5. wait for error to apear

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

ellensp commented 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
Stefan-van-Hattum commented 2 years ago

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

if HAS_MANUAL_MOVE_MENU

define MANUAL_FEEDRATE { 5060, 5060, 460, 260 } // (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 { 5060, 5060, 460, 260 } // (mm/min) Feedrates for manual moves along X, Y, Z, E from panel

— 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: @.**@.>>