Open emka opened 8 years ago
This is not something I as a git noob will try on my own, but once we have accomplished this I suggest the first change to all firmwares to be a check whether the G-code was sliced with the correct profile in Cura (where we would add an appropriate comment line in the beginning, e.g. "Heidelberg Makerspace i3 A"
I was trying to find out which commit a changed source tree was based on and wrote a little quick-and-dirty script, which could be reused for this purpose:
#!/bin/bash
NUM_COMMITS=100
COMPARE_DIR=../other_source/
# get list of last commits
commitlist=$(git log --oneline | head -n$NUM_COMMITS | awk '{print $1}')
original_commit=$(echo $commitlist | awk '{print $1}')
for commit in $commitlist
do
git checkout -q $commit
# count differences
num_differences=$(diff . $COMPARE_DIR | wc -l)
echo $commit $num_differences
done
git checkout $original_commit
@LukasFreeze I could run that script for you if you give me the manufacturer's source code for both printer types. Not sure what @DirkToewe found out already.
the Kossels run on "Rich Cattel Marlin" which was last updated in January 2015 - should still be correct, we built them in April that year
In that case I think we could just switch to upstream Marlin. If I got it correctly the "RIchCattel" fork was created to add delta printer support, but that is supported in upstream now as well. The current release is 1.0.2-2, maybe we should wait for 1.1 (RC8 has known issues that I don't like) or just start adapting the default configuration for 1.0.2 already.
I forked the upstream project and created a Kossel branch from the 1.0.2-2
tag.
We have two different versions of Marlin on the Kossels and Prusas, and four different calibration settings.
Find out which Marlin versions the manufacturer versions were forked from(not required)(starting from the historical commit)