Commit Graph

48 Commits

Author SHA1 Message Date
Pavol Rusnak 97f95f44c0
bootloader: disable usage of mono/normal fonts 2017-04-28 15:54:54 +02:00
Pavol Rusnak 8b0336862f
make __fatal_error more useful, add make sizecheck target 2017-04-28 15:39:22 +02:00
Pavol Rusnak d207e8c242
modtrezormsg: add mock for unix build 2017-04-21 18:12:33 +02:00
Jan Pochyla e49e7ed1d9 modtrezormsg: add usb_deinit, cleanup usb_init 2017-04-21 16:25:00 +02:00
Jan Pochyla afaefb7a13 modtrezormsg: fix typo in Msg.init_usb 2017-04-21 16:25:00 +02:00
Jan Pochyla 46f748205d modtrezormsg: WIP python USB API 2017-04-21 16:25:00 +02:00
Pavol Rusnak 795875523b
unix: implement __fatal_error, simplify modtrezorutils 2017-04-17 18:07:34 +02:00
Pavol Rusnak 117edd233f
build: don't use STM32_HAL_H directly to detect port, introduce TREZOR_STM32 and TREZOR_UNIX macros 2017-04-17 17:57:42 +02:00
Pavol Rusnak 69d7f39b23
modtrezorutils: call __fatal_error on stm 2017-04-10 19:43:07 +02:00
Jan Pochyla a54293b808 trezorhal: add usb_hid_read_select 2017-04-06 19:06:05 +02:00
Jan Pochyla 56b1d69796 trezorhal/usb: now compiles 2017-04-06 19:06:05 +02:00
Jan Pochyla 9f985dba46 extmod: use size_t for mp_obj_get_array and mp_obj_tuple_get 2017-04-06 18:36:30 +02:00
Pavol Rusnak fad4b80af8
trezorhal: don't parse (image|vendor) headers twice, don't use legacy stm32 names 2017-04-05 15:10:33 +02:00
Pavol Rusnak 3532b266ce
modtrezorconfig: readd norcow as a submodule 2017-04-05 02:23:48 +02:00
Pavol Rusnak 0a7997f798
modtrezorcrypto: add cosi cosigning scheme to ed25519 class 2017-04-03 22:28:54 +02:00
Pavol Rusnak eef147d810
modtrezorcrypto: add crypto.rfc6979 class 2017-04-03 21:29:52 +02:00
Pavol Rusnak b72bc08172
loader: vendor image is now shown in display 2017-04-01 20:19:35 +02:00
Pavol Rusnak 722e71eb31
modtrezorconfig: use uint16_t for data length 2017-03-30 21:42:50 +02:00
Pavol Rusnak 32cf4f36d2
modtrezorconfig: norcow works for stm 2017-03-30 20:55:18 +02:00
Pavol Rusnak 41af56222a
modtrezorcrypto: update trezor-crypto 2017-03-29 00:22:52 +02:00
Pavol Rusnak 7dfc863fe7
modtrezorui: use const for bitmap font 2017-03-28 21:09:21 +02:00
Pavol Rusnak 4d4a351ba6
modtrezorcrypto: update to new trezor-crypto 2017-03-28 20:28:51 +02:00
Pavol Rusnak f6747b9556
modtrezorui: update qrcode to draw 1px border 2017-03-28 14:25:16 +02:00
Pavol Rusnak 416676120b
extract common stuff into trezorhal/common.[ch] 2017-03-21 02:09:17 +01:00
Pavol Rusnak e872f54896
modtrezorui: split display_print into display_print and display_print_out 2017-03-20 21:51:08 +01:00
Pavol Rusnak 420516c5de
modtrezorcrypto: use BLOCK_LENGTH and DIGEST_LENGTH across all hash functions 2017-03-20 21:07:20 +01:00
Pavol Rusnak 7edc688180
modtrezorui: extract fsmc constants 2017-03-17 17:43:22 +01:00
Pavol Rusnak 4b301cd288
modtrezorui: rename variables 2017-03-17 15:27:11 +01:00
Pavol Rusnak 135294b5e8
modtrezorui: more cleanup 2017-03-17 14:14:47 +01:00
Pavol Rusnak a753bb05e2
unix: fix NOUI build 2017-03-16 19:40:20 +01:00
Pavol Rusnak 4a7540f5b9
modtrezormsg: untagle touch 2017-03-16 19:14:30 +01:00
Pavol Rusnak 6c982a64d1
firmware: move modutime to firmware 2017-03-13 20:06:03 +01:00
Pavol Rusnak 2295cd5bf3
modtrezorui: cleanup 2017-03-08 17:56:56 +01:00
Pavol Rusnak 935e9b2912
trezorhal: fix i2c, more reorg 2017-03-07 15:52:19 +01:00
Pavol Rusnak 3f0026912c
i2c: reorganize sources 2017-03-07 15:11:21 +01:00
Jan Pochyla 78d82386d1 trezorhal: adjust to new structure 2017-03-06 17:33:48 +01:00
Pavol Rusnak 28e62c6270
extmod: replace mp_obj_tuple_get and mp_obj_list_get calls with mp_obj_get_array 2017-03-05 17:45:41 +01:00
Pavol Rusnak 9c3c19959b
modtrezorcrypto: add Blake2b 2017-02-28 18:47:27 +01:00
Jan Pochyla 110dca7711 modtrezorui: fix Font_Bitmap extern 2017-02-22 17:27:53 +01:00
Pavol Rusnak c50943bbf0
modtrezormsg: cleanup touch methods 2017-02-22 15:19:25 +01:00
Pavol Rusnak f443407fae
modtrezorui: add extern to includes 2017-02-22 14:26:30 +01:00
Pavol Rusnak affb893cb1
modtrezormsg: don't use delay_us_fast for stmhal 2017-02-21 16:17:10 +01:00
Pavol Rusnak e8adff4683
modtrzezormsg: extract touch.h 2017-02-16 14:12:32 +01:00
Pavol Rusnak 69f1569761
modtrezorui: fix last commit 2017-02-15 18:31:21 +01:00
Pavol Rusnak d0c59fdf3d
rework display_btext into display_print 2017-02-15 15:40:50 +01:00
Pavol Rusnak 1d5a6dd1b4
modtrezorui: add display_btext 2017-02-14 18:05:39 +01:00
Jan Pochyla deb09c2454 modtrezorcrypto: add functions for working with wordlist 2017-02-08 16:21:32 +01:00
Pavol Rusnak 029a7c35d8
reorganize code 2017-02-06 15:40:25 +01:00