Results 1 to 10 of 396
-
09-24-2014, 03:09 PM #1
Marlin firmware fork for MakerFarm i3v w/ auto bed level & Roxy's enhancements
I have been frustrated with having to dig through lots of places to get all the bits and pieces for the most recent code for the Marlin firmware for the i3v. I also note that the trunk is slow to incorporate pulls.
So, I have setup a fork of the Marlin trunk with the Type 6 therm. table modified, auto bed leveling enabled (this is easy to turn off) and Roxy's enhanced G29 (and G28) commands with the debugging info on. For a better description of the therm table stuff, see this post.
If you don't have ABL, there is an example Configuration.h that should get you started: Configuration.h.without_ABL . Rename this to Configuration.h and rebuild. The ABL enhanced Gcodes will be disabled.
I am trying to keep this current against the Marlin trunk, e.g. it includes the 9/14 fix for the vector calculations and the fixes for the defines related to the sleds.
Here is the repo:
https://github.com/beckdac/Marlin
It isn't necessary to use the Git tools or to clone the above repository if you don't plan on ever making changes that you will want to push back to the community. Instead, just use the Download Zip button on the right hand side of the page.
Make sure you update your E-steps and set the ABL servo angle before using!
Updates:
Fix: Moved do_blocking_move_relative call from retract_z_probe to homeaxis.
Feature: Added a modified version of the dynamic ABL probe area code from here: https://github.com/ErikZalm/Marlin/pull/1022
Option: Added example for non ABL Configuration.hLast edited by dacb; 09-29-2014 at 02:51 PM. Reason: Added warning. Added notice. Added no ABL info. Added update... Added note that you can just download a zip and avoid git.
-
09-24-2014, 06:01 PM #2
Sounds good. Safe to assume updates would be noted here?
-
09-24-2014, 08:15 PM #3
- Join Date
- Jul 2014
- Location
- Eastern Colorado
- Posts
- 536
What do we do with the configuration.h.makerfarm?
Also, I'm getting this error when compiling:
Marlin_main.cpp: In function ‘void prepare_arc_move(char)’:
Marlin_main.cpp:4166:49: error: ‘hypot’ was not declared in this scope
float r = hypot(offset[X_AXIS], offset[Y_AXIS]); // Compute arc radius for mc_arc
I do not know why, it's the same as the line in the old Marlin_main.cpp.Last edited by AbuMaia; 09-24-2014 at 08:34 PM.
-
09-24-2014, 08:46 PM #4
Definitely.
The *.makerfarm could be removed from the repo, I suppose. They are from the MakerFarm firmware source ball I downloaded from MakerFarm's Google Drive. They are for reference only.
As for your compilation problem... I just went to a new machine and did a git clone into a new directory. Then I opened the Marlin.ino in Marlin/Marlin in the Arduino IDE (1.05) and hit Verify. Does this differ from your protocol? Make sure you are in a new directory. I will add that this also builds under 1.5.2 (both on a Mac).
-
09-24-2014, 09:03 PM #5
- Join Date
- Jul 2014
- Location
- Eastern Colorado
- Posts
- 536
I downloaded the .zip file, otherwise it's the same as I did, after I migrated my settings across.
I just compared the modified files with a new set fresh out of the zip file. I can't find any missing hypot declaration anywhere.Last edited by AbuMaia; 09-24-2014 at 09:29 PM.
-
09-24-2014, 09:26 PM #6
I believe hypot is an Arduino function. It wouldn't be defined in the Marlin files.
-
09-24-2014, 09:29 PM #7
- Join Date
- Jul 2014
- Location
- Eastern Colorado
- Posts
- 536
Well, I solved the hypot problem. The /* -*- c++ -*- */ at the top of marlin_main got replaced by some other text somehow. I've restored it, now I get
Marlin_main.cpp: In function ‘void retract_z_probe()’:
Marlin_main.cpp:1100:13: error: ‘axis’ was not declared in this scope
if (axis==Z_AXIS)
That would be line 1091 in the zipped file. I'm stumped this time.Last edited by AbuMaia; 09-24-2014 at 09:47 PM.
-
09-24-2014, 09:58 PM #8
- Join Date
- Sep 2014
- Posts
- 12
-
09-24-2014, 10:05 PM #9
- Join Date
- Jul 2014
- Location
- Eastern Colorado
- Posts
- 536
I don't have to check, I know I have it enabled and set to 1000. All commenting it out will do is cause Marlin to skip that part, as the "if" will no longer match. The unmodified version from the zip file compiles properly. It's something to do with my settings somehow.
Oh, I see, the unmodified version has that line commented out, too. Hmm. Yes, if I activate that line, it throws that error.
I'm reverting back to my old Marlin. My servo jitters constantly without the deactivation delay, and I don't trust it to be accurate when homing or bed level probing.Last edited by AbuMaia; 09-24-2014 at 10:22 PM.
-
09-24-2014, 10:09 PM #10
- Join Date
- Sep 2014
- Posts
- 12
Kickstarter campaing LEGENDARY...
Today, 08:02 AM in Free Self Promotion