1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 17:38:39 +00:00
Commit Graph

55 Commits

Author SHA1 Message Date
Pavol Rusnak
828ba7b5b0
bootloader: enable MPU, introduce delays to USB stack 2019-02-21 16:53:17 +01:00
Pavol Rusnak
4f28093d2e
vendor: replace vendor/trezor-qrenc with vendor/QR-Code-generator 2019-02-16 17:36:08 +01:00
Pavol Rusnak
1f61f82f63
embed: include files from vendor/micropython/ports/stm32 explicitly 2019-01-24 21:25:20 +01:00
Pavol Rusnak
d05895cbbd
build: add missing spi object file 2018-09-30 20:29:11 +02:00
Pavol Rusnak
45e10a2e79
embed: refactor cpu flags in sconscript files 2018-09-30 16:39:40 +02:00
Pavol Rusnak
398f1557d6
build: introduce T1 memory file 2018-09-20 13:43:44 +02:00
Pavol Rusnak
e3607156d8
embed: make model and emulator orthogonal, update macros to match this logic 2018-08-31 16:55:01 +02:00
Pavol Rusnak
3a2c1eecdb
embed/extmod/modtrezorui: add MONO_BOLD font 2018-08-16 20:59:24 +02:00
Pavol Rusnak
481bb4ccab
embed: remove unused stmhal stuff from build dependencies 2018-07-30 18:37:37 +02:00
Pavol Rusnak
820798998b
build: use COPT in all SConscript files 2018-07-09 21:03:25 +02:00
mcudev
d897d5e23c build: make it easier to build binaries optimized for debugging (#267) 2018-07-09 20:59:35 +02:00
Jan Pochyla
e390c9d604 scons: remove MCU_SERIES_F4 define
Reflects micropython commit 37b8ba5a55c99dbd1e69eb1c99651307b22fd3e
2018-06-19 18:26:43 +02:00
Pavol Rusnak
611d374bbd
embed: rename TREZOR_STM32/UNIX to TREZOR_MODEL_T/EMU, introduce trezor.utils.model() 2018-03-04 12:59:16 +01:00
Pavol Rusnak
21bb815945
embed/trezorhal: move mpu to trezorhal - enable it in firmware 2018-02-23 19:08:34 +01:00
Saleem Rashid
3f63acdd77
embed: Use GCC as linker
Using GCC passes the correct flags to the linker. Including, if we
choose to use features such as LTO, linker plugins.
2018-02-18 23:17:38 +01:00
Pavol Rusnak
302a31e8d2
embed/bootloader: enable mpu and drop to unprivileged mode before running a firmware 2018-02-13 19:36:03 +01:00
Pavol Rusnak
a25af7d22a
embed/extmod/modtrezorui: refactor text bar prefill into from display.c into extmod 2018-02-06 22:55:20 +01:00
Pavol Rusnak
ec52ff882f
build: update scripts to respect PRODUCTION flag and don't sign with devel keys when it's set 2018-01-30 15:32:53 +01:00
Pavol Rusnak
81ff60c3e1
tools: drop combine_sign; rework keyctl into 3 tools 2018-01-29 15:07:47 +01:00
Pavol Rusnak
706ddda1a7
tools: update keyctl to work with already signed binaries 2018-01-28 17:47:16 +01:00
Pavol Rusnak
d27111472e
bootloader: show fingerprint on info click 2018-01-25 14:16:21 +01:00
Pavol Rusnak
2f567ee822
bootloader: rework UI 2018-01-24 12:47:55 +01:00
Pavol Rusnak
e92440dfc8
introduce and use memzero instead of explicit_bzero 2018-01-18 15:30:49 +01:00
Pavol Rusnak
8fd8613c80
firmware: use -ffreestanding too 2018-01-17 15:24:06 +01:00
Pavol Rusnak
1530afe4ad
vendor: update trezor-crypto, adapt codebase to changes 2018-01-13 15:36:03 +01:00
Pavol Rusnak
4cc8a5432d
bootloader: use normal/regular font rather than bold 2018-01-02 01:44:39 +01:00
Pavol Rusnak
94588dd588
modtrezorui: introduce TREZOR_FONT_PREFILL, set it to 0 in bootloader 2018-01-02 01:37:31 +01:00
Pavol Rusnak
79a3f84c3c
modtrezorui: invert FONT macro inclusion logic 2017-12-15 23:13:25 +01:00
Pavol Rusnak
1aba175d7d
build: adapt to new trezor-crypto changes 2017-12-12 22:00:15 +01:00
Pavol Rusnak
7b9fcf98ae
drop embed/extmod/modtrezorcrypto/trezor-crypto symlink 2017-12-12 20:31:03 +01:00
Pavol Rusnak
f0013b0318
sconscript: typo - split stack protector and freestanding options 2017-12-08 19:30:46 +01:00
mcudev
816f78c052 builds: refer to CMSIS header which includes HAL due to USE_HAL_DRIVER 2017-11-05 19:37:05 +01:00
Pavol Rusnak
efa918a2f9
prodtest: code cleanup, fix build 2017-10-27 01:00:39 +02:00
Pavol Rusnak
9e82a4d348
bootloader, firmware: introduce chunk hashes in the image header 2017-10-26 14:25:10 +02:00
Pavol Rusnak
46fdb8bcb4
tools: use combine_sign to compute signatures, binctl just for adding to binary 2017-10-25 23:03:34 +02:00
Pavol Rusnak
5f256ce0b0
bootloader: show DOM QR code on welcome screen 2017-10-20 16:07:42 +02:00
mcudev
a0286bcc29 build: further cleanup common symbols (#63) 2017-10-19 15:27:15 +02:00
Pavol Rusnak
90ae9ed1c0
boardloader, bootloader: remove SOURCE_MICROPYTHON as we don't use it anymore 2017-10-14 12:31:30 +02:00
mcudev
fac28192fa boardloader, bootloader: SConscript freestanding and link against nano c library 2017-10-14 12:30:36 +02:00
mcudev
15d55061db SConscript: trivial string concat cleanup 2017-10-14 12:30:36 +02:00
Pavol Rusnak
9a0c8f4687
build: introduce PRODUCTION flag 2017-10-12 12:17:04 +02:00
Pavol Rusnak
a43aec0fe3
embed: make F427 the default mcu 2017-10-11 21:36:55 +02:00
Pavol Rusnak
6413c2c23e
embed: rework memory layout, enable stack protector 2017-10-11 21:19:52 +02:00
Pavol Rusnak
32e48258e4
trezorhal: preparations for F427 support 2017-10-11 19:52:58 +02:00
Pavol Rusnak
69953a91c5
trezorhal: code cleanup, combine stm32_it.c + stm32_system.c into stm32.c 2017-10-11 18:43:39 +02:00
mcudev
08caf86c5b bootloader: issue #12 (#28) 2017-10-09 17:44:58 +02:00
Pavol Rusnak
7bbfba1ac0
boardloader, bootloader: moving embed/common/* to embed/trezorhal/* 2017-10-08 23:55:05 +02:00
mcudev
8d3540c858 boardloader, bootloader: jump_to memory clearing and simplify code to asm 2017-10-08 23:48:44 +02:00
Pavol Rusnak
8ddcd74080
build: sign all stuff using ed25519 cosi (2 out of 3) 2017-10-01 17:56:19 +02:00
Pavol Rusnak
ad614a364f
bootloader+firmware: move startup scripts to embed, preparation for their change 2017-09-29 10:01:20 +02:00