diff --git a/builder/family/beken-72xx.py b/builder/family/beken-72xx.py index d2657a5..167b438 100644 --- a/builder/family/beken-72xx.py +++ b/builder/family/beken-72xx.py @@ -288,6 +288,7 @@ queue.AddLibrary( base_dir=ROOT_DIR, srcs=[ "+", + "-", ], includes=[ "+", diff --git a/builder/utils/flash.py b/builder/utils/flash.py index 59ebd52..69b8141 100644 --- a/builder/utils/flash.py +++ b/builder/utils/flash.py @@ -64,7 +64,7 @@ def env_add_flash_layout(env: Environment, board: PlatformBoardConfig): length = int(length, 16) defines[f"FLASH_{name}_OFFSET"] = f"0x{offset:06X}" defines[f"FLASH_{name}_LENGTH"] = f"0x{length:06X}" - fal_items += f"FAL_PART_TABLE_ITEM({name.lower()},{name})" + fal_items += f"FAL_PART_TABLE_ITEM({name.lower()}, {name})" flash_size = max(flash_size, offset + length) defines["FLASH_LENGTH"] = f"0x{flash_size:06X}" # for "root" partition diff --git a/platform.py b/platform.py index df355ce..854493a 100644 --- a/platform.py +++ b/platform.py @@ -26,7 +26,7 @@ def check_ltchiptool(install: bool): # update ltchiptool to a supported version print("Installing/updating ltchiptool") system( - f"{sys.executable} -m pip install -U --force-reinstall " + f'"{sys.executable}" -m pip install -U --force-reinstall ' f'"ltchiptool >= {LTCHIPTOOL_VERSION[1:]}a0, < 5.0"' )