From 0e56943aa4098c3c2053aaba4c955abc255906a8 Mon Sep 17 00:00:00 2001 From: "harshal.patil" Date: Thu, 27 Feb 2025 20:14:44 +0530 Subject: [PATCH] fix(pytest-embedded-qemu): Allowed QEMU RISCV flash image sizes --- pytest-embedded-qemu/pytest_embedded_qemu/app.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pytest-embedded-qemu/pytest_embedded_qemu/app.py b/pytest-embedded-qemu/pytest_embedded_qemu/app.py index f8933ece..b9998030 100644 --- a/pytest-embedded-qemu/pytest_embedded_qemu/app.py +++ b/pytest-embedded-qemu/pytest_embedded_qemu/app.py @@ -25,16 +25,10 @@ class IdfFlashImageMaker: ] RISCV_FLASH_BIN_SIZES: t.ClassVar[t.List[t.Tuple[int, str]]] = [ - (256 * 1024, '256KB'), - (512 * 1024, '512KB'), - (1 * 1024 * 1024, '1MB'), (2 * 1024 * 1024, '2MB'), (4 * 1024 * 1024, '4MB'), (8 * 1024 * 1024, '8MB'), (16 * 1024 * 1024, '16MB'), - (32 * 1024 * 1024, '32MB'), - (64 * 1024 * 1024, '64MB'), - (128 * 1024 * 1024, '128MB'), ] def __init__(self, app: 'QemuApp', image_path: str, *, qemu_version: Version = Version('8.0.0')):