mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-17 20:08:12 +00:00
feat(python): support model R in trezorlib
This commit is contained in:
parent
6b5f578d02
commit
8e1b5a969c
1
python/.changelog.d/2230.added
Normal file
1
python/.changelog.d/2230.added
Normal file
@ -0,0 +1 @@
|
||||
Add support for model R
|
@ -33,7 +33,15 @@ TREZOR_T = TrezorModel(
|
||||
default_mapping=mapping.DEFAULT_MAPPING,
|
||||
)
|
||||
|
||||
TREZORS = {TREZOR_ONE, TREZOR_T}
|
||||
TREZOR_R = TrezorModel(
|
||||
name="R",
|
||||
minimum_version=(2, 1, 0),
|
||||
vendors=VENDORS,
|
||||
usb_ids=((0x1209, 0x53C1), (0x1209, 0x53C0)),
|
||||
default_mapping=mapping.DEFAULT_MAPPING,
|
||||
)
|
||||
|
||||
TREZORS = {TREZOR_ONE, TREZOR_T, TREZOR_R}
|
||||
|
||||
|
||||
def by_name(name: str) -> Optional[TrezorModel]:
|
||||
|
Loading…
Reference in New Issue
Block a user