1
0
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:
tychovrahe 2024-03-26 11:16:11 +01:00 committed by TychoVrahe
parent 69ed626ca0
commit 576ed7e04e
3 changed files with 2 additions and 4085 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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:

View File

@ -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: