mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 20:38:10 +00:00
chore(core): use SD hal driver from submodule
[no changelog]
This commit is contained in:
parent
69ed626ca0
commit
576ed7e04e
File diff suppressed because it is too large
Load Diff
@ -70,10 +70,10 @@ def configure(
|
|||||||
|
|
||||||
if "sd_card" in features_wanted:
|
if "sd_card" in features_wanted:
|
||||||
sources += ["embed/trezorhal/stm32u5/sdcard.c"]
|
sources += ["embed/trezorhal/stm32u5/sdcard.c"]
|
||||||
sources += ["embed/trezorhal/stm32u5/stm32u5xx_hal_sd.c"]
|
|
||||||
sources += ["embed/extmod/modtrezorio/ff.c"]
|
sources += ["embed/extmod/modtrezorio/ff.c"]
|
||||||
sources += ["embed/extmod/modtrezorio/ffunicode.c"]
|
sources += ["embed/extmod/modtrezorio/ffunicode.c"]
|
||||||
features_available.append("sd_card")
|
features_available.append("sd_card")
|
||||||
|
sources += ["vendor/stm32u5xx_hal_driver/Src/stm32u5xx_hal_sd.c"]
|
||||||
sources += ["vendor/stm32u5xx_hal_driver/Src/stm32u5xx_ll_sdmmc.c"]
|
sources += ["vendor/stm32u5xx_hal_driver/Src/stm32u5xx_ll_sdmmc.c"]
|
||||||
|
|
||||||
if "sbu" in features_wanted:
|
if "sbu" in features_wanted:
|
||||||
|
@ -70,10 +70,10 @@ def configure(
|
|||||||
|
|
||||||
if "sd_card" in features_wanted:
|
if "sd_card" in features_wanted:
|
||||||
sources += ["embed/trezorhal/stm32u5/sdcard.c"]
|
sources += ["embed/trezorhal/stm32u5/sdcard.c"]
|
||||||
sources += ["embed/trezorhal/stm32u5/stm32u5xx_hal_sd.c"]
|
|
||||||
sources += ["embed/extmod/modtrezorio/ff.c"]
|
sources += ["embed/extmod/modtrezorio/ff.c"]
|
||||||
sources += ["embed/extmod/modtrezorio/ffunicode.c"]
|
sources += ["embed/extmod/modtrezorio/ffunicode.c"]
|
||||||
features_available.append("sd_card")
|
features_available.append("sd_card")
|
||||||
|
sources += ["vendor/stm32u5xx_hal_driver/Src/stm32u5xx_hal_sd.c"]
|
||||||
sources += ["vendor/stm32u5xx_hal_driver/Src/stm32u5xx_ll_sdmmc.c"]
|
sources += ["vendor/stm32u5xx_hal_driver/Src/stm32u5xx_ll_sdmmc.c"]
|
||||||
|
|
||||||
if "sbu" in features_wanted:
|
if "sbu" in features_wanted:
|
||||||
|
Loading…
Reference in New Issue
Block a user