docs: beaglebone.md Caps and Code Fence

Signed-off-by: Yifei Ding <yifeiding@protonmail.com>
This commit is contained in:
Yifei Ding 2021-11-20 23:14:38 -08:00 committed by Kevin O'Connor
parent f80ec56486
commit 85667649d1
1 changed files with 11 additions and 11 deletions

View File

@ -11,9 +11,10 @@ image. One may run the image from either a micro-SD card or from
builtin eMMC. If using the eMMC, install it to eMMC now by following builtin eMMC. If using the eMMC, install it to eMMC now by following
the instructions from the above link. the instructions from the above link.
Then ssh into the beaglebone machine (ssh debian@beaglebone -- Then ssh into the Beaglebone machine (`ssh debian@beaglebone` --
password is "temppwd") and install Klipper by running the following password is `temppwd`) and install Klipper by running the following
commands: commands:
``` ```
git clone https://github.com/Klipper3d/klipper git clone https://github.com/Klipper3d/klipper
./klipper/scripts/install-beaglebone.sh ./klipper/scripts/install-beaglebone.sh
@ -38,10 +39,10 @@ sudo update-rc.d octoprint defaults
``` ```
It is necessary to modify OctoPrint's **/etc/default/octoprint** It is necessary to modify OctoPrint's **/etc/default/octoprint**
configuration file. One must change the OCTOPRINT_USER user to configuration file. One must change the `OCTOPRINT_USER` user to
"debian", change NICELEVEL to 0, uncomment the BASEDIR, CONFIGFILE, `debian`, change `NICELEVEL` to `0`, uncomment the `BASEDIR`, `CONFIGFILE`,
and DAEMON settings and change the references from "/home/pi/" to and `DAEMON` settings and change the references from `/home/pi/` to
"/home/debian/": `/home/debian/`:
``` ```
sudo nano /etc/default/octoprint sudo nano /etc/default/octoprint
``` ```
@ -51,7 +52,7 @@ Then start the Octoprint service:
sudo systemctl start octoprint sudo systemctl start octoprint
``` ```
Make sure the octoprint web server is accessible - it should be at: Make sure the OctoPrint web server is accessible - it should be at:
[http://beaglebone:5000/](http://beaglebone:5000/) [http://beaglebone:5000/](http://beaglebone:5000/)
## Building the micro-controller code ## Building the micro-controller code
@ -71,8 +72,7 @@ sudo service klipper start
``` ```
It is also necessary to compile and install the micro-controller code It is also necessary to compile and install the micro-controller code
for a Linux host process. Run "make menuconfig" a second time and for a Linux host process. Configure it a second time for a "Linux process":
configure it for a "Linux process":
``` ```
make menuconfig make menuconfig
``` ```
@ -88,7 +88,7 @@ sudo service klipper start
Complete the installation by configuring Klipper and Octoprint Complete the installation by configuring Klipper and Octoprint
following the instructions in following the instructions in
[the main installation document](Installation.md#configuring-klipper). the main [Installation](Installation.md#configuring-klipper) document.
## Printing on the Beaglebone ## Printing on the Beaglebone
@ -96,5 +96,5 @@ Unfortunately, the Beaglebone processor can sometimes struggle to run
OctoPrint well. Print stalls have been known to occur on complex OctoPrint well. Print stalls have been known to occur on complex
prints (the printer may move faster than OctoPrint can send movement prints (the printer may move faster than OctoPrint can send movement
commands). If this occurs, consider using the "virtual_sdcard" feature commands). If this occurs, consider using the "virtual_sdcard" feature
(see [config reference](Config_Reference.md#virtual_sdcard) for (see [Config Reference](Config_Reference.md#virtual_sdcard) for
details) to print directly from Klipper. details) to print directly from Klipper.