From 69f4d4754f2ea5cf5e922709aaa499c0b9bbe743 Mon Sep 17 00:00:00 2001 From: insulee Date: Tue, 23 Jun 2026 16:10:40 +0900 Subject: [PATCH] =?UTF-8?q?Initial=20commit:=20=ED=8E=8C=EC=9B=A8=EC=96=B4?= =?UTF-8?q?=20=ED=94=8C=EB=9E=98=EC=8B=9C=20=EB=8F=84=EA=B5=AC=20(WPF)=20+?= =?UTF-8?q?=20=EA=B8=B0=EC=A1=B4=20PowerShell=20=ED=82=A4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - DB720Flasher: WPF .NET 9 GUI 플래셔 - 멀티모델 프로파일(flash.json + 빌트인 DB720/DB402S/DB400S/DB400Q/DB300eM) - 포트 자동감지(JTAG 우선, 유령 포트 자동 회피), esptool v5 동봉 - flash_app.ps1 / flash_full.ps1 / list_ports.ps1: 기존 PowerShell 키트 - profiles/: 모델별 flash.json 템플릿 - firmware/flash.json: DB720 모델 설정 (서명 실펌웨어 .bin 은 repo 제외) Co-Authored-By: Claude Opus 4.8 --- .gitattributes | 7 + .gitignore | 15 + DB720Flasher/App.xaml | 12 + DB720Flasher/App.xaml.cs | 7 + DB720Flasher/DB720Flasher.csproj | 26 ++ DB720Flasher/MainWindow.xaml | 179 +++++++++ DB720Flasher/MainWindow.xaml.cs | 476 +++++++++++++++++++++++ DB720Flasher/Models.cs | 40 ++ DB720Flasher/Profile.cs | 51 +++ DB720Flasher/Services/EsptoolRunner.cs | 261 +++++++++++++ DB720Flasher/Services/FirmwareCatalog.cs | 69 ++++ DB720Flasher/Services/PortScanner.cs | 82 ++++ DB720Flasher/Services/ProfileStore.cs | 103 +++++ DB720Flasher/Themes/Controls.xaml | 370 ++++++++++++++++++ DB720Flasher/app.manifest | 19 + DB720Flasher/tools/esptool/LICENSE | 339 ++++++++++++++++ DB720Flasher/tools/esptool/esptool.exe | Bin 0 -> 13269464 bytes README.md | 225 +++++++++++ firmware/flash.json | 27 ++ flash_app.ps1 | 83 ++++ flash_full.ps1 | 76 ++++ list_ports.ps1 | 10 + profiles/DB400S.flash.json | 20 + profiles/DB402S.flash.json | 20 + profiles/DB720.flash.json | 28 ++ 25 files changed, 2545 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 DB720Flasher/App.xaml create mode 100644 DB720Flasher/App.xaml.cs create mode 100644 DB720Flasher/DB720Flasher.csproj create mode 100644 DB720Flasher/MainWindow.xaml create mode 100644 DB720Flasher/MainWindow.xaml.cs create mode 100644 DB720Flasher/Models.cs create mode 100644 DB720Flasher/Profile.cs create mode 100644 DB720Flasher/Services/EsptoolRunner.cs create mode 100644 DB720Flasher/Services/FirmwareCatalog.cs create mode 100644 DB720Flasher/Services/PortScanner.cs create mode 100644 DB720Flasher/Services/ProfileStore.cs create mode 100644 DB720Flasher/Themes/Controls.xaml create mode 100644 DB720Flasher/app.manifest create mode 100644 DB720Flasher/tools/esptool/LICENSE create mode 100644 DB720Flasher/tools/esptool/esptool.exe create mode 100644 README.md create mode 100644 firmware/flash.json create mode 100644 flash_app.ps1 create mode 100644 flash_full.ps1 create mode 100644 list_ports.ps1 create mode 100644 profiles/DB400S.flash.json create mode 100644 profiles/DB402S.flash.json create mode 100644 profiles/DB720.flash.json diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..7103229 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,7 @@ +# 텍스트는 자동 정규화(repo엔 LF, 체크아웃 시 OS에 맞게) +* text=auto + +# 바이너리 — 줄바꿈 변환 금지 +*.exe binary +*.bin binary +*.png binary diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1b4972f --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +# ===== .NET 빌드 출력 ===== +[Bb]in/ +[Oo]bj/ +.vs/ +*.user + +# ===== 배포본 (repo 말고 Gitea Releases로) ===== +/dist/ + +# ===== 서명 실펌웨어 — repo에 넣지 않음(보안·분리). flash.json 은 포함 ===== +firmware/*.bin + +# ===== 임시 캡처/찌꺼기 ===== +*_shot.png +_distcheck.png diff --git a/DB720Flasher/App.xaml b/DB720Flasher/App.xaml new file mode 100644 index 0000000..3d4693c --- /dev/null +++ b/DB720Flasher/App.xaml @@ -0,0 +1,12 @@ + + + + + + + + + diff --git a/DB720Flasher/App.xaml.cs b/DB720Flasher/App.xaml.cs new file mode 100644 index 0000000..d71276c --- /dev/null +++ b/DB720Flasher/App.xaml.cs @@ -0,0 +1,7 @@ +using System.Windows; + +namespace DB720Flasher; + +public partial class App : Application +{ +} diff --git a/DB720Flasher/DB720Flasher.csproj b/DB720Flasher/DB720Flasher.csproj new file mode 100644 index 0000000..39e4f8b --- /dev/null +++ b/DB720Flasher/DB720Flasher.csproj @@ -0,0 +1,26 @@ + + + + WinExe + net9.0-windows + enable + enable + true + DB720Flasher + DB720Flasher + 1.0.0 + app.manifest + en + + + + + + + + + + + + + diff --git a/DB720Flasher/MainWindow.xaml b/DB720Flasher/MainWindow.xaml new file mode 100644 index 0000000..275dc63 --- /dev/null +++ b/DB720Flasher/MainWindow.xaml @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +