From 4308ea6cf15efe7c6ae7c56872dcee2fcc9ccba3 Mon Sep 17 00:00:00 2001 From: Lucas Lee Date: Sun, 23 Nov 2025 22:34:25 +0800 Subject: [PATCH] Revise build options in README.md Updated build instructions for debug and release configurations, removed clean build and specific targets sections. --- README.md | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 82d5f55..e4fafbe 100644 --- a/README.md +++ b/README.md @@ -271,33 +271,16 @@ make -j$(nproc) **Debug Build:** ```bash -cmake .. -DPICO_BOARD=pico2_w -DCMAKE_BUILD_TYPE=Debug -make -``` - -**Release Build (Optimized):** -```bash -cmake .. -DPICO_BOARD=pico2_w -DCMAKE_BUILD_TYPE=Release +cmake .. -DPICO_BOARD=pico2_w -DENABLE_DEBUG=ON make ``` -**Clean Build:** +**Release Build** (disables printing and tightens security features) ```bash -# Remove build directory and start fresh -cd .. -rm -rf build -mkdir build -cd build -cmake .. -DPICO_BOARD=pico2_w +cmake .. -DPICO_BOARD=pico2_w -DENABLE_DEBUG=OFF make ``` -**Build Specific Targets:** -```bash -make mastr # Build main firmware -make test_runner # Build unit tests -``` - --- ## Running the Host Application