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

pull/1111/head
Ondrej Mikle 4 years ago committed by Pavol Rusnak
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…
Cancel
Save