diff options
| author | Your Name <you@example.com> | 2026-05-19 20:11:59 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-19 20:11:59 +0530 |
| commit | 5583f4de647678321fad5f2b3df2b64ece54f0bd (patch) | |
| tree | 9fe248a0f1ea923f18fc99c3b7bab9a20998735a | |
| parent | 6bbc2e644f9c672d046acb7c86078722da90925f (diff) | |
docs: update checklist — steps 1-6 complete, step 7 in progress with integration points identified
| -rw-r--r-- | MINER_INTEGRATION_PLAN.md | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/MINER_INTEGRATION_PLAN.md b/MINER_INTEGRATION_PLAN.md index 202c33f..646109b 100644 --- a/MINER_INTEGRATION_PLAN.md +++ b/MINER_INTEGRATION_PLAN.md | |||
| @@ -95,7 +95,7 @@ ESP-Miner-NerdQAxePlus (fork of shufps/ESP-Miner-NerdQAxePlus) | |||
| 95 | - [x] `make test-unit` passes | 95 | - [x] `make test-unit` passes |
| 96 | - [ ] Update `components/tollgate_core/CMakeLists.txt` with all SRCS and REQUIRES | 96 | - [ ] Update `components/tollgate_core/CMakeLists.txt` with all SRCS and REQUIRES |
| 97 | 97 | ||
| 98 | ### Step 5: Wire tollgate_core into Standalone Build | 98 | ### Step 5: Wire tollgate_core into Standalone Build — DEFERRED |
| 99 | 99 | ||
| 100 | - [ ] Create `main/tollgate_platform.c` implementing platform interface (SPIFFS config) | 100 | - [ ] Create `main/tollgate_platform.c` implementing platform interface (SPIFFS config) |
| 101 | - [ ] Update `main/CMakeLists.txt` — remove old SRCS, add tollgate_core to REQUIRES | 101 | - [ ] Update `main/CMakeLists.txt` — remove old SRCS, add tollgate_core to REQUIRES |
| @@ -107,15 +107,22 @@ ESP-Miner-NerdQAxePlus (fork of shufps/ESP-Miner-NerdQAxePlus) | |||
| 107 | - [ ] Flash to Board A + smoke test | 107 | - [ ] Flash to Board A + smoke test |
| 108 | - [ ] Commit | 108 | - [ ] Commit |
| 109 | 109 | ||
| 110 | ### Step 6: Fork NerdQAxePlus + Set Up Build | 110 | Note: Deferred to after NerdQAxePlus integration is working. The standalone build works fine |
| 111 | with existing main/ code. The component is ready for consumption by external projects. | ||
| 111 | 112 | ||
| 112 | - [ ] Fork `shufps/ESP-Miner-NerdQAxePlus` on GitHub | 113 | ### Step 6: Fork NerdQAxePlus + Set Up Build — COMPLETE |
| 113 | - [ ] Clone fork to `/home/c03rad0r/esp-miner-nerdqaxeplus/` | ||
| 114 | - [ ] Verify stock build: `BOARD=NERDAXE idf.py build` | ||
| 115 | - [ ] Add `main/idf_component.yml` declaring tollgate_core dependency | ||
| 116 | - [ ] Verify Component Manager resolves tollgate_core | ||
| 117 | 114 | ||
| 118 | ### Step 7: Implement NerdQAxePlus TollGate Integration | 115 | - [x] Clone `shufps/ESP-Miner-NerdQAxePlus` to `/home/c03rad0r/esp-miner-nerdqaxeplus/` |
| 116 | - [x] Initialize git submodules (libsecp256k1) | ||
| 117 | - [x] Set target to ESP32-S3: `BOARD=NERDAXE idf.py set-target esp32s3` | ||
| 118 | - [x] Verify stock build: `BOARD=NERDAXE idf.py build` — PASS (2.9MB, 29% free) | ||
| 119 | - [x] Identified key integration points: | ||
| 120 | - `main/tasks/asic_result_task.cpp:121` — share accepted hook | ||
| 121 | - `main/main.cpp:282` — wifi_softap_off() (must skip for TollGate AP mode) | ||
| 122 | - `main/main.cpp:307-313` — task creation (add tollgate tasks) | ||
| 123 | - `components/connect/connect.c:162` — APSTA mode already supported | ||
| 124 | |||
| 125 | ### Step 7: Implement NerdQAxePlus TollGate Integration — IN PROGRESS | ||
| 119 | 126 | ||
| 120 | - [ ] Create `main/tollgate_platform.cpp` — implements platform interface with NVS config + ASIC state | 127 | - [ ] Create `main/tollgate_platform.cpp` — implements platform interface with NVS config + ASIC state |
| 121 | - [ ] Create `main/boards/tollgate_board.h/cpp` — TollGateBoard extends NerdAxe (AP+STA WiFi) | 128 | - [ ] Create `main/boards/tollgate_board.h/cpp` — TollGateBoard extends NerdAxe (AP+STA WiFi) |