Compile chelper and btt eddy - pellcorp/klipper GitHub Wiki

Compiling Klipper

For the Nozzle, MCU and Leveling firmware please refer to https://github.com/pellcorp/k1-klipper-firmware/wiki/Compiling-Firmware

For K1 we also need to prebuild the klippy/chelper and build firmware for the Btt Eddy. Normally this stuff would be built by klipper on the host (such as a rpi), unfortunately a K1 does not have a gcc compiler and it would probably be pretty slow anyway.

So we need to prebuild:

  • klipper/chelper/c_helper.so
  • btteddy firmware

C Helper SO

cd klippy/chelper
docker run -ti -v $PWD:$PWD pellcorp/k1-klipper-fw-build /bin/bash -c "cd $PWD && make clean && make"

You must commit the c_helper.so, to prevent klipper trying to recompile it at runtime. You will need to force commit the c_helper.so using something like git add -f c_helper.so.

Building BTT Eddy

There is 1 target to be built:

  • btteddy

You can build it by just running the build.sh script:

docker run -ti -v $PWD:$PWD pellcorp/k1-klipper-fw-build $PWD/build.sh

You will find the btteddy.uf2 output to the fw/K1/ directory

$ ls fw/K1/
btteddy.uf2

This new firmware need to be committed to klipper repo