FlashForge_Marlin icon indicating copy to clipboard operation
FlashForge_Marlin copied to clipboard

🐛 [BUG] - 2.1.x Branch Compile Fixes

Open lemmingDev opened this issue 2 years ago • 1 comments

Description

  1. DEFAULT_AXIS_STEPS_PER_UNIT gives a redefined warning
  2. Compiling with -g (USE_MKS_UI) fails

Reproduction steps

  1. DEFAULT_AXIS_STEPS_PER_UNIT warning happens with all options
  2. Compiling fails with -g (USE_MKS_UI)

Fixes

  1. Comment out or delete the line #define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 500 } on line 1251 of Configuration.h

  2. Change #define HAS_SPI_FLASH 1 to #define SPI_FLASH 1 on line 244 of pins_FF_MOTHERBOARD.h

Screenshots

No response

Logs

No response

Printer

FlashForge Dreamer

Marlin Version

2.1.2.1

Marlin Features

mks

lemmingDev avatar Nov 24 '23 23:11 lemmingDev

Got around to loading on my Dreamer. FYI - The printer EEPROM won't initialise and the AXIS won't move "Homing Failed: PRINTER HALTED Please Restart"

I will investigate further

lemmingDev avatar Nov 26 '23 21:11 lemmingDev