src/nitrokey/trussed/_bootloader/lpc55_upload/mboot/protocol/base.py
raw| 1 | #!/usr/bin/env python |
| 2 | # -*- coding: utf-8 -*- |
| 3 | # |
| 4 | # Copyright 2023 NXP |
| 5 | # |
| 6 | # SPDX-License-Identifier: BSD-3-Clause |
| 7 | |
| 8 | """MBoot protocol base.""" |
| 9 | |
| 10 | from ...utils.interfaces.protocol.protocol_base import ProtocolBase |
| 11 | |
| 12 | |
| 13 | class MbootProtocolBase(ProtocolBase): |
| 14 | """MBoot protocol base class.""" |
| 15 | |
| 16 | allow_abort: bool = False |
| 17 | need_data_split: bool = True |