1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 14:58:09 +00:00
Commit Graph

155 Commits

Author SHA1 Message Date
mcudev
ed2f48c612 Makefile: cause a system reset using OpenOCD 2017-11-21 10:19:48 -05:00
Pavol Rusnak
f8c6043325
makefile: use build_dir variables where possible 2017-11-06 16:44:34 +01:00
Pavol Rusnak
3636a5f1b1
bootloader/vendorheader: vtrust is bitmap not scalar 2017-11-06 16:31:09 +01:00
Jan Pochyla
f093ca23d5 tests: ignore specific tests, testpy -> test_emu 2017-10-30 18:52:10 +01:00
Jan Pochyla
1e883530b4 scons: get file sizes in portable way 2017-10-30 14:07:52 +01:00
Pavol Rusnak
b9a599d08d
makefile: add gdb_prodtest target 2017-10-29 15:45:41 +01:00
Pavol Rusnak
3851404d04
small cosmetic changes to prodtest and others 2017-10-27 06:01:22 +02:00
Pavol Rusnak
4d36d0e1c1
trezorhal: use sectrue where possible 2017-10-27 03:58:00 +02:00
Pavol Rusnak
efa918a2f9
prodtest: code cleanup, fix build 2017-10-27 01:00:39 +02:00
Jan Pochyla
95965c3ff7
prodtest: add new target 2017-10-26 23:55:13 +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
2010213338
bootloader: first UI steps 2017-10-16 18:04:19 +02:00
mcudev
e2b66436df display: tearing effect cleanup 2017-10-15 21:38:16 +02:00
Pavol Rusnak
5ea75b469f
build: git describe is better than rev-parse 2017-10-12 16:09:45 +02:00
Pavol Rusnak
8cc8272fb3
build: pass gitrev, use it in fatal_error 2017-10-12 16:02:40 +02:00
Pavol Rusnak
9a0c8f4687
build: introduce PRODUCTION flag 2017-10-12 12:17:04 +02:00
Pavol Rusnak
6413c2c23e
embed: rework memory layout, enable stack protector 2017-10-11 21:19:52 +02:00
Pavol Rusnak
7117c59ed9
firmware: drop firmware0 concept 2017-10-11 20:04:17 +02:00
mcudev
0fbda80e31 Makefile: vendor target add --recursive and --force to git submodule update (#38) 2017-10-11 16:17:17 +02:00
Pavol Rusnak
fdf8bc8fdb
openocd: simplify openocd call in Makefile 2017-10-09 20:46:54 +02:00
Pavol Rusnak
78f57d083c
add vendor trust to vendorheader 2017-10-05 17:31:39 +02:00
Pavol Rusnak
39b614499f
build: update production keys 2017-10-04 20:20:01 +02:00
Pavol Rusnak
b962ace27d
build: add production keys 2017-10-04 15:55:59 +02:00
Pavol Rusnak
f528b72f98
build: devel -> development in vendor header 2017-10-01 20:49:43 +02:00
Pavol Rusnak
8ddcd74080
build: sign all stuff using ed25519 cosi (2 out of 3) 2017-10-01 17:56:19 +02:00
mcudev
e85ce3aea4 Makefile GDB updates 2017-09-30 09:46:11 +02:00
Pavol Rusnak
2bc37a10fe
use different set of keys for boardloader/bootloader/vendorheader 2017-09-29 17:31:59 +02:00
mcudev
03309e0381 transition to openocd from st-flash 2017-09-27 14:03:20 +02:00
Pavol Rusnak
9019ec7e2b
build: add firmware0 target (firmware with no headers) 2017-09-25 15:49:42 +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
647e39de79 scons: add 32bit unix build 2017-08-08 14:23:34 +02:00
Jan Pochyla
83686bc0c6 scons: add TREZOR_NOUI support 2017-08-07 12:31:42 +02:00
Jan Pochyla
3a7277788f scons: use in Makefile 2017-08-07 12:04:11 +02:00
Pavol Rusnak
3a35a5a5be
tests: rework device tests to checkout just device_tests subdirectory from python-trezor repo 2017-07-28 19:45:58 +02:00
Pavol Rusnak
596d41e68c
build: fix one missing change of micropython->embed 2017-07-28 19:24:26 +02:00
Jan Pochyla
803e39c2a8 make: adapt to micropython -> embed rename 2017-07-28 16:33:40 +02:00
Jan Pochyla
22960b567b make: move flake8 options to config file 2017-06-14 12:58:20 +02:00
Pavol Rusnak
73b2ea6c85
travis: add make style (using flake8) 2017-06-13 19:35:34 +02:00
Pavol Rusnak
845a3a7e0d
tests: add partial pylint support 2017-06-07 19:06:26 +02:00
Pavol Rusnak
cd7ee79c67
build: add combine and flash_combine make targets 2017-05-30 17:49:17 +02:00
Pavol Rusnak
8b0336862f
make __fatal_error more useful, add make sizecheck target 2017-04-28 15:39:22 +02:00
Pavol Rusnak
f7484fefde
build: brew dropped 32-bit support sdl2, modify macOS stuff to reflect that 2017-04-19 21:39:44 +02:00
Pavol Rusnak
0c060b6d4a
rename loader to bootloader 2017-04-10 19:24:21 +02:00
Pavol Rusnak
0633506166
rename bootloader to boardloader 2017-04-10 19:11:44 +02:00
Pavol Rusnak
995ae517cd
build: add make bloaty 2017-04-10 16:40:41 +02:00
Pavol Rusnak
62ad4d6a39
tools: pass sigmask and seckey as parameter to binctl 2017-04-08 18:24:46 +02:00
Pavol Rusnak
17ff61459d
tools: add pretty format to sigmask field 2017-04-06 19:02:09 +02:00
Pavol Rusnak
364bcedb04
tools: small formatting change to binctl 2017-04-06 16:58:16 +02:00
Pavol Rusnak
35e404bd38
tools: add fake signing to binctl, add make sign target 2017-04-05 19:33:50 +02:00
Pavol Rusnak
87b7d0649b
boot: use cosi to compute aggregated key and use it 2017-04-02 02:55:51 +02:00
Pavol Rusnak
1eff07f84d
build: don't convert from png in build_vendorheader, remove vendorheader.bin from vcs 2017-04-01 23:16:25 +02:00
Pavol Rusnak
7cb7a90d27
build: include vendorheader.bin in source tree 2017-04-01 20:21:02 +02:00
Pavol Rusnak
d3ec688d6f
trezorhal: don't set SCB->VTOR in SystemInit 2017-03-30 16:47:02 +02:00
Pavol Rusnak
efb722cc97
trezorhal: split memory files, adapt bootloader and loader 2017-03-29 22:00:17 +02:00
Pavol Rusnak
36666de503
build: enable make vendor again 2017-03-28 15:25:40 +02:00
Pavol Rusnak
b30f3b0946
build: use -Os for debug builds and use them by default 2017-03-28 15:21:09 +02:00
Pavol Rusnak
2a32975977
build: add sections to makefile 2017-03-25 14:46:38 +01:00
Pavol Rusnak
b6b8873e9a
build: unix build is now always debug, makefiles cleanup 2017-03-23 18:25:21 +01:00
Pavol Rusnak
1c4fbd02b4
build: reorg makefiles 2017-03-20 17:45:40 +01:00
Pavol Rusnak
2c1e0b8253
bootloader/loader: don't generate qstrdefs.generated.h in main Makefile 2017-03-20 17:27:00 +01:00
Pavol Rusnak
cbaca604f3
bootloader+loader: rework build, make clear what is bootloader and what is loader in docu 2017-03-20 16:00:10 +01:00
Pavol Rusnak
b141e6b1e3
loader: add skeleton 2017-03-20 15:41:21 +01:00
Pavol Rusnak
4f45071940
bootloader: add flash target to makefile 2017-03-19 15:29:48 +01:00
Pavol Rusnak
603d980d22
bootloader: enable build again 2017-03-18 12:06:28 +01:00
Pavol Rusnak
135294b5e8
modtrezorui: more cleanup 2017-03-17 14:14:47 +01:00
Pavol Rusnak
433bc8138b
unix: fix unix build 2017-03-07 17:51:21 +01:00
Jan Pochyla
78d82386d1 trezorhal: adjust to new structure 2017-03-06 17:33:48 +01:00
Pavol Rusnak
10b687c318
reorganization (wip) 2017-02-24 13:19:00 +01:00
Pavol Rusnak
216b60d8b6
update makefile 2017-02-21 11:23:50 +01:00
Jan Pochyla
edae88932a trezorhal: add to Makefile 2017-02-20 11:36:28 +01:00
Pavol Rusnak
8c296099f8
bootloader: wip 2017-02-16 13:48:28 +01:00
Pavol Rusnak
2d7c6b0c34
bootloader: cleanup, more documentation, added scripts for checking 2017-02-08 19:43:47 +01:00
Pavol Rusnak
d8f1b1397c
update Makefiles to reflect new way of building stuff 2017-01-23 14:07:35 +01:00
Pavol Rusnak
892409c9b8
update bootloader makefile to follow upstream changes 2017-01-22 19:48:18 +01:00
Pavol Rusnak
918150a3f1
tests: make testpy tries running selected tests from python-trezor
apps.ethereum: fix get address call
2016-11-24 17:16:40 +01:00
Pavol Rusnak
13533d9156
makefile: fix build_stmhal_debug target 2016-11-23 10:48:12 +01:00
Pavol Rusnak
33b5436dcc
tests: move to /tests to avoid freezing 2016-11-06 17:04:25 +01:00
Pavol Rusnak
8b0d7be52a
trezor.crypto: add keccak option to Sha3_*.digest() 2016-11-06 01:49:55 +01:00
Pavol Rusnak
57fbd4dfc2
build: parallel build by default 2016-10-12 18:29:01 +02:00
Pavol Rusnak
7e5d5a9164
cleanup makefile 2016-10-03 17:23:21 +02:00
Jochen Hoenicke
c9857a756c
bootloader: added systick handler 2016-09-29 14:41:50 +02:00
slush0
1d7d408bc8 Updating resources on build automatically 2016-09-29 13:35:39 +02:00
Pavol Rusnak
588b7b5c70
add flashing using openocd to Makefile 2016-09-29 13:30:23 +02:00
Pavol Rusnak
f09ce087c3
add gdb_bootloader to makefile 2016-09-29 13:22:31 +02:00
Pavol Rusnak
281070492d
fix bootloader, extract FONT_* constants 2016-09-28 18:21:29 +02:00
Pavol Rusnak
d1ff96af04
cleanup makefile; make res_collect tool more verbose 2016-09-27 17:26:12 +02:00
Pavol Rusnak
e56390c77a
add clean_cross to makefile; update micropython submodule 2016-09-27 17:26:05 +02:00
Pavol Rusnak
9ef076f137
add debug targets to Makefile 2016-09-27 17:26:04 +02:00
Pavol Rusnak
5968eb3f5f
add build_cross and build_frozen make targets 2016-09-27 17:24:19 +02:00
Pavol Rusnak
a473ad2100
make update -> make vendor 2016-09-27 17:24:14 +02:00
Pavol Rusnak
4eb87b2fd8
first parameter of log methods is now name 2016-09-27 17:24:03 +02:00
Pavol Rusnak
9856f96cf7
add hw button to msg.select, build 32-bit unix port by default 2016-09-27 17:24:01 +02:00
Pavol Rusnak
ee3614ae6a
cleanup pb2py, add debug to emu.sh 2016-09-27 17:23:23 +02:00
Pavol Rusnak
bc7cb88cdf
use little endian for toif, fix random 2016-09-27 17:23:22 +02:00
Pavol Rusnak
4eccc55c5c
add unit tests, add t.c.sha512 2016-09-27 17:22:50 +02:00
Pavol Rusnak
4ff68e7494
add static to mp_define_const 2016-09-27 17:22:50 +02:00
Pavol Rusnak
0d8112f6b4
split trezor.crypto into more modules 2016-09-27 17:22:50 +02:00
Pavol Rusnak
2694e3ad63
add trezor.crypto.base58 functionality (decode_check needs fix) 2016-09-27 17:22:49 +02:00
Pavol Rusnak
1986992bd9
make submodule_update -> make update 2016-09-27 17:22:47 +02:00
Pavol Rusnak
914e905146
add sync to make load 2016-09-27 17:22:47 +02:00