mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-22 21:30:56 +00:00
chore(core): remove flash otp interface from python
[no changelog]
This commit is contained in:
parent
e9c025751c
commit
0b8d42358e
@ -1,36 +1,6 @@
|
||||
from typing import *
|
||||
|
||||
|
||||
# extmod/modtrezorio/modtrezorio-flash.h
|
||||
class FlashOTP:
|
||||
"""
|
||||
"""
|
||||
|
||||
def __init__(self) -> None:
|
||||
"""
|
||||
"""
|
||||
|
||||
def write(self, block: int, offset: int, data: bytes) -> None:
|
||||
"""
|
||||
Writes data to OTP flash
|
||||
"""
|
||||
|
||||
def read(self, block: int, offset: int, data: bytearray) -> None:
|
||||
"""
|
||||
Reads data from OTP flash
|
||||
"""
|
||||
|
||||
def lock(self, block: int) -> None:
|
||||
"""
|
||||
Lock OTP flash block
|
||||
"""
|
||||
|
||||
def is_locked(self, block: int) -> bool:
|
||||
"""
|
||||
Is OTP flash block locked?
|
||||
"""
|
||||
|
||||
|
||||
# extmod/modtrezorio/modtrezorio-hid.h
|
||||
class HID:
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user