[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4693: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4695: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4696: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4697: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Printrbot Talk Forum • View topic - Marlin Configuration.h

Marlin Configuration.h

Code hacking talk

Marlin Configuration.h

Postby wd5gnr » 2015-Jan-Fri-22-Jan

Well I didn't have much progress today as everything I had done had to be backed out. I had cloned the latest Marlin from the Printrbot github. I have a build environment setup.

Did a build and loaded it. It did the bed level routine but since I don't have the sensor I decided I'd just turn it off. Did that. Rebuild. Reflash. The X/Y/Z seems backwards.

So I do a diff between the Configuration.h and the one in the source for Unified V3. Differences where I changed a few things. There are more options for MAX stops that we don't have, but all looked ok.

I could never get it all going. It looks like XYZ is inverted. But then if you do that, a home to -1 goes the wrong way. But if you set home to 1, the code assumes you have max stops which we don't.

Just as a baseline, I recompiled unified 3 and flashed it. Works fine.

So what's the magic? It looks like pins.h defines the MIN or MAX stop based on the homing direction but since that is flipped it is doing the wrong thing. But that wasn't a problem in earlier builds apparently.

Any advice?
  • 0

Al Williams
Twitter: @awce_com
FB: http://www.facebook.com/Understanding3dPrinting
User avatar
wd5gnr
Support material...
 
Posts: 491
Joined: 2012-Nov-Thu-10-Nov
Reputation: 22

Marlin Configuration.h

Sponsor

Sponsor
 

Re: Marlin Configuration.h

Postby PxT » 2015-Jan-Sat-01-Jan

  • 0

User avatar
PxT
Print complete...
 
Posts: 1339
Joined: 2011-Dec-Mon-16-Dec
Location: Sacramento, CA
Reputation: 97

Re: Marlin Configuration.h

Postby wd5gnr » 2015-Jan-Sat-01-Jan

  • 0

Al Williams
Twitter: @awce_com
FB: http://www.facebook.com/Understanding3dPrinting
User avatar
wd5gnr
Support material...
 
Posts: 491
Joined: 2012-Nov-Thu-10-Nov
Reputation: 22


Return to Hack talk

Who is online

Users browsing this forum: No registered users and 1 guest