1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-09 17:10:17 +00:00
Commit Graph

60 Commits

Author SHA1 Message Date
Pavol Rusnak
21bb815945
embed/trezorhal: move mpu to trezorhal - enable it in firmware 2018-02-23 19:08:34 +01:00
Pavol Rusnak
8e3e1837d1
embed/firmware: call display_clear in main 2018-02-22 20:40:04 +01:00
Pavol Rusnak
1469ede956
embed: bump versions 2018-02-13 11:54:08 +01:00
Pavol Rusnak
2fe0ce542f
firmware: introduce PYOPT, use it consistently in mpy-cross and in runtime, set it to 1 by default 2018-02-08 18:04:10 +01:00
Pavol Rusnak
cf9c97288e
build: rework vendorheader handling, move them to embed/vendorheader 2018-01-31 16:46:15 +01:00
Pavol Rusnak
bfa79cbfd3
firmware: update versions in version.h 2018-01-29 09:09:45 +01:00
Pavol Rusnak
1bf278c3ee
firmware: add vendorheader_sl_signed.bin 2018-01-29 08:14:08 +01:00
Pavol Rusnak
b98a1db6ee
embed: cleanup unused modules 2018-01-02 20:00:12 +01:00
Pavol Rusnak
424115967f
embed: fix wur for usb functions 2018-01-01 21:49:08 +01:00
Pavol Rusnak
f1a75b36f7
vendor: update micropython to 1.9.3 release 2018-01-01 21:49:08 +01:00
Pavol Rusnak
333c0a633a
trezor.crypto: adopt crc32 function 2017-12-19 21:54:22 +01:00
Pavol Rusnak
47f5cba439
flash/sdcard: introduce wur, simplify code 2017-12-16 18:42:06 +01:00
Pavol Rusnak
965aa73b63
trezorhal: introduce fix_version in image header (version of last critical bugfix) 2017-12-14 21:29:13 +01:00
Pavol Rusnak
34322d5fb6
firmware: enable stack protector (except nlr stuff) 2017-12-13 02:06:22 +01:00
mcudev
2ea5d102a8 bootloader, firmware: remove unneeded call to display_orientation 2017-11-21 10:22:08 -05:00
Pavol Rusnak
4002ef2a49
firmware, unix: return cpython compatibility (needed for __class__ and __dict__) 2017-11-21 15:35:46 +01:00
Pavol Rusnak
ec6c3c2cdc
unix, firmware: more cleanup 2017-11-21 15:11:35 +01:00
Pavol Rusnak
d4893add54
firmware, unix: turn off some modules 2017-11-20 17:29:24 +01:00
Pavol Rusnak
77cc62644d
firmware: don't return CYCCNT contents as it is always zero anyway (cycle counter is disabled) 2017-11-05 18:02:47 +01:00
Pavol Rusnak
efa918a2f9
prodtest: code cleanup, fix build 2017-10-27 01:00:39 +02:00
Jan Pochyla
51d00e1de7
trezorhal/usb: add Inf timeout to blocking fns 2017-10-26 23:55:14 +02:00
Pavol Rusnak
f73eb3effd
trezorhal: introduce secbool/sectrue/secfalse and use it where possible 2017-10-26 23:51: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
3c974095aa
trezorhal: increase image header size from 512 to 1024 bytes 2017-10-26 02:11:40 +02:00
Pavol Rusnak
28aca51bc8
firmware: sign just the firmware part, not vendor header 2017-10-26 00:09:21 +02:00
Pavol Rusnak
6e51ee251f
bootloader+firmware: call shutdown instead of inf-loop after main is finished 2017-10-24 17:23:06 +02:00
Jan Pochyla
f93316bebd cleanup .gitignore files 2017-10-24 16:24:59 +02:00
Pavol Rusnak
3033762618
trezorhal: make touch_init and usb_init return void, use ensure inside 2017-10-20 17:18:55 +02:00
Pavol Rusnak
79fe9162b5
trezorhal: simplify api for init functions, use bool and void rather than int 2017-10-20 15:25:24 +02:00
mcudev
fc7b1cfe81 flash_init: remove empty function from all stages 2017-10-20 14:41:01 +02:00
Pavol Rusnak
4a14fb6c4d
boardloader: move periph_init to lowlevel.c 2017-10-17 11:44:53 +02:00
mcudev
45a4a944d0 boardloader, bootloader, firmware: only call periph_init in boardloader (#54) 2017-10-17 11:42:57 +02:00
mcudev
ca8d93ab5d boardloader, bootloader, firmware: factor out display_pwm_init (#52) 2017-10-16 20:56:05 +02:00
mcudev
70594a9bfe startup: setup the stack protector for the stage before main function (#46) 2017-10-14 12:25:13 +02:00
Pavol Rusnak
2fc69bed61
embed: rename trassert to ensure 2017-10-12 16:06:53 +02:00
Pavol Rusnak
380d08f1d0
embed: introduce trassert (trezor assert) 2017-10-12 00:35:14 +02:00
Pavol Rusnak
3982c19378
fix whitespace 2017-10-11 23:37:28 +02:00
mcudev
61e0f6c818 stm32f427 sram bigger (#39) 2017-10-11 23:36:07 +02:00
Pavol Rusnak
98ad17e1ea
firmware: use __FUNCTION__ in consistency with the rest of the code 2017-10-11 23:23:08 +02:00
Pavol Rusnak
7babde646e
embed: more cleanup 2017-10-11 23:11:59 +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
7117c59ed9
firmware: drop firmware0 concept 2017-10-11 20:04:17 +02:00
Pavol Rusnak
10ebd43261
firmware: move nlr_jump_fail from common to firmware 2017-10-11 20:01:22 +02:00
Pavol Rusnak
32e48258e4
trezorhal: preparations for F427 support 2017-10-11 19:52:58 +02:00
mcudev
8e96978ce2 boardloader, bootloader, firmware stage switching updates (#30) 2017-10-09 19:55:54 +02:00
mcudev
dbfeddce79 firmware: issue #12 (#29) 2017-10-09 17:45:45 +02:00
mcudev
f4e72aa4cc rng updates (#24) 2017-10-06 11:11:43 +02:00
mcudev
a381819ad1 clock updates (#21) 2017-10-06 11:09:22 +02:00
Pavol Rusnak
b962ace27d
build: add production keys 2017-10-04 15:55:59 +02:00