Build Panda host binaries for comma hardware

This commit is contained in:
firestar5683
2026-10-31 16:12:56 -05:00
parent cb0c1507de
commit 15134f1ec2
5 changed files with 9 additions and 3 deletions
+3 -1
View File
@@ -38,7 +38,9 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/Dom'
run: python3 tools/ci/check_prebuilt_receipt.py --revision HEAD
- name: Check shipped device runtime dependencies
run: python3 -m unittest tools.laptop_device_build.tests.test_runtime_dependencies -v
run: |
python3 -m unittest tools.laptop_device_build.tests.test_runtime_dependencies -v
python3 -c 'from pathlib import Path; assert b"starting pandad (comma hardware)" in Path("openpilot/selfdrive/pandad/pandad").read_bytes(), "Shipped pandad must use the comma hardware build profile"'
- name: Validate tracked dependencies
run: python3 tools/vendor/check.py --revision HEAD
- run: ./tools/op.sh setup
Binary file not shown.
+5 -1
View File
@@ -6,7 +6,11 @@
#include "common/hardware/hw.h"
int main(int argc, char *argv[]) {
LOGW("starting pandad");
#if __COMMA_HARDWARE__
LOGW("starting pandad (comma hardware)");
#else
LOGW("starting pandad (PC)");
#endif
if (!Hardware::PC()) {
int err;
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
{"protected_inventory_sha256": "40521b42a0a738ed0346b641a0419b8e172f0760fd6889f3f7974318775933ca", "schema_version": 1}
{"protected_inventory_sha256": "fae579a36e85bd4de2f49ef61f39c89c00a3f8392fe1ede3b8c791611fa7133e", "schema_version": 1}