mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-12 06:06:07 +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
|
if swd
|
||||||
speed 50000
|
speed 50000
|
||||||
loadbin build/firmware/firmware.bin 0x08010000
|
loadbin build/firmware/firmware.bin 0x08010000
|
||||||
|
@ -63,7 +63,9 @@ int main(void) {
|
|||||||
collect_hw_entropy();
|
collect_hw_entropy();
|
||||||
|
|
||||||
#if TREZOR_MODEL == T
|
#if TREZOR_MODEL == T
|
||||||
|
#if PRODUCTION
|
||||||
check_and_replace_bootloader();
|
check_and_replace_bootloader();
|
||||||
|
#endif
|
||||||
// Enable MPU
|
// Enable MPU
|
||||||
mpu_config_firmware();
|
mpu_config_firmware();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user