Commit Graph

42 Commits

Author SHA1 Message Date
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
Pavol Rusnak 09340e93d7
firmware+unix: sync mpconfigport.h with upstream 2017-10-03 16:28:03 +02:00
Pavol Rusnak ad614a364f
bootloader+firmware: move startup scripts to embed, preparation for their change 2017-09-29 10:01:20 +02:00
Pavol Rusnak d33ce4a666
firmware: fix last commit 2017-09-28 14:14:10 +02:00
Pavol Rusnak cfe9c73c78
firmware: init display when used in standalone (firmware0) mode 2017-09-28 14:10:30 +02:00
mcudev 43e8b85700 display updates 2017-09-28 13:58:58 +02:00
Pavol Rusnak 9019ec7e2b
build: add firmware0 target (firmware with no headers) 2017-09-25 15:49:42 +02:00
Pavol Rusnak d72f026313
firmware: enable input() built-in 2017-09-05 15:18:24 +02:00
Jan Pochyla 4c987454eb modtrezormsg: merge to modtrezorio 2017-08-15 18:14:14 +02:00
Jan Pochyla 3dab5e7797 scons: cleanup defines 2017-08-07 12:04:23 +02:00
Jan Pochyla 55bd4a0806 rename /micropython to /embed 2017-07-28 16:23:45 +02:00