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:
parent
52ae0bec71
commit
33d2bf417b
@ -1,4 +1,4 @@
|
||||
device CORTEX-M3
|
||||
device STM32F205RG
|
||||
if swd
|
||||
speed 50000
|
||||
loadbin build/firmware/firmware.bin 0x08010000
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user