Actions

Difference between revisions of "Voron Configuration"

From Just in Time

m (Adding steps performed so far)
Line 5: Line 5:
 
* Some experiences and designs in a github repo [https://github.com/cruiten/Voron-Related/tree/main/CANbus/Documentation here].
 
* Some experiences and designs in a github repo [https://github.com/cruiten/Voron-Related/tree/main/CANbus/Documentation here].
 
* Mellow [https://mellow.klipper.cn/#/board/fly_sb2040/ SB2040 documentation].
 
* Mellow [https://mellow.klipper.cn/#/board/fly_sb2040/ SB2040 documentation].
 +
 +
 +
 +
Steps performed:
 +
<code>sudo /bin/sh -c "cat > /etc/network/interfaces.d/can0" << EOF
 +
allow-hotplug can0
 +
iface can0 can static
 +
    bitrate 500000
 +
    up ifconfig \$IFACE txqueuelen 1024
 +
EOF</code>
 +
 +
 +
<blockquote><code>sudo wget <nowiki>https://cdn.mellow.klipper.cn/shell/can-enable</nowiki> -O /usr/bin/can-enable > /dev/null 2>&1 && sudo chmod +x /usr/bin/can-enable || echo "The operation failed"</code></blockquote>

Revision as of 21:10, 30 April 2023

CAN Bus upgrade


Steps performed:

sudo /bin/sh -c "cat > /etc/network/interfaces.d/can0" << EOF
allow-hotplug can0
iface can0 can static
    bitrate 500000
    up ifconfig \$IFACE txqueuelen 1024
EOF


sudo wget https://cdn.mellow.klipper.cn/shell/can-enable -O /usr/bin/can-enable > /dev/null 2>&1 && sudo chmod +x /usr/bin/can-enable || echo "The operation failed"