Replay: account for littlefs when building

This commit is contained in:
Andy Piper 2023-06-12 11:30:57 -04:00 committed by Andrew Tridgell
parent 35b6dd9814
commit 44ca13c5f3

View File

@ -7,7 +7,7 @@ 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':
if isinstance(bld.get_board(), boards.chibios) and bld.env['WITH_FATFS'] != '1' and bld.env['WITH_LITTLEFS'] != 1:
# we need a filesystem for replay
return