diff --git a/core/site_scons/boards/trezor_1.py b/core/site_scons/boards/trezor_1.py index 1e71f3ca5f..e48ca93b8f 100644 --- a/core/site_scons/boards/trezor_1.py +++ b/core/site_scons/boards/trezor_1.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from . import get_hw_model_as_number diff --git a/core/site_scons/boards/trezor_r_v3.py b/core/site_scons/boards/trezor_r_v3.py index 00337c4476..57495effe9 100644 --- a/core/site_scons/boards/trezor_r_v3.py +++ b/core/site_scons/boards/trezor_r_v3.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from . import get_hw_model_as_number diff --git a/core/site_scons/boards/trezor_r_v4.py b/core/site_scons/boards/trezor_r_v4.py index f20cf2195e..8d4151f1ee 100644 --- a/core/site_scons/boards/trezor_r_v4.py +++ b/core/site_scons/boards/trezor_r_v4.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from . import get_hw_model_as_number diff --git a/core/site_scons/boards/trezor_r_v6.py b/core/site_scons/boards/trezor_r_v6.py index 7531ac76b5..b52129ba83 100644 --- a/core/site_scons/boards/trezor_r_v6.py +++ b/core/site_scons/boards/trezor_r_v6.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from . import get_hw_model_as_number diff --git a/core/site_scons/boards/trezor_t.py b/core/site_scons/boards/trezor_t.py index 41d8ebdf07..0ae2b55985 100644 --- a/core/site_scons/boards/trezor_t.py +++ b/core/site_scons/boards/trezor_t.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from . import get_hw_model_as_number @@ -38,9 +40,11 @@ def configure( if "dma2d" in features_wanted: defines += ["USE_DMA2D"] sources += ["embed/trezorhal/dma2d.c"] - sources += ["vendor/micropython/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma2d.c"] + sources += [ + "vendor/micropython/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma2d.c" + ] features_available.append("dma2d") - env.get('ENV')['TREZOR_BOARD'] = board + env.get("ENV")["TREZOR_BOARD"] = board return features_available