mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-19 03:40:59 +00:00
chore(ble): debug overlay for trezor-ble
[no changelog]
This commit is contained in:
parent
da1646c92c
commit
acd841c9fa
@ -64,6 +64,11 @@ cd trezor
|
||||
west build ./trezor-ble -b t3w1_revA_nrf52832 --sysbuild
|
||||
```
|
||||
|
||||
Debug builds can be built using the debug overlay configuration:
|
||||
```sh
|
||||
west build ./trezor-ble -b t3w1_revA_nrf52832 --sysbuild -- -DOVERLAY_CONFIG=debug.conf
|
||||
```
|
||||
|
||||
|
||||
### Flashing the Application
|
||||
Flash the compiled application onto the board:
|
||||
|
@ -9,4 +9,9 @@ CONFIG_DEBUG_OPTIMIZATIONS=y
|
||||
|
||||
# logging
|
||||
CONFIG_LOG=y
|
||||
CONFIG_APP_LOG_LEVEL_DBG=y
|
||||
CONFIG_RTT_CONSOLE=y
|
||||
CONFIG_USE_SEGGER_RTT=y
|
||||
CONFIG_LOG_BACKEND_RTT=y
|
||||
|
||||
|
||||
CONFIG_ASSERT=y
|
||||
|
@ -35,12 +35,11 @@ CONFIG_POWEROFF=y
|
||||
|
||||
CONFIG_BT=y
|
||||
CONFIG_BT_PERIPHERAL=y
|
||||
CONFIG_BT_DEVICE_NAME="TrezorZephyr"
|
||||
CONFIG_BT_DEVICE_NAME="Trezor T3W1"
|
||||
CONFIG_BT_DEVICE_APPEARANCE=833
|
||||
CONFIG_BT_MAX_CONN=1
|
||||
CONFIG_BT_MAX_PAIRED=8
|
||||
CONFIG_BT_SMP=y
|
||||
# CONFIG_BT_SMP_APP_PAIRING_ACCEPT=y
|
||||
CONFIG_BT_SMP_ENFORCE_MITM=y
|
||||
CONFIG_BT_SMP_SC_ONLY=y
|
||||
CONFIG_BT_FILTER_ACCEPT_LIST=y
|
||||
@ -49,14 +48,12 @@ CONFIG_BT_PRIVACY=y
|
||||
CONFIG_BT_TINYCRYPT_ECC=y
|
||||
CONFIG_BT_LL_SW_SPLIT=y
|
||||
|
||||
#CONFIG_BT_DEBUG_SMP=y
|
||||
|
||||
#PHY update needed for updating PHY request
|
||||
CONFIG_BT_PHY_UPDATE=y
|
||||
CONFIG_BT_USER_PHY_UPDATE=y
|
||||
|
||||
# HCI ACL buffers size
|
||||
# BT_L2CAP_RX_MTU = CONFIG_BT_BUF_ACL_RX_SIZE - BT_L2CAP_HDR_SIZE
|
||||
CONFIG_BT_BUF_ACL_RX_SIZE=251
|
||||
|
||||
# L2CAP SDU/PDU TX MTU
|
||||
@ -85,16 +82,12 @@ CONFIG_POLL=y
|
||||
|
||||
|
||||
# Config logger
|
||||
CONFIG_LOG=y
|
||||
CONFIG_RTT_CONSOLE=y
|
||||
CONFIG_LOG=n
|
||||
CONFIG_UART_CONSOLE=n
|
||||
CONFIG_USE_SEGGER_RTT=y
|
||||
CONFIG_LOG_BACKEND_RTT=y
|
||||
CONFIG_LOG_BACKEND_UART=n
|
||||
CONFIG_LOG_PRINTK=n
|
||||
|
||||
CONFIG_NANOPB=n
|
||||
CONFIG_ASSERT=y
|
||||
|
||||
|
||||
# bootloader
|
||||
|
Loading…
Reference in New Issue
Block a user