Commit Graph

43 Commits

Author SHA1 Message Date
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
Pavol Rusnak be598582f5
trezorhal: remove trezorhal/hal directory 2017-09-07 23:11:16 +02:00
mcudev 5c21c4a96b better support ILI9341 testing, make tearing effect synch optional, minor fixes 2017-09-07 23:10:16 +02:00
Jan Pochyla 29b90465ce micropython: update submodule 2017-09-06 19:15:59 +02:00
Jan Pochyla 3a7277788f scons: use in Makefile 2017-08-07 12:04:11 +02:00
Jan Pochyla d431e0b983 scons: boardloader, bootloader, bugfixes 2017-08-04 00:46:57 +02:00