From dcbe0432fa447ced2871bb62768136f9a9ae8375 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Tue, 25 Jul 2023 16:22:24 -0700 Subject: [PATCH] boardd: add flag to skip fw version check (#29142) old-commit-hash: 48e10d1f9481fe8aa71c2e0676b168bcd5b89dbf --- selfdrive/boardd/boardd.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/boardd/boardd.cc b/selfdrive/boardd/boardd.cc index e6afe9f8fb..8f5375e6e1 100644 --- a/selfdrive/boardd/boardd.cc +++ b/selfdrive/boardd/boardd.cc @@ -199,7 +199,7 @@ Panda *connect(std::string serial="", uint32_t index=0) { } //panda->enable_deepsleep(); - if (!panda->up_to_date()) { + if (!panda->up_to_date() && !getenv("BOARDD_SKIP_FW_CHECK")) { throw std::runtime_error("Panda firmware out of date. Run pandad.py to update."); } @@ -655,4 +655,4 @@ void boardd_main_thread(std::vector serials) { for (Panda *panda : pandas) { delete panda; } -} \ No newline at end of file +}