1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00

core: replace bootloader only in production. Fix device for T1 core port JLink upload

This commit is contained in:
Ondrej Mikle 2020-07-13 10:30:58 +02:00 committed by Pavol Rusnak
parent 52ae0bec71
commit 33d2bf417b
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
device CORTEX-M3
device STM32F205RG
if swd
speed 50000
loadbin build/firmware/firmware.bin 0x08010000

View File

@ -63,7 +63,9 @@ int main(void) {
collect_hw_entropy();
#if TREZOR_MODEL == T
#if PRODUCTION
check_and_replace_bootloader();
#endif
// Enable MPU
mpu_config_firmware();
#endif