Skip to content

Commit 0f7ab7e

Browse files
committed
Merge branch 'main' of https://github.com/C5Lab/projectZero
2 parents 990e336 + 8bf79d9 commit 0f7ab7e

18 files changed

Lines changed: 3428 additions & 575 deletions

.github/scripts/container_build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
IMAGE="${IDF_DOCKER_IMAGE:-espressif/idf:release-v6.0}"
4+
IMAGE="${IDF_DOCKER_IMAGE:-espressif/idf:v6.0-beta1}"
55
USE_DOCKER="${USE_DOCKER:-1}"
66

77
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
@@ -15,7 +15,7 @@ usage() {
1515
Usage: container_build.sh [--no-docker]
1616
1717
Builds ESP32C5 firmware using esp-idf release/v6.0.
18-
Defaults to running inside Docker (espressif/idf:release-v6.0).
18+
Defaults to running inside Docker (espressif/idf:v6.0-beta1).
1919
2020
Options:
2121
--no-docker Run idf.py directly (for GitHub Actions container job or host with esp-idf installed)

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
ESP32C5/.vscode/settings.json
22
ESP32C5/.clangd
3-
.vscode/settings.json
3+
.vscode/
4+
ESP32C5/.vscode/settings.json

ESP32C5/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ Project Zero is an ESP32-C5 firmware that bundles Wi-Fi assessment tooling, cons
55

66
The firmware boots into an `esp_console` REPL, so most capabilities are exposed as CLI commands (`start_blackout`, `start_sniffer_dog`, `start_portal`, and more). Refer to the serial console banner for the full list after flashing.
77

8+
## GPS Modules
9+
- Default profile targets ATGM336H at 9600 bps.
10+
- M5Stack GPS v1.1 (115200 bps) is supported via `gps_set m5`; switch back with `gps_set atgm`. No reboot required.
11+
- Use `start_gps_raw [baud]` to stream NMEA sentences to the console for quick verification.
12+
813
## Boot Button Usage
914
The Boot button is wired to GPIO28 and is configured for two different actions while the device is running the firmware:
1015

ESP32C5/RGB_SK6812.ino

2.89 KB
Binary file not shown.
304 Bytes
Binary file not shown.
12 KB
Binary file not shown.

ESP32C5/main/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@ idf_component_register(SRCS "main.c" "attack_handshake.c"
33
REQUIRES esp_timer esp_wifi esp_event esp_psram nvs_flash
44
console driver fatfs mbedtls esp_http_server
55
lwip sdmmc espressif__led_strip bt
6-
frame_analyzer hccapx_serializer pcap_serializer sniffer)
6+
frame_analyzer hccapx_serializer pcap_serializer sniffer
7+
esp_driver_uart esp_driver_gpio esp_driver_spi esp_driver_sdspi)
8+
9+
# Suppress strict null-pointer warnings from GCC 15 in IDF v6.0
10+
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-error=nonnull)

0 commit comments

Comments
 (0)