Skip to content

Linear Advance (LA)

Compare
Choose a tag to compare
@mriscoc mriscoc released this 17 Aug 07:18
· 98 commits to main since this release

Warning

This is a placeholder. Do not download the zipped source code from here, if you want to build your own firmware, download the zip file from the main page of the repository and use the Configurator to create proper configuration files.

Linear Advance Documentation

This special feature is experimental for the stepper's drivers in standalone mode (Creality 4.2.2, 4.2.7, F1, F4) and is here for your test. It is possible to enable it by editing the configuration file, of course, Linear Advance can be used normally in boards where it used to work. The precompiled binaries for LA have Classic Jerk and S-Curve Acceleration disabled and Junction Deviation enabled.

Background

There was an old problem with the configurations of the drivers that Creality uses on its boards. LA was incompatible with drivers in standalone mode.

 #define E0_DRIVER_TYPE TMC2208_STANDALONE  // Ender Configs 

Some months ago, that was resolved by this: MarlinFirmware/Marlin#24533

Donations

Thank you for your support, I receive donations through Patreon and Paypal

It will use the following additional configuration:

{
"Configuration.h" : [
  {
    "op": "Disable",
    "searchfor": "CLASSIC_JERK"
  },
  {
    "op": "Disable",
    "searchfor": "S_CURVE_ACCELERATION"
  },
  {
    "op": "CustomVal",
    "searchfor": "JUNCTION_DEVIATION_MM",
    "value": "0.1"
  }  
],
"Configuration_adv.h" : [
  {
    "op": "Enable",
    "searchfor": "LIN_ADVANCE"
  },
  {
    "op": "CustomVal",
    "searchfor": "LIN_ADVANCE_K",
    "value": "0.0"
  }   
],
"Version.h" : [
]   
}

To compile firmware with Linear Advance, enable LA in the features column of the Professional Firmware Configurator to generate the proper configuration files.