diff --git a/core/embed/sec/optiga/stm32f4/optiga_hal.c b/core/embed/sec/optiga/stm32/optiga_hal.c similarity index 100% rename from core/embed/sec/optiga/stm32f4/optiga_hal.c rename to core/embed/sec/optiga/stm32/optiga_hal.c diff --git a/core/embed/sec/optiga/stm32u5/optiga_hal.c b/core/embed/sec/optiga/stm32u5/optiga_hal.c deleted file mode 120000 index bd07df7044..0000000000 --- a/core/embed/sec/optiga/stm32u5/optiga_hal.c +++ /dev/null @@ -1 +0,0 @@ -../stm32f4/optiga_hal.c \ No newline at end of file diff --git a/core/site_scons/models/T2B1/trezor_r_v10.py b/core/site_scons/models/T2B1/trezor_r_v10.py index eb09abe635..e5fbe59955 100644 --- a/core/site_scons/models/T2B1/trezor_r_v10.py +++ b/core/site_scons/models/T2B1/trezor_r_v10.py @@ -78,7 +78,7 @@ def configure( if "optiga" in features_wanted: sources += ["embed/io/i2c_bus/stm32f4/i2c_bus.c"] - sources += ["embed/sec/optiga/stm32f4/optiga_hal.c"] + sources += ["embed/sec/optiga/stm32/optiga_hal.c"] sources += ["embed/sec/optiga/optiga.c"] sources += ["embed/sec/optiga/optiga_commands.c"] sources += ["embed/sec/optiga/optiga_transport.c"] diff --git a/core/site_scons/models/T3B1/trezor_t3b1_revB.py b/core/site_scons/models/T3B1/trezor_t3b1_revB.py index 2af3d9fbab..67262573e0 100644 --- a/core/site_scons/models/T3B1/trezor_t3b1_revB.py +++ b/core/site_scons/models/T3B1/trezor_t3b1_revB.py @@ -70,7 +70,7 @@ def configure( if "optiga" in features_wanted: sources += ["embed/io/i2c_bus/stm32u5/i2c_bus.c"] - sources += ["embed/sec/optiga/stm32u5/optiga_hal.c"] + sources += ["embed/sec/optiga/stm32/optiga_hal.c"] sources += ["embed/sec/optiga/optiga.c"] sources += ["embed/sec/optiga/optiga_commands.c"] sources += ["embed/sec/optiga/optiga_transport.c"] diff --git a/core/site_scons/models/T3T1/trezor_t3t1_revE.py b/core/site_scons/models/T3T1/trezor_t3t1_revE.py index e90fe63e00..27566d52a6 100644 --- a/core/site_scons/models/T3T1/trezor_t3t1_revE.py +++ b/core/site_scons/models/T3T1/trezor_t3t1_revE.py @@ -110,7 +110,7 @@ def configure( features_available.append("dma2d") if "optiga" in features_wanted: - sources += ["embed/sec/optiga/stm32u5/optiga_hal.c"] + sources += ["embed/sec/optiga/stm32/optiga_hal.c"] sources += ["embed/sec/optiga/optiga.c"] sources += ["embed/sec/optiga/optiga_commands.c"] sources += ["embed/sec/optiga/optiga_transport.c"] diff --git a/core/site_scons/models/T3W1/trezor_t3w1_revA.py b/core/site_scons/models/T3W1/trezor_t3w1_revA.py index de0b92986a..6b9716dfff 100644 --- a/core/site_scons/models/T3W1/trezor_t3w1_revA.py +++ b/core/site_scons/models/T3W1/trezor_t3w1_revA.py @@ -84,7 +84,7 @@ def configure( ] if "optiga" in features_wanted: - sources += ["embed/sec/optiga/stm32u5/optiga_hal.c"] + sources += ["embed/sec/optiga/stm32/optiga_hal.c"] sources += ["embed/sec/optiga/optiga.c"] sources += ["embed/sec/optiga/optiga_commands.c"] sources += ["embed/sec/optiga/optiga_transport.c"]