mirror of
https://github.com/suchmememanyskill/CYD-Klipper.git
synced 2026-03-21 05:33:24 +00:00
Initial release
This commit is contained in:
9
.github/workflows/compile.yaml
vendored
9
.github/workflows/compile.yaml
vendored
@@ -28,7 +28,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build PlatformIO Project
|
- name: Build PlatformIO Project
|
||||||
run: |
|
run: |
|
||||||
cd CYD-Klipper-Display
|
cd CYD-Klipper
|
||||||
pio run
|
pio run
|
||||||
|
|
||||||
- name: Make output dir
|
- name: Make output dir
|
||||||
@@ -37,9 +37,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Binary
|
- name: Build Binary
|
||||||
run: |
|
run: |
|
||||||
cp ./CYD-Klipper-Display/.pio/build/esp32dev/bootloader.bin output
|
cp ./CYD-Klipper/.pio/build/esp32dev/bootloader.bin output
|
||||||
cp ./CYD-Klipper-Display/.pio/build/esp32dev/partitions.bin output
|
cp ./CYD-Klipper/.pio/build/esp32dev/partitions.bin output
|
||||||
cp ./CYD-Klipper-Display/.pio/build/esp32dev/firmware.bin output
|
cp ./CYD-Klipper/.pio/build/esp32dev/firmware.bin output
|
||||||
cp ~/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin output
|
cp ~/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin output
|
||||||
python3 -m esptool --chip esp32 merge_bin -o ./output/merged-firmware.bin --flash_mode dio --flash_freq 40m --flash_size 4MB 0x1000 ./output/bootloader.bin 0x8000 ./output/partitions.bin 0xe000 ./output/boot_app0.bin 0x10000 ./output/firmware.bin
|
python3 -m esptool --chip esp32 merge_bin -o ./output/merged-firmware.bin --flash_mode dio --flash_freq 40m --flash_size 4MB 0x1000 ./output/bootloader.bin 0x8000 ./output/partitions.bin 0xe000 ./output/boot_app0.bin 0x10000 ./output/firmware.bin
|
||||||
cp -r ./output ./_site
|
cp -r ./output ./_site
|
||||||
@@ -59,6 +59,7 @@ jobs:
|
|||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
steps:
|
steps:
|
||||||
- name: Print GitHub event name
|
- name: Print GitHub event name
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
cmake_minimum_required(VERSION 3.16.0)
|
cmake_minimum_required(VERSION 3.16.0)
|
||||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||||
project(CYD-Klipper-Display)
|
project(CYD-Klipper)
|
||||||
@@ -1,12 +1,32 @@
|
|||||||
<script
|
<!DOCTYPE html>
|
||||||
type="module"
|
|
||||||
src="https://unpkg.com/esp-web-tools@9/dist/web/install-button.js?module"
|
|
||||||
></script>
|
|
||||||
|
|
||||||
<esp-web-install-button
|
<head>
|
||||||
manifest="https://firmware.esphome.io/esphome-web/manifest.json"
|
<style>
|
||||||
></esp-web-install-button>
|
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-family: 'Roboto', sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main {
|
||||||
|
width: fit-content;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script type="module" src="https://unpkg.com/esp-web-tools@9/dist/web/install-button.js?module"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<section class="main">
|
||||||
|
<h2>CYD-Klipper</h2>
|
||||||
|
<p>An implementation of a Klipper status display on an ESP32 + screen.<br>Uses Moonraker to fetch data.</p>
|
||||||
|
<img alt="GitHub release (with filter)" src="https://img.shields.io/github/v/release/suchmememanyskill/CYD-Klipper">
|
||||||
|
<a href="https://github.com/suchmememanyskill/CYD-Klipper"><img alt="GitHub repo" src="https://img.shields.io/badge/Source-Github-blue.svg"></a>
|
||||||
|
<section class="install">
|
||||||
|
<h3>Install</h3>
|
||||||
|
<p>Note: You may need to hold the 'BOOT' button on the device while pressing install</p>
|
||||||
<esp-web-install-button
|
<esp-web-install-button
|
||||||
manifest="https://firmware.esphome.io/esphome-web/manifest.json"
|
manifest="https://suchmememanyskill.github.io/CYD-Klipper/manifest.json"></esp-web-install-button>
|
||||||
></esp-web-install-button>
|
</section>
|
||||||
|
</section>
|
||||||
|
</body>
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "CYD-Klipper-Display",
|
"name": "CYD-Klipper",
|
||||||
"new_install_prompt_erase": false,
|
"new_install_prompt_erase": true,
|
||||||
"builds": [
|
"builds": [
|
||||||
{
|
{
|
||||||
"chipFamily": "ESP32",
|
"chipFamily": "ESP32",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "CYD-Klipper-Display",
|
"name": "CYD-Klipper",
|
||||||
"new_install_prompt_erase": false,
|
"new_install_prompt_erase": false,
|
||||||
"builds": [
|
"builds": [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user