-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No rule to make target 'out/src/prtouch_v2.o' #1
Comments
Trying to compile for SE and hitting the same problem Trying to compile to GD32 I get a different error:
can you provide compilation instructions? |
@felipejfc what creality needs to do is stop including binary blobs and add the source files for prtouch_v2. On top of this, the object files they include were built with an older version of gcc (9.2) making it impossible to link in if you are using a more up to date toolchain. They're violating the GPLv3 license of klipper by doing this. |
did you manage to get it linked with 9.2 GCC? |
@CrealityTech could you please comment on this? |
I got further but didn't dig any deeper. Ideally no one should have to jump through such hoops to build this. I'm also skeptical of the binary python blob in klippy/extras working correctly once the MCU stuff is ironed out. |
check prtouch_v2.o with command "strings ./prtouch_v2_xx.o | grep GCC" xx:can CM3/CM4/cm23 etg. |
@CrealityTech wouldn't it be easier to update this repo with the C source files for prtouch_v2 so it will "just" compile and be more compliant with the GPLv3 license of klipper in the process? |
thanks for the tip @CrealityTech managed to compile by doing the following: EDIT think I got it. compile once and it will fail with the error of no make rule for prtouch binary file. copy src/prtouch_v2_cm3.o to out/src/prtouch_v2.o and compile again. it will successfully link :) |
you can replace extras/prtouch_v2.py with above and get rid of prtouch_v2.c files I believe. I can leak the original z_compensate.py as well so it can work without blobs. @CrealityTech will you stop violating GPL license please? |
thank you for that @ninja-. would really appreciate the one for z_compensate as it's the only missing piece for me to get this thing working :) |
I am not sure if it's up to date to KE standards though. But I am sure it runs 3v3 SE fine. I had a problem that automatic Z offset on my 3v3 KE, calibration returns few milimeters higher value than nebula pad. I couldn't get to the bottom of it, the config values were all correct and it was running this version of z_compensate |
Will try it and let you folks now how it ran very soon |
managed to compile but cant start machine. log:
|
may i suggest making your own repo with your changes |
There's always this https://github.com/0xD34D/klipper_ender3_v3_se |
yeah i'm aware of it, i made issue #7 on your config repo, but i had to discontinue using it due to some weird software bugs and some bed damage |
Had some problems too. Yesterday I almost trashed by printer when prtouch sensor failed, or some software bug, not sure, and when doing z offset calculation with prtouch it started to go down against the bed super hard. I had to emergency stop the printer and recalibrate afterwards |
make menuconfig like this before compiling. |
To use the serial port from USB-C you need to use PA9/PA10. You should be able to change that in the menu config |
hey, @ninja- , could you please leak the prtouch_v2_cm4.c and related files? or advise on how to aquire the same? |
Heya, could i get some help with the newest klipper?, those files don't seem to work for me coming up with "Duplicate chip name 'probe'" when placed into the newest klipper/klippy/extras Seen @ninja- and @Taylor6693 being quite the help for others, hope i can bother you two as well Also help flashing a newer klipper(than what is provided with the nebula pad) onto KE would be very appreciated |
Hello,
compliation ends with:
Could you please assist?
The text was updated successfully, but these errors were encountered: