Skip to content

Commit

Permalink
fixup! feat(ble): integrate MCU boot into trezor-ble app, add stay in…
Browse files Browse the repository at this point in the history
… bootloader pin
  • Loading branch information
TychoVrahe committed Dec 20, 2024
1 parent 2b030ae commit f82b926
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 34 deletions.
2 changes: 1 addition & 1 deletion west/trezor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ west update
Build the application for the t3w1_revA_nrf52832 board:
```sh
cd trezor
west build ./trezor-ble -b t3w1_revA_nrf52832
west build ./trezor-ble -b t3w1_revA_nrf52832 --sysbuild
```


Expand Down
25 changes: 0 additions & 25 deletions west/trezor/trezor-ble/mcuboot.conf.without_serial_recovery

This file was deleted.

8 changes: 0 additions & 8 deletions west/trezor/trezor-ble/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,3 @@ CONFIG_ASSERT=y
# bootloader
#CONFIG_SECURE_BOOT=y
CONFIG_BOOTLOADER_MCUBOOT=y
#CONFIG_SB_SIGNING_OPENSSL=y
#CONFIG_SB_SIGNING_KEY_FILE="/home/ondro/work/satoshilabs/repos/ncs/mcuboot_priv.pem"
#CONFIG_SB_SIGNING_KEY_FILE="/home/ondro/work/satoshilabs/repos/ncs/mcuboot_priv.pem"
#CONFIG_SB_PUBLIC_KEY_FILES="/home/ondro/work/satoshilabs/repos/ncs/mcuboot_pub.pem"
#CONFIG_MCUBOOT_SIGNATURE_KEY_FILE="/home/ondro/work/satoshilabs/repos/ncs/mcuboot_priv.pem"
#CONFIG_MCUBOOT_SIGNATURE_KEY_FILE="/home/ondro/work/satoshilabs/repos/ncs/mcuboot_priv.pem"
#CONFIG_BOOT_SIGNATURE_KEY_FILE="/home/ondro/work/satoshilabs/repos/ncs/mcuboot_priv.pem"
CONFIG_MCUBOOT_BOOTLOADER_MODE_SINGLE_APP=y
5 changes: 5 additions & 0 deletions west/trezor/trezor-ble/sysbuild.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Sysbuild configuration file.

# Enable MCUboot
SB_CONFIG_BOOTLOADER_MCUBOOT=y
SB_CONFIG_MCUBOOT_MODE_SINGLE_APP=y
File renamed without changes.

0 comments on commit f82b926

Please sign in to comment.