mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-05-11 03:18:45 +00:00
feat(core): Add backup ram driver to T3W1 rev A and B [no changelog]
This commit is contained in:
parent
bece935d67
commit
dba76ea3e8
@ -77,6 +77,10 @@ def configure(
|
|||||||
paths += ["embed/io/i2c_bus/inc"]
|
paths += ["embed/io/i2c_bus/inc"]
|
||||||
defines += [("USE_I2C", "1")]
|
defines += [("USE_I2C", "1")]
|
||||||
|
|
||||||
|
sources += ["embed/sys/backup_ram/backup_ram.c"]
|
||||||
|
paths += ["embed/sys/backup_ram/inc"]
|
||||||
|
defines += [("USE_BACKUP_RAM", "1")]
|
||||||
|
|
||||||
if "haptic" in features_wanted:
|
if "haptic" in features_wanted:
|
||||||
sources += [
|
sources += [
|
||||||
"embed/io/haptic/drv2625/drv2625.c",
|
"embed/io/haptic/drv2625/drv2625.c",
|
||||||
|
@ -77,6 +77,10 @@ def configure(
|
|||||||
paths += ["embed/io/i2c_bus/inc"]
|
paths += ["embed/io/i2c_bus/inc"]
|
||||||
defines += [("USE_I2C", "1")]
|
defines += [("USE_I2C", "1")]
|
||||||
|
|
||||||
|
sources += ["embed/sys/backup_ram/backup_ram.c"]
|
||||||
|
paths += ["embed/sys/backup_ram/inc"]
|
||||||
|
defines += [("USE_BACKUP_RAM", "1")]
|
||||||
|
|
||||||
if "haptic" in features_wanted:
|
if "haptic" in features_wanted:
|
||||||
sources += [
|
sources += [
|
||||||
"embed/io/haptic/drv2625/drv2625.c",
|
"embed/io/haptic/drv2625/drv2625.c",
|
||||||
|
Loading…
Reference in New Issue
Block a user