mirror of
https://github.com/ruvnet/RuView
synced 2026-06-24 12:43:18 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 339b626fb9 |
@@ -275,7 +275,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
- name: Update deployment status
|
- name: Update deployment status
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v9
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const deployEnv = '${{ needs.pre-deployment.outputs.deploy_env }}';
|
const deployEnv = '${{ needs.pre-deployment.outputs.deploy_env }}';
|
||||||
@@ -326,7 +326,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Create deployment issue on failure
|
- name: Create deployment issue on failure
|
||||||
if: needs.deploy-production.result == 'failure'
|
if: needs.deploy-production.result == 'failure'
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v9
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
github.rest.issues.create({
|
github.rest.issues.create({
|
||||||
|
|||||||
@@ -478,7 +478,7 @@ jobs:
|
|||||||
- name: Create security issue on critical findings
|
- name: Create security issue on critical findings
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
if: needs.sast.result == 'failure' || needs.dependency-scan.result == 'failure'
|
if: needs.sast.result == 'failure' || needs.dependency-scan.result == 'failure'
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v9
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
github.rest.issues.create({
|
github.rest.issues.create({
|
||||||
|
|||||||
@@ -25,23 +25,6 @@ This firmware captures WiFi Channel State Information (CSI) from an ESP32-S3 and
|
|||||||
|
|
||||||
For users who want to get running fast. Detailed explanations follow in later sections.
|
For users who want to get running fast. Detailed explanations follow in later sections.
|
||||||
|
|
||||||
### 0. Pre-built binaries (v0.6.5 — skip the build step)
|
|
||||||
|
|
||||||
Pre-built binaries are in `firmware/esp32-csi-node/release_bins/` (version: see `release_bins/version.txt`).
|
|
||||||
Flash them directly:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
python -m esptool --chip esp32s3 --port COM7 --baud 460800 \
|
|
||||||
write_flash --flash_mode dio --flash_size 8MB \
|
|
||||||
0x0 firmware/esp32-csi-node/release_bins/bootloader.bin \
|
|
||||||
0x8000 firmware/esp32-csi-node/release_bins/partition-table.bin \
|
|
||||||
0xf000 firmware/esp32-csi-node/release_bins/ota_data_initial.bin \
|
|
||||||
0x20000 firmware/esp32-csi-node/release_bins/esp32-csi-node.bin
|
|
||||||
```
|
|
||||||
|
|
||||||
For 4 MB boards use `release_bins/esp32-csi-node-4mb.bin` and `release_bins/partition-table-4mb.bin`
|
|
||||||
with `--flash_size 4MB`.
|
|
||||||
|
|
||||||
### 1. Build (Docker -- the only reliable method)
|
### 1. Build (Docker -- the only reliable method)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -311,9 +294,8 @@ python -m serial.tools.miniterm COM7 115200
|
|||||||
Expected output after boot:
|
Expected output after boot:
|
||||||
|
|
||||||
```
|
```
|
||||||
I (396) csi_collector: Early capture node_id=1 (before WiFi init, #232/#390)
|
I (321) main: ESP32-S3 CSI Node (ADR-018) -- Node ID: 1
|
||||||
I (406) main: ESP32-S3 CSI Node (ADR-018) -- v0.6.5 -- Node ID: 1
|
I (345) main: WiFi STA initialized, connecting to SSID: wifi-densepose
|
||||||
I (566) main: WiFi STA initialized, connecting to SSID: wifi-densepose
|
|
||||||
I (1023) main: Connected to WiFi
|
I (1023) main: Connected to WiFi
|
||||||
I (1025) main: CSI streaming active -> 192.168.1.100:5005 (edge_tier=2, OTA=ready, WASM=ready)
|
I (1025) main: CSI streaming active -> 192.168.1.100:5005 (edge_tier=2, OTA=ready, WASM=ready)
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -294,7 +294,7 @@ def flash_nvs(port, baud, nvs_bin, chip):
|
|||||||
"--chip", chip,
|
"--chip", chip,
|
||||||
"--port", port,
|
"--port", port,
|
||||||
"--baud", str(baud),
|
"--baud", str(baud),
|
||||||
"write_flash",
|
"write-flash",
|
||||||
hex(NVS_PARTITION_OFFSET), bin_path,
|
hex(NVS_PARTITION_OFFSET), bin_path,
|
||||||
]
|
]
|
||||||
print(f"Flashing NVS partition ({len(nvs_bin)} bytes) to {port} (chip={chip})...")
|
print(f"Flashing NVS partition ({len(nvs_bin)} bytes) to {port} (chip={chip})...")
|
||||||
@@ -499,7 +499,7 @@ def main():
|
|||||||
f.write(nvs_bin)
|
f.write(nvs_bin)
|
||||||
print(f"NVS binary saved to {out} ({len(nvs_bin)} bytes)")
|
print(f"NVS binary saved to {out} ({len(nvs_bin)} bytes)")
|
||||||
print(f"Flash manually: python -m esptool --chip {args.chip} --port {args.port} "
|
print(f"Flash manually: python -m esptool --chip {args.chip} --port {args.port} "
|
||||||
f"write_flash 0x9000 {out}")
|
f"write-flash 0x9000 {out}")
|
||||||
# Persist merged state even on dry-run so a subsequent real flash from
|
# Persist merged state even on dry-run so a subsequent real flash from
|
||||||
# this machine sees the same staged config.
|
# this machine sees the same staged config.
|
||||||
path = save_state(args.port, args.state_dir, merged)
|
path = save_state(args.port, args.state_dir, merged)
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +0,0 @@
|
|||||||
0.6.5
|
|
||||||
git-sha: d72e06fc8
|
|
||||||
built: 2026-05-20
|
|
||||||
Reference in New Issue
Block a user