Commit Graph

71 Commits (066d4b4e9adad4eef1ccf83d577d1563eb0cb977)

Author SHA1 Message Date
Pavol Rusnak d644147985
build: update SConscript.firmware for T1
6 years ago
Pavol Rusnak c58c4a94d8
firmware: reuse SOURCE_PY_DIR where possible
6 years ago
Pavol Rusnak 398f1557d6
build: introduce T1 memory file
6 years ago
Pavol Rusnak e3607156d8
embed: make model and emulator orthogonal, update macros to match this logic
6 years ago
Pavol Rusnak 3a2c1eecdb
embed/extmod/modtrezorui: add MONO_BOLD font
6 years ago
Pavol Rusnak 481bb4ccab
embed: remove unused stmhal stuff from build dependencies
6 years ago
jmuravsky 09ddcc7ac9 cardano: add Cardano currency support
6 years ago
Pavol Rusnak dca61a4c7f
build: don't use capital letters as arguments to dd (closes #271)
6 years ago
mcudev d897d5e23c build: make it easier to build binaries optimized for debugging (#267)
6 years ago
mcudev d325e7b5a2 firmware: update flash_firmware target to use two-part flashing fix (#266)
6 years ago
Pavol Rusnak 23b019d592 embed/firmware: update linker to use firmware_extra section
6 years ago
Jan Pochyla e390c9d604 scons: remove MCU_SERIES_F4 define
6 years ago
Pavol Rusnak 8e9ae534c0
embed/extmod/modtrezorcrypto: fix last commit, update trezor-crypto
6 years ago
Tomas Susanka 88ef4257cd wallet/nem: init, get_address
6 years ago
Pavol Rusnak 611d374bbd
embed: rename TREZOR_STM32/UNIX to TREZOR_MODEL_T/EMU, introduce trezor.utils.model()
6 years ago
Pavol Rusnak 02358b3932
embed/trezorhal: move systick from vendor to trezorhal
6 years ago
Pavol Rusnak 21bb815945
embed/trezorhal: move mpu to trezorhal - enable it in firmware
6 years ago
Saleem Rashid 3f63acdd77
embed: Use GCC as linker
6 years ago
Pavol Rusnak 2fe0ce542f
firmware: introduce PYOPT, use it consistently in mpy-cross and in runtime, set it to 1 by default
7 years ago
Pavol Rusnak fa697ba322
embed/vendorheader: add unsafe_signed_prod, use it by default
7 years ago
Pavol Rusnak cf9c97288e
build: rework vendorheader handling, move them to embed/vendorheader
7 years ago
Pavol Rusnak ec52ff882f
build: update scripts to respect PRODUCTION flag and don't sign with devel keys when it's set
7 years ago
Pavol Rusnak 81ff60c3e1
tools: drop combine_sign; rework keyctl into 3 tools
7 years ago
Pavol Rusnak 706ddda1a7
tools: update keyctl to work with already signed binaries
7 years ago
Pavol Rusnak e92440dfc8
introduce and use memzero instead of explicit_bzero
7 years ago
Pavol Rusnak 8fd8613c80
firmware: use -ffreestanding too
7 years ago
Pavol Rusnak 1530afe4ad
vendor: update trezor-crypto, adapt codebase to changes
7 years ago
Pavol Rusnak b98a1db6ee
embed: cleanup unused modules
7 years ago
Pavol Rusnak fa95f0a037
trezor.crypto: implement chacha20poly1305 aka rfc7539
7 years ago
Pavol Rusnak b9d5af8c19
modtrezorcrypto: remove ssss (different implementation will be re-added later)
7 years ago
Pavol Rusnak d6593e710b
apps.ethereum: implement SignMessage/VerifyMessage
7 years ago
Pavol Rusnak 333c0a633a
trezor.crypto: adopt crc32 function
7 years ago
Pavol Rusnak 79a3f84c3c
modtrezorui: invert FONT macro inclusion logic
7 years ago
Pavol Rusnak 34322d5fb6
firmware: enable stack protector (except nlr stuff)
7 years ago
Pavol Rusnak 1aba175d7d
build: adapt to new trezor-crypto changes
7 years ago
Pavol Rusnak 7b9fcf98ae
drop embed/extmod/modtrezorcrypto/trezor-crypto symlink
7 years ago
Jan Pochyla f07b4dda0b modtrezorconfig: extract pin & unlocking to storage.c
7 years ago
mcudev 816f78c052 builds: refer to CMSIS header which includes HAL due to USE_HAL_DRIVER
7 years ago
Jan Pochyla 1e883530b4 scons: get file sizes in portable way
7 years ago
Pavol Rusnak efa918a2f9
prodtest: code cleanup, fix build
7 years ago
Jan Pochyla 95965c3ff7
prodtest: add new target
7 years ago
Pavol Rusnak 9e82a4d348
bootloader, firmware: introduce chunk hashes in the image header
7 years ago
Pavol Rusnak 28aca51bc8
firmware: sign just the firmware part, not vendor header
7 years ago
Pavol Rusnak 46fdb8bcb4
tools: use combine_sign to compute signatures, binctl just for adding to binary
7 years ago
mcudev a0286bcc29 build: further cleanup common symbols (#63)
7 years ago
mcudev 15d55061db SConscript: trivial string concat cleanup
7 years ago
Pavol Rusnak a43aec0fe3
embed: make F427 the default mcu
7 years ago
Pavol Rusnak 0e7095dd9c
firmware: disable stack protector for now
7 years ago
Pavol Rusnak 6413c2c23e
embed: rework memory layout, enable stack protector
7 years ago
Pavol Rusnak 7117c59ed9
firmware: drop firmware0 concept
7 years ago