Initial release

This commit is contained in:
suchmememanyskill
2023-11-13 17:07:54 +01:00
parent e04e3204eb
commit c0651a50a7
38 changed files with 39 additions and 18 deletions

View File

@@ -28,7 +28,7 @@ jobs:
- name: Build PlatformIO Project
run: |
cd CYD-Klipper-Display
cd CYD-Klipper
pio run
- name: Make output dir
@@ -37,9 +37,9 @@ jobs:
- name: Build Binary
run: |
cp ./CYD-Klipper-Display/.pio/build/esp32dev/bootloader.bin output
cp ./CYD-Klipper-Display/.pio/build/esp32dev/partitions.bin output
cp ./CYD-Klipper-Display/.pio/build/esp32dev/firmware.bin output
cp ./CYD-Klipper/.pio/build/esp32dev/bootloader.bin output
cp ./CYD-Klipper/.pio/build/esp32dev/partitions.bin output
cp ./CYD-Klipper/.pio/build/esp32dev/firmware.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
cp -r ./output ./_site
@@ -59,6 +59,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- name: Print GitHub event name
run: |

View File

@@ -1,3 +1,3 @@
cmake_minimum_required(VERSION 3.16.0)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(CYD-Klipper-Display)
project(CYD-Klipper)

View File

@@ -1,12 +1,32 @@
<script
type="module"
src="https://unpkg.com/esp-web-tools@9/dist/web/install-button.js?module"
></script>
<!DOCTYPE html>
<esp-web-install-button
manifest="https://firmware.esphome.io/esphome-web/manifest.json"
></esp-web-install-button>
<head>
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
<esp-web-install-button
manifest="https://firmware.esphome.io/esphome-web/manifest.json"
></esp-web-install-button>
* {
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
manifest="https://suchmememanyskill.github.io/CYD-Klipper/manifest.json"></esp-web-install-button>
</section>
</section>
</body>

View File

@@ -1,6 +1,6 @@
{
"name": "CYD-Klipper-Display",
"new_install_prompt_erase": false,
"name": "CYD-Klipper",
"new_install_prompt_erase": true,
"builds": [
{
"chipFamily": "ESP32",

View File

@@ -1,5 +1,5 @@
{
"name": "CYD-Klipper-Display",
"name": "CYD-Klipper",
"new_install_prompt_erase": false,
"builds": [
{