Commit Graph

31 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
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 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 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
mcudev a0286bcc29 build: further cleanup common symbols (#63) 2017-10-19 15:27:15 +02:00
mcudev a1c33e32f0 code cleanup 2: explicit .bss, linker map, and simpler systick 2017-10-15 19:34:16 +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 d003c250d8
boardloader: refactor flash_option_bytes from trezorhal to boardloader/lowlevel 2017-10-11 23:53:29 +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
Pavol Rusnak 7bbfba1ac0
boardloader, bootloader: moving embed/common/* to embed/trezorhal/* 2017-10-08 23:55:05 +02:00
mcudev acca6a0945 boardloader: move memset_reg to separate source file 2017-10-08 23:48:44 +02:00
mcudev 08b231a298 boardloader: factor out vector table 2017-10-08 23:48:44 +02:00
mcudev f4e72aa4cc rng updates (#24) 2017-10-06 11:11:43 +02:00
mcudev 3bcd75fd94 issue 12: startup related changes 2017-09-29 09:49:51 +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
Pavol Rusnak b31cb18e80
build: add missing environment to boardloader sconscript 2017-09-04 14:20:41 +02:00
Jan Pochyla d431e0b983 scons: boardloader, bootloader, bugfixes 2017-08-04 00:46:57 +02:00