mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 06:18:07 +00:00
fix(core): support python3.8 for SConscript helpers
[no changelog]
This commit is contained in:
parent
75feaf12a1
commit
f481590bb7
@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from . import get_hw_model_as_number
|
||||
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from . import get_hw_model_as_number
|
||||
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from . import get_hw_model_as_number
|
||||
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from . import get_hw_model_as_number
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user