From 38a09b84a21398f95d8133a92a1e3423fc1f7b3a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 1 Nov 2024 07:25:43 +0900 Subject: [PATCH] Tools: don't build replay on low-end STM32 boards --- Tools/Replay/wscript | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Tools/Replay/wscript b/Tools/Replay/wscript index 0e3b9c28ba508d..a33682b0168005 100644 --- a/Tools/Replay/wscript +++ b/Tools/Replay/wscript @@ -7,9 +7,14 @@ def configure(cfg): cfg.env.HAL_GCS_ENABLED = 0 def build(bld): - if isinstance(bld.get_board(), boards.chibios) and bld.env['WITH_FATFS'] != '1': - # we need a filesystem for replay - return + print(bld.env) + if isinstance(bld.get_board(), boards.chibios): + if bld.env['WITH_FATFS'] != '1': + # we need a filesystem for replay + return + if not bld.env['APJ_BOARD_TYPE'].startswith('STM32H7'): + # need an H7 + return vehicle = bld.path.name