From 4285d25ca0d1df40e1b5005ba796bc622b7a12b9 Mon Sep 17 00:00:00 2001
From: Serge Bazanski <q3k@q3k.org>
Date: Fri, 26 May 2023 21:05:15 +0200
Subject: [PATCH] doom: build instructions

---
 README.md           | 7 +++++++
 main/CMakeLists.txt | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 76cb8cc2fc..939cdf4fc7 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,10 @@
+## HOWTODOOM
+
+Should work on p3/p4/p5.
+
+ 1. Acquire doom1.wad, place in checkout
+ 2. `idf.py -g $GEN flash` (where $GEN is p3, p4 or p5)
+
 ## Current functionality
 
 Micropython repl hooked up, hw functionality partly broken>
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 17515b8bb0..927d98bbfe 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -42,5 +42,5 @@ idf_component_get_property(main_args esptool_py FLASH_ARGS)
 idf_component_get_property(sub_args esptool_py FLASH_SUB_ARGS)
 esptool_py_flash_target(wad-flash "${main_args}" "${sub_args}" ALWAYS_PLAINTEXT)
 esptool_py_flash_to_partition(wad-flash "wad" "${image_path}")
-#esptool_py_flash_to_partition(flash "wad" "${image_path}")
+esptool_py_flash_to_partition(flash "wad" "${image_path}")
 
-- 
GitLab