1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 20:19:23 +00:00

feat(core): support for BLE on discovery

This commit is contained in:
tychovrahe 2023-03-28 12:03:04 +02:00
parent f04d8da661
commit bab7c1fef1
2 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#define USE_I2C 1
#define USE_TOUCH 1
#define USE_BLE 1
#define USE_SDRAM 1
#define USE_RGB_COLORS 1

View File

@ -21,6 +21,13 @@ def configure(env, features_wanted, defines, sources):
sources += ['embed/trezorhal/touch/stmpe811.c', ]
features_available.append("touch")
if "ble" in features_wanted:
sources += ['embed/trezorhal/ble/comm.c', ]
sources += ['embed/trezorhal/ble/dfu.c', ]
sources += ['embed/trezorhal/ble/fwu.c', ]
sources += ['embed/trezorhal/ble/state.c', ]
features_available.append("ble")
if "dma2d" in features_wanted:
defines += ["USE_DMA2D", ]
sources += ['embed/lib/dma2d_emul.c', ]