mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-30 10:28:14 +00:00
feat(core): support for BLE on discovery
This commit is contained in:
parent
b1262c4bba
commit
5c32b05c1d
@ -2,6 +2,7 @@
|
||||
#define _STM32F429I_DISC1_H
|
||||
|
||||
#define USE_TOUCH 1
|
||||
#define USE_BLE 1
|
||||
#define USE_SDRAM 1
|
||||
|
||||
#include "displays/ltdc.h"
|
||||
@ -19,4 +20,5 @@
|
||||
#define I2C_INSTANCE_FORCE_RESET __HAL_RCC_I2C3_FORCE_RESET
|
||||
#define I2C_INSTANCE_RELEASE_RESET __HAL_RCC_I2C3_RELEASE_RESET
|
||||
|
||||
|
||||
#endif //_STM32F429I_DISC1_H
|
||||
|
@ -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")
|
||||
|
||||
env.get('ENV')['TREZOR_BOARD'] = board
|
||||
|
||||
return features_available
|
||||
|
Loading…
Reference in New Issue
Block a user