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:
parent
f04d8da661
commit
bab7c1fef1
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#define USE_I2C 1
|
#define USE_I2C 1
|
||||||
#define USE_TOUCH 1
|
#define USE_TOUCH 1
|
||||||
|
#define USE_BLE 1
|
||||||
#define USE_SDRAM 1
|
#define USE_SDRAM 1
|
||||||
#define USE_RGB_COLORS 1
|
#define USE_RGB_COLORS 1
|
||||||
|
|
||||||
|
@ -21,6 +21,13 @@ def configure(env, features_wanted, defines, sources):
|
|||||||
sources += ['embed/trezorhal/touch/stmpe811.c', ]
|
sources += ['embed/trezorhal/touch/stmpe811.c', ]
|
||||||
features_available.append("touch")
|
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:
|
if "dma2d" in features_wanted:
|
||||||
defines += ["USE_DMA2D", ]
|
defines += ["USE_DMA2D", ]
|
||||||
sources += ['embed/lib/dma2d_emul.c', ]
|
sources += ['embed/lib/dma2d_emul.c', ]
|
||||||
|
Loading…
Reference in New Issue
Block a user