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

154 Commits

Author SHA1 Message Date
Pavol Rusnak
0b7dbc12cb
format: start using clang-format with style=Google 2019-03-29 16:35:27 +01:00
Pavol Rusnak
3d82cca381
trezorhal: refactor erasing sectors 2019-02-22 17:22:46 +01:00
Pavol Rusnak
5d645ef61b
bootloader: refactor mpu settings 2019-02-21 19:39:50 +01:00
Pavol Rusnak
828ba7b5b0
bootloader: enable MPU, introduce delays to USB stack 2019-02-21 16:53:17 +01:00
Pavol Rusnak
b24c062a3d
firmware: bundle latest bootloader, replace it when needed 2019-02-19 13:21:34 +01:00
Pavol Rusnak
ee3e313230
firmware: use OTP block 3 for storing randomness 2019-02-18 17:28:40 +01:00
Pavol Rusnak
8832c6e63b
embed/trezorhal: rename flash functions
flash_erase_sector -> flash_erase
flash_lock -> flash_lock_write
flash_unlock -> flash_unlock_write
2019-02-15 12:39:18 +01:00
Pavol Rusnak
806805e296
replace all usage of memset(_, 0, _) with memzero 2019-01-23 17:16:46 +01:00
Pavol Rusnak
587efeafa7
embed: update changelog, bump versions 2018-12-05 12:26:45 +01:00
Pavol Rusnak
8120ee91f6
boardloader+bootloader: bump versions 2018-12-04 14:20:16 +01:00
Pavol Rusnak
0ab0f9e418
unix: refactor T1 touch events to behave similarly to T2 touch events 2018-10-02 17:24:47 +02:00
Pavol Rusnak
3ceb9c42ee
bootloader: check both touch_is_detected and touch_read to detect touch 2018-08-21 17:34:34 +02:00
Pavol Rusnak
e7a74ccfee
embed: add support for GC9307 display driver 2018-08-02 18:30:43 +02:00
Pavol Rusnak
7ca460457e
embed: refactor sdcard/touch, extract touch_power_on/off functions from touch_init 2018-07-23 11:58:35 +02:00
Pavol Rusnak
fecc6e53a0
tools: update tools to generate clang-format compatible output 2018-07-18 12:17:51 +02:00
Pavol Rusnak
aa1a036216
bootloader: use SL keys by default (keep universal keys in comment) 2018-07-05 13:48:44 +02:00
Pavol Rusnak
e7b761e66f
embed: refactor sector_count constants 2018-06-20 14:54:15 +02:00
Milan Rossa
db763bf05d bootloader: ask again for block if invalid (#230)
fixes #135
2018-06-11 19:36:03 +02:00
Pavol Rusnak
a3af8faf23
boardloader/bootloader: use static const for sector arrays; erase storage if firmware is broken 2018-06-06 01:03:06 +02:00
Pavol Rusnak
68669dd8e4
firmware: disable WebUSB landing page (#174) 2018-06-04 13:50:23 +02:00
Pavol Rusnak
ffc2bf30b8
src: remove CoinType usage, usage internal CoinInfo instead 2018-05-24 15:18:05 +02:00
Pavol Rusnak
14b0d4439a
embed: add GPLv3 source code headers 2018-02-26 14:07:37 +01:00
Pavol Rusnak
21bb815945
embed/trezorhal: move mpu to trezorhal - enable it in firmware 2018-02-23 19:08:34 +01:00
Pavol Rusnak
3eab20e278
embed: refactor MIN/MAX macros in common.h 2018-02-22 20:35:32 +01:00
Pavol Rusnak
4ad6a7a634
embed/bootloader: increase USB timeout to 500 2018-02-13 23:11:18 +01:00
Pavol Rusnak
5ded086800
embed/trezorhal: introduce jump_to_unprivileged, disable mpu in bootloader 2018-02-13 20:51:14 +01:00
Pavol Rusnak
302a31e8d2
embed/bootloader: enable mpu and drop to unprivileged mode before running a firmware 2018-02-13 19:36:03 +01:00
Pavol Rusnak
1469ede956
embed: bump versions 2018-02-13 11:54:08 +01:00
Pavol Rusnak
7b2fd6ae4c
embed/bootloader: move Welcome! string 5px above 2018-02-12 14:57:50 +01:00
Pavol Rusnak
936f0e3e26
embed: fix 3 TODO items 2018-02-12 14:51:41 +01:00
Pavol Rusnak
8a409bd99a
embed/bootloader: move USB_IFACE_NUM to main.c 2018-02-12 14:44:09 +01:00
mcudev
0a15b03917 bootloader: fix process_msg_unknown remaining chunk calculation 2018-02-12 14:40:50 +01:00
Pavol Rusnak
34c6fb987a
embed/bootloader: better detection of broken firmware at start 2018-02-10 17:52:45 +01:00
Pavol Rusnak
a25af7d22a
embed/extmod/modtrezorui: refactor text bar prefill into from display.c into extmod 2018-02-06 22:55:20 +01:00
Pavol Rusnak
47c598b56e
embed/bootloader: don't show build field in version (stick to major.minor.patch) 2018-02-06 17:18:37 +01:00
Pavol Rusnak
1c5beb1c12
embed/bootloader: add information about firmware (version, vendor, etc.) to Features message 2018-02-06 17:06:43 +01:00
Pavol Rusnak
e865012663
bootloader: use webusb by default 2018-02-03 16:40:52 +01:00
Pavol Rusnak
b8b8e38765
trezorhal: rename winusb_enabled to usb21_enabled 2018-02-02 16:02:37 +01:00
Pavol Rusnak
4f44c2577b
trezorhal: add option to programatically enable/disable WinUSB 2018-02-02 15:27:04 +01:00
Pavol Rusnak
488e516cbf
trezorhal: add device_class, etc. to usb object 2018-01-31 16:46:15 +01:00
Pavol Rusnak
52a942afd4
bootloader: fix anti-aliasing in install icon 2018-01-31 16:46:15 +01:00
Pavol Rusnak
c934109d65
boardloader, bootloader: bump versions to 2.0 2018-01-28 16:56:05 +01:00
Pavol Rusnak
0b4c703813
bootloader: update booting ui 2018-01-28 13:47:03 +01:00
Pavol Rusnak
08c145c4da
trezorhal: fix winusb 2018-01-28 02:43:02 +01:00
Pavol Rusnak
5e4b632f14
bootloader: firmware: use "Go to" instead of "Open", because that's what Chrome uses :-/ 2018-01-28 02:43:02 +01:00
Pavol Rusnak
ba8224f598
trezorhal: remove configuration from usb string table 2018-01-28 02:43:00 +01:00
Pavol Rusnak
55d0416641
trezorhal: make usb stack more robust 2018-01-27 17:27:57 +01:00
Pavol Rusnak
efd926208d
bootloader: refactor version formatting into format_ver 2018-01-26 16:05:45 +01:00
Pavol Rusnak
c0220192d4
tools: fix binctl script 2018-01-26 15:51:19 +01:00
Pavol Rusnak
0d7f486733
bootloader: show different dialogs for firmware upgrade and vendor change 2018-01-26 15:51:19 +01:00