Deploying to gh-pages from @ Klipper3d/klipper@848a78d1a5 🚀

This commit is contained in:
KevinOConnor
2023-02-20 16:07:14 +00:00
parent bc59ba8d7d
commit 6913c09690
56 changed files with 283 additions and 288 deletions

View File

@@ -1379,7 +1379,7 @@ sudo update-rc.d octoprint defaults
<div class="highlight"><pre><span></span><code>sudo systemctl start octoprint
</code></pre></div>
<p>需要確定可以訪問 OctoPrint 網路伺服器 - 它應該可以通過這個鏈接訪問: <a href="http://beaglebone:5000/">http://beaglebone:5000/</a></p>
<p>需要確定可以訪問 OctoPrint 網路伺服器 - 它應該可以通過這個鏈接訪問:<a href="http://beaglebone:5000/">http://beaglebone:5000/</a></p>
<h2 id="_2">構建微控制器程式碼<a class="headerlink" href="#_2" title="Permanent link">&para;</a></h2>
<p>要編譯的 Klipper 微控制器程式碼需要先將編譯配置設為「Beaglebone PRU」</p>
<div class="highlight"><pre><span></span><code>cd ~/klipper/

View File

@@ -1627,7 +1627,7 @@
<p>如果能用某種方式將 bootloader 刷寫到微控制器,使用該方式通常也能完成程式刷寫操作,但是,這種直接刷寫可能會將 bootloader 覆蓋掉。相對地bootloader 只允許使用者刷寫應用程式區域。因此,儘可能使用 bootloader 完成程式的刷寫。</p>
<p>該文件將盡可能介紹常見的bootloaders刷入bootloader所需的步驟和觸發bootloader進行程式刷寫的流程。該文件亦非官方指引這只是在Klipper開發人員使用過程中收集到的有用資訊。</p>
<h2 id="avr">AVR 微控制器<a class="headerlink" href="#avr" title="Permanent link">&para;</a></h2>
<p>總體上來說Arduino專案是8位Atmel Atmega微控制器的載入程式和刷寫程式的好的參考。特別是" boards.txt "檔案。 <a href="https://github.com/arduino/Arduino/blob/1.8.5/hardware/arduino/avr/boards.txt">https://github.com/arduino/Arduino/blob/1.8.5/hardware/arduino/avr/boards.txt</a>是一個有用的參考。</p>
<p>總體上來說Arduino專案是8位Atmel Atmega微控制器的載入程式和刷寫程式的好的參考。特別是" boards.txt "檔案。<a href="https://github.com/arduino/Arduino/blob/1.8.5/hardware/arduino/avr/boards.txt">https://github.com/arduino/Arduino/blob/1.8.5/hardware/arduino/avr/boards.txt</a>是一個有用的參考。</p>
<p>要刷寫載入程式本身AVR 晶片需要一個外部硬體刷寫工具(它使用 SPI 與晶片進行通訊)。這個工具可以購買(例如,在網上搜索 "avr isp"、"arduino isp "或 "usb tiny isp"。也可以使用另一個Arduino或Raspberry Pi來快閃記憶體AVR載入程式例如在網上搜索 "用raspberry pi程式設計AVR")。下面的例子是在假設使用 "AVR ISP Mk2 "型別的裝置的情況下編寫的。</p>
<p>"avrdude "程式是最常用的工具用於刷寫atmega晶片包括載入程式刷寫和應用程式刷寫</p>
<h3 id="atmega2560">Atmega2560<a class="headerlink" href="#atmega2560" title="Permanent link">&para;</a></h3>
@@ -1678,7 +1678,7 @@ avrdude -cavrispv2 -patmega1284p -P/dev/ttyACM0 -b115200 -U lock:w:0x0F:m
<h3 id="at90usb1286">At90usb1286<a class="headerlink" href="#at90usb1286" title="Permanent link">&para;</a></h3>
<p>本檔案不包括向At90usb1286刷寫載入程式的方法也不包括向該裝置刷寫一般應用。</p>
<p>來自pjrc.com的Teensy++裝置帶有一個專用的載入程式。它需要一個來自 <a href="https://github.com/PaulStoffregen/teensy_loader_cli">https://github.com/PaulStoffregen/teensy_loader_cli</a>的定製刷寫工具。可以用這個工具來刷寫一個應用程式,例如:</p>
<p>來自pjrc.com的Teensy++裝置帶有一個專用的載入程式。它需要一個來自<a href="https://github.com/PaulStoffregen/teensy_loader_cli">https://github.com/PaulStoffregen/teensy_loader_cli</a>的定製刷寫工具。可以用這個工具來刷寫一個應用程式,例如:</p>
<div class="highlight"><pre><span></span><code>teensy_loader_cli --mcu=at90usb1286 out/klipper.elf.hex -v
</code></pre></div>
@@ -1740,7 +1740,7 @@ program samd21_sam_ba.bin verify
<div class="highlight"><pre><span></span><code>來源 [查詢目標/atsame5x.cfg]
</code></pre></div>
<p>獲得一個載入程式--很多載入程式可以從 <a href="https://github.com/adafruit/uf2-samdx1/releases/latest">https://github.com/adafruit/uf2-samdx1/releases/latest</a>獲得。例如:</p>
<p>獲得一個載入程式--很多載入程式可以從<a href="https://github.com/adafruit/uf2-samdx1/releases/latest">https://github.com/adafruit/uf2-samdx1/releases/latest</a>獲得。例如:</p>
<div class="highlight"><pre><span></span><code>wget &#39;https://github.com/adafruit/uf2-samdx1/releases/download/v3.7.0/bootloader-itsybitsy_m4-v3.7.0.bin&#39;
</code></pre></div>
@@ -1759,10 +1759,10 @@ at91samd bootloader 16384
<div class="highlight"><pre><span></span><code>stm32flash -w out/klipper.bin -v -g 0 /dev/ttyAMA0
</code></pre></div>
<p>注意如果使用樹莓派的3.3V串列埠stm32flash協議使用的序列奇偶校驗模式樹莓派的 "mini UART "並不支援。關於在樹莓派的GPIO引腳上啟用完整的UART的細節 <a href="https://www.raspberrypi.com/documentation/computers/configuration.html#configuring-uarts">https://www.raspberrypi.com/documentation/computers/configuration.html#configuring-uarts</a></p>
<p>注意如果使用樹莓派的3.3V串列埠stm32flash協議使用的序列奇偶校驗模式樹莓派的 "mini UART "並不支援。關於在樹莓派的GPIO引腳上啟用完整的UART的細節<a href="https://www.raspberrypi.com/documentation/computers/configuration.html#configuring-uarts">https://www.raspberrypi.com/documentation/computers/configuration.html#configuring-uarts</a></p>
<p>刷寫后,將 "boot 0 "和 "boot 1 "都恢復設為低電平,以便在復位后從快閃記憶體啟動。</p>
<h3 id="stm32duino-stm32f103">帶有 stm32duino 引導載入程式的 STM32F103<a class="headerlink" href="#stm32duino-stm32f103" title="Permanent link">&para;</a></h3>
<p>"stm32duino "專案有一個USB功能的載入程式-參見: <a href="https://github.com/rogerclarkmelbourne/STM32duino-bootloader">https://github.com/rogerclarkmelbourne/STM32duino-bootloader</a></p>
<p>"stm32duino "專案有一個USB功能的載入程式-參見:<a href="https://github.com/rogerclarkmelbourne/STM32duino-bootloader">https://github.com/rogerclarkmelbourne/STM32duino-bootloader</a></p>
<p>這個載入程式可以通過3.3V的串列埠用類似以下的命令來刷寫:</p>
<div class="highlight"><pre><span></span><code>wget &#39;https://github.com/rogerclarkmelbourne/STM32duino-bootloader/raw/master/binaries/generic_boot20_pc13.bin&#39;
@@ -1866,11 +1866,11 @@ stm32flash -w hid_bootloader_SKR_PRO.bin -v -g 0 /dev/ttyAMA0
<p>與STM32F1一樣STM32F4使用hid-flash工具來上傳二進制檔案到MCU。關於如何構建和使用hid-flash的細節請參見上面的說明。</p>
<p>可能需要手動進入載入程式,這可以通過設定 "boot 0 "為低電平,"boot 1 "為高電平並上電來完成。程式設計完成後,裝置斷電,將 "boot 1 "重設為低電平,這樣應用程式就會被載入。</p>
<h2 id="lpc176xsmoothieboards">LPC176x微控制器Smoothieboards<a class="headerlink" href="#lpc176xsmoothieboards" title="Permanent link">&para;</a></h2>
<p>本檔案沒有描述刷寫載入程式本身的方法--見: <a href="http://smoothieware.org/flashing-the-bootloader">http://smoothieware.org/flashing-the-bootloader</a>以獲得關於該主題的進一步資訊。</p>
<p>Smoothieboards通常帶有一個來自 <a href="https://github.com/triffid/LPC17xx-DFU-Bootloader">https://github.com/triffid/LPC17xx-DFU-Bootloader</a>的bootloader。當使用這個載入程式時應用程式必須以16KiB的起始地址進行編譯。用這個載入程式刷寫應用程式的最簡單方法是將應用程式檔案例如<code>out/klipper.bin</code>複製到SD卡上一個名為<code>firmware.bin</code>的檔案然後用該SD卡重新啟動微控制器。</p>
<p>本檔案沒有描述刷寫載入程式本身的方法--見:<a href="http://smoothieware.org/flashing-the-bootloader">http://smoothieware.org/flashing-the-bootloader</a>以獲得關於該主題的進一步資訊。</p>
<p>Smoothieboards通常帶有一個來自<a href="https://github.com/triffid/LPC17xx-DFU-Bootloader">https://github.com/triffid/LPC17xx-DFU-Bootloader</a>的bootloader。當使用這個載入程式時應用程式必須以16KiB的起始地址進行編譯。用這個載入程式刷寫應用程式的最簡單方法是將應用程式檔案例如<code>out/klipper.bin</code>複製到SD卡上一個名為<code>firmware.bin</code>的檔案然後用該SD卡重新啟動微控制器。</p>
<h2 id="openocd">在樹莓派上執行OpenOCD<a class="headerlink" href="#openocd" title="Permanent link">&para;</a></h2>
<p>OpenOCD是一個軟體包可以進行底層的晶片程式設計和除錯。它可以使用樹莓派上的GPIO引腳與各種ARM晶片通訊。</p>
<p>本節描述瞭如何安裝和啟動OpenOCD。它來自於以下的說明 <a href="https://learn.adafruit.com/programming-microcontrollers-using-openocd-on-raspberry-pi">https://learn.adafruit.com/programming-microcontrollers-using-openocd-on-raspberry-pi</a></p>
<p>本節描述瞭如何安裝和啟動OpenOCD。它來自於以下的說明<a href="https://learn.adafruit.com/programming-microcontrollers-using-openocd-on-raspberry-pi">https://learn.adafruit.com/programming-microcontrollers-using-openocd-on-raspberry-pi</a></p>
<p>開始下載和編譯軟體(每個步驟可能需要數分鐘,"make "步驟可能需要30分鐘以上</p>
<div class="highlight"><pre><span></span><code>sudo apt-get update
sudo apt-get install autoconf libtool telnet

View File

@@ -1370,7 +1370,7 @@
<p>爲了使用 CAN 匯流排,主機需要一個適配器。目前有兩種常見的選擇:</p>
<ol>
<li>使用<a href="https://www.waveshare.com/rs485-can-hat.htm">Waveshare Raspberry Pi CAN hat</a>或其眾多克隆中的一個。</li>
<li>使用一個USB CAN適配器例如 <a href="https://hacker-gadgets.com/product/cantact-usb-can-adapter/">https://hacker-gadgets.com/product/cantact-usb-can-adapter/</a>。有許多不同的USB到CAN適配器—當選擇時我們建議驗證它是否能執行<a href="https://github.com/candle-usb/candleLight_fw">candlelight 韌體</a>。(不幸的是我們發現一些USB適配器執行有缺陷的韌體並被鎖死所以在購買前要進行覈實。</li>
<li>使用一個USB CAN適配器例如<a href="https://hacker-gadgets.com/product/cantact-usb-can-adapter/">https://hacker-gadgets.com/product/cantact-usb-can-adapter/</a>。有許多不同的USB到CAN適配器—當選擇時我們建議驗證它是否能執行<a href="https://github.com/candle-usb/candleLight_fw">candlelight 韌體</a>。(不幸的是我們發現一些USB適配器執行有缺陷的韌體並被鎖死所以在購買前要進行覈實。</li>
</ol>
<p>還需要將主機操作系統配置為使用適配器。通常可以通過建立一個名為 <code>/etc/network/interfaces.d/can0</code> 的新檔案來實現,該檔案包含以下內容:</p>
<div class="highlight"><pre><span></span><code>auto can0

View File

@@ -1411,7 +1411,7 @@
</li>
<li>
<p>提交的版權是否清晰、無償、相容?新的 C 檔案和 Python 檔案應該有一個明確的版權聲明。請看現有檔案以瞭解推薦格式。不推薦在對現有檔案進行小的修改時對該檔案進行版權聲明。</p>
<p>從第三方來源獲取的程式碼必須與 Klipper 的許可證GNU GPLv3相容。大型的第三方程式碼新增應被新增到<code>lib/</code>目錄中(並遵循 &lt;../lib/README&gt;中描述的格式)。</p>
<p>從第三方來源獲取的程式碼必須與 Klipper 的許可證GNU GPLv3相容。大型的第三方程式碼新增應被新增到<code>lib/</code>目錄中(並遵循<a href="https://github.com/Klipper3d/klipper/blob/master/lib/README">../lib/README</a>中描述的格式)。</p>
<p>提交者必須提供一個<a href="#format-of-commit-messages">Signed-off-by 行</a>,使用他們的真實全名。它表明提交者同意<a href="developer-certificate-of-origin">開發者源頭證書</a></p>
</li>
<li>

View File

@@ -1402,7 +1402,7 @@
<h2 id="_2">社區論壇<a class="headerlink" href="#_2" title="Permanent link">&para;</a></h2>
<p>有一個用來討論 Klipper 的 <a href="https://community.klipper3d.org">Klipper 社區 Discourse 伺服器</a></p>
<h2 id="discord">Discord 聊天<a class="headerlink" href="#discord" title="Permanent link">&para;</a></h2>
<p>我們有一個用來討論Klipper的Discord伺服器它的邀請鏈接是 <a href="https://discord.klipper3d.org">https://discord.klipper3d.org</a></p>
<p>我們有一個用來討論Klipper的Discord伺服器它的邀請鏈接是<a href="https://discord.klipper3d.org">https://discord.klipper3d.org</a></p>
<p>這個伺服器是由 Klipper 愛好者社區執行,致力於討論 Klipper。它允許進行使用者間的實時聊天。</p>
<h2 id="klipper">我有一個關於 Klipper 的問題<a class="headerlink" href="#klipper" title="Permanent link">&para;</a></h2>
<p>我們收到的許多問題在 <a href="Overview.html">Klipper 文件</a>中已經有了答案。請務必閱讀該文件並遵循其中提供的指示。</p>

View File

@@ -4454,7 +4454,7 @@
<h4 id="save_config">SAVE_CONFIG<a class="headerlink" href="#save_config" title="Permanent link">&para;</a></h4>
<p><code>SAVE_CONFIG</code>:該命令將覆蓋印表機的主配置檔案,並重新啟動主機軟體。該命令與其他校準命令一起使用,用於儲存校準測試的結果。</p>
<h3 id="delayed_gcode">[delayed_gcode]<a class="headerlink" href="#delayed_gcode" title="Permanent link">&para;</a></h3>
<p>如果啟用了 <a href="Config_Reference.html#delayed_gcode">delayed_gcode config section</a>,則啟用以下命令(另請參閱 <a href="Command_Templates.html#delayed-gcodes">template guide</a>)。</p>
<p>如果啟用了 <a href="Config_Reference.html#delayed_gcode">delayed_gcode config section</a>,則啟用以下命令(另請參閱 <a href="Command_Templates.html#delayed-gcodes">template guide</a>)。</p>
<h4 id="update_delayed_gcode">UPDATE_DELAYED_GCODE<a class="headerlink" href="#update_delayed_gcode" title="Permanent link">&para;</a></h4>
<p><code>UPDATE_DELAYED_GCODE [ID=&lt;名稱&gt;] [DURATION=&lt;&gt;]</code>:更新目標 [delayed_gcode] 的延遲並啟動G程式碼執行的計時器。為0的值會取消準備執行的延遲G程式碼。</p>
<h3 id="delta_calibrate">[delta_calibrate]<a class="headerlink" href="#delta_calibrate" title="Permanent link">&para;</a></h3>

View File

@@ -2007,7 +2007,7 @@ TEST_RESONANCES AXIS=1,-1 OUTPUT=raw_data
</code></pre></div>
<p>以產生<code>/tmp/resonances.png</code>,對比共振的數據。</p>
<p>對標準構型的三角洲印表機A塔210°B塔330°C塔~90°執行</p>
<p>對標準構型的三角洲印表機A塔~210°B塔~330°C塔~90°執行</p>
<div class="highlight"><pre><span></span><code>TEST_RESONANCES AXIS=0,1 OUTPUT=raw_data
TEST_RESONANCES AXIS=-0.866025404,-0.5 OUTPUT=raw_data
TEST_RESONANCES AXIS=0.866025404,-0.5 OUTPUT=raw_data

View File

@@ -1360,13 +1360,13 @@
<h1 id="_1">贊助商<a class="headerlink" href="#_1" title="Permanent link">&para;</a></h1>
<p>Klipper 是免費軟件。我們依靠贊助商的慷慨支持。請考慮贊助 Klipper 或支持我們的讚助商。</p>
<h2 id="bigtreetech">BIGTREETECH<a class="headerlink" href="#bigtreetech" title="Permanent link">&para;</a></h2>
<p>[<img src="./img/sponsors/BTT_BTT.png" width="200" /></p>
<p><a href="https://bigtree-tech.com/collections/all-products"><img src="./img/sponsors/BTT_BTT.png" width="200" /></a></p>
<p>BIGTREETECH 是 Klipper 的主板官方贊助商。 BIGTREETECH 致力於開發具有創新性和競爭力的產品,以更好地服務於 3D 打印社區。在 <a href="https://www.facebook.com/BIGTREETECH">Facebook</a><a href="https://twitter.com/BigTreeTech">Twitter</a> 上關注他們。</p>
<h2 id="klipper">Klipper開發人員<a class="headerlink" href="#klipper" title="Permanent link">&para;</a></h2>
<h3 id="kevin-oconnor">Kevin O'Connor<a class="headerlink" href="#kevin-oconnor" title="Permanent link">&para;</a></h3>
<p>Kevin is the original author and current maintainer of Klipper. Donate at: <a href="https://ko-fi.com/koconnor">https://ko-fi.com/koconnor</a> or <a href="https://www.patreon.com/koconnor">https://www.patreon.com/koconnor</a></p>
<h3 id="eric-callahan">Eric Callahan<a class="headerlink" href="#eric-callahan" title="Permanent link">&para;</a></h3>
<p>Eric 是 bed_mesh、spi_flash 和其他幾個 Klipper 模塊的作者。 Eric 的捐款頁面位於: <a href="https://ko-fi.com/arksine">https://ko-fi.com/arksine</a></p>
<p>Eric 是 bed_mesh、spi_flash 和其他幾個 Klipper 模塊的作者。 Eric 的捐款頁面位於:<a href="https://ko-fi.com/arksine">https://ko-fi.com/arksine</a></p>
<h2 id="klipper_1">相關的 Klipper 項目<a class="headerlink" href="#klipper_1" title="Permanent link">&para;</a></h2>
<p>Klipper 經常與其他免費軟件一起使用。考慮使用或支持這些項目。</p>
<ul>

View File

@@ -1974,7 +1974,7 @@
<li><code>retract_length</code><code>retract_speed</code><code>unretract_extra_length</code><code>unretract_speed</code>firmware_retraction 模組的當前設定。如果 <code>SET_RETRACTION</code> 命令改變它們,這些設定可能與配置檔案不同。</li>
</ul>
<h2 id="gcode_macro">gcode_macro<a class="headerlink" href="#gcode_macro" title="Permanent link">&para;</a></h2>
<p>[gcode_macro &lt;名稱&gt; 對像提供了以下資訊:</p>
<p><a href="Config_Reference.html#gcode_macro">gcode_macro &lt;名稱&gt;</a> 對像提供了以下資訊:</p>
<ul>
<li><code>&lt;變數名&gt;</code><a href="Command_Templates.html#variables">gcode_macro 變數</a> 的當前值。</li>
</ul>
@@ -2046,7 +2046,7 @@
<li><code>live_extruder_velocity</code>目前請求的擠出機速度單位mm/s</li>
</ul>
<h2 id="output_pin">output_pin<a class="headerlink" href="#output_pin" title="Permanent link">&para;</a></h2>
<p>[output_pin &lt;配置名稱&gt; 對像提供以下資訊:</p>
<p><a href="Config_Reference.html#output_pin">output_pin &lt;配置名稱&gt;</a> 對像提供以下資訊:</p>
<ul>
<li><code>value</code>:由<code>SET_PIN</code>指令設定的引腳「值」。</li>
</ul>

File diff suppressed because one or more lines are too long

Binary file not shown.