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

181 Commits

Author SHA1 Message Date
Pavol Rusnak
e821fd4358
emulator: rename TREZOR_NOUI macro to TREZOR_EMULATOR_NOUI 2018-09-03 17:56:53 +02:00
Pavol Rusnak
8d9d4816da
embed/extmod/modtrezorutils: remove utils.symbol, use constants directly 2018-08-31 16:55:01 +02:00
matejcik
348b99b8dc build: generate code with Mako templates 2018-08-29 12:04:37 +02:00
Pavol Rusnak
3022cd50c8
embed: use runtime detection of connected display controller 2018-08-04 17:43:54 +02:00
Pavol Rusnak
e7a74ccfee
embed: add support for GC9307 display driver 2018-08-02 18:30:43 +02:00
Pavol Rusnak
f4252d755c
embed: introduce display_identify 2018-08-01 18:52:58 +02:00
Pavol Rusnak
7bf30ccb37
style: add cstyle target to Makefile + clang-format config, don't enforce for now 2018-07-17 16:54:37 +02:00
Jan Pochyla
3997eb0e80 make: add black and isort to style target 2018-07-10 13:05:15 +02:00
Jan Pochyla
93d1b0751b make: combine formatting tools, add black and isort 2018-07-10 11:17:12 +02:00
Pavol Rusnak
c4918cea97
firmware: update flash_firmware target to use two-part flashing 2018-07-05 13:49:28 +02:00
Pavol Rusnak
23b019d592 embed/firmware: update linker to use firmware_extra section 2018-06-21 16:23:27 +02:00
Pavol Rusnak
fb4b2aa608
unix: drop the 32bit build 2018-06-05 23:30:43 +02:00
matejcik
5b9b904198 Makefile: pass TESTOPTS to test runners (and use them in run_tests_device_emu.sh 2018-03-09 15:19:53 +01:00
Pavol Rusnak
40e20e2e9d
trezorhal: fix usb class behaviour 2018-02-03 16:40:51 +01:00
Pavol Rusnak
52a942afd4
bootloader: fix anti-aliasing in install icon 2018-01-31 16:46:15 +01:00
Pavol Rusnak
cf9c97288e
build: rework vendorheader handling, move them to embed/vendorheader 2018-01-31 16:46:15 +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
5f9c079f5c
build: replace combine_sign with keyctl in Makefile 2018-01-29 17:56:09 +01:00
Pavol Rusnak
754cf3672d
build: add vendorheader_sl_signed target 2018-01-29 08:08:45 +01:00
Pavol Rusnak
c2c1749d59
vendorheader: change sl pubkey #2 2018-01-28 16:22:36 +01:00
Pavol Rusnak
b77a1eb12f
build: satoshilabs vendor has full trust 2018-01-28 15:01:50 +01:00
Pavol Rusnak
2317aaedb9
tools: update how vtrust is being passed to build_vendorheader 2018-01-10 20:47:07 +01:00
Pavol Rusnak
26ac0b6e52
cross: don't use MICROPY_FORCE_32BIT=1 (no need for that) 2018-01-05 01:07:05 +01:00
Pavol Rusnak
b98a1db6ee
embed: cleanup unused modules 2018-01-02 20:00:12 +01:00
Pavol Rusnak
965bf84cdb
tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
Jan Pochyla
8b85078730
reflash: add new firmware target
Flashes (unlocked) boardloader and bootloader from pre-compiled sdcard image.
2017-11-28 20:59:32 +01:00
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