Commit Graph

189 Commits (4db5f56d0a516a419c3d77cee19eaa748d019580)

Author SHA1 Message Date
matejcik c3112fd83d embed/trezorhal: only poll CTPM when touch is detected
6 years ago
Pavol Rusnak b3e668db8b
embed/extmod/modtrezorconfig: small refactor to storage
6 years ago
Pavol Rusnak 113a557f17
embed/trezorhal+unix: small refactor to flash.c
6 years ago
Milan Rossa 32fe5d20af
unix: emulator debug build options
6 years ago
Pavol Rusnak 9beb6146e4
trezorhal: minor cleanup in touch for T1
6 years ago
Pavol Rusnak ddbcd7400f
firmware: enable touch for T1
6 years ago
Pavol Rusnak 0ab0f9e418
unix: refactor T1 touch events to behave similarly to T2 touch events
6 years ago
Pavol Rusnak 411c2a2b2a
trezorhal: enable USB on T1
6 years ago
Pavol Rusnak 45e10a2e79
embed: refactor cpu flags in sconscript files
6 years ago
Pavol Rusnak 2a06ff4986
embed/firmware: add T1 display support, apply T1 fixes
6 years ago
Pavol Rusnak f23f751ab0
extmod/modtrezorui: prepare display UI for model change
6 years ago
Pavol Rusnak 01a876f486
embed: add confirm/cancel actions to touch events
6 years ago
mcudev 1695533c8a touch: follow ft6236 power on sequence closer
6 years ago
Pavol Rusnak 9d4e38bd4c
embed: wait 100ms after turning off sdcard/touch circuit
6 years ago
Pavol Rusnak 08725c16e8
embed: fix sdcard issue
6 years ago
Pavol Rusnak c1209dcc17
embed: sdcard investigation
6 years ago
Pavol Rusnak 08d8cf6a25
embed: remove superfluous != NULL
6 years ago
Pavol Rusnak f1d8a3aaf2
embed: don't set pins to OUTPUT in {sdcard,touch}_active_pin_state when they were already set like this in {sdcard,touch}_default_pin_state
6 years ago
Pavol Rusnak 99c5d049b9
embed: moved configuration of SD detect pin to sdcard_default_pin_state
6 years ago
Pavol Rusnak ca9162f7b7
embed: introduce {sdcard,touch}_active_pin_state
6 years ago
Pavol Rusnak add16b6b27
embed: move {sdcard,touch}_default_pin_state to the beginning of {sdcard,touch}_init
6 years ago
Pavol Rusnak 7ca460457e
embed: refactor sdcard/touch, extract touch_power_on/off functions from touch_init
6 years ago
mcudev 0fbf2261cc boardloader: partial fix for powering off sd
6 years ago
Pavol Rusnak 2b30cc16a2
trezorhal: minor fixes to sdcard/touch power on sequence
6 years ago
Pavol Rusnak 6ce106b544
trezorhal: turn sdcard/cpt circuitry on/off using PC0/PB10 pin
6 years ago
Pavol Rusnak e7b761e66f
embed: refactor sector_count constants
6 years ago
Pavol Rusnak 68669dd8e4
firmware: disable WebUSB landing page (#174)
6 years ago
Pavol Rusnak 081dcdd98f
embed/unix: resize emulator window if no background image found
6 years ago
Pavol Rusnak 14b0d4439a
embed: add GPLv3 source code headers
6 years ago
Pavol Rusnak 2bb9d80c18
embed/unix: implement nice background into emulator
6 years ago
Pavol Rusnak fae8ffda9f
embed/trezorhal: simplify systick, remove microsecond precision
6 years ago
Pavol Rusnak 02358b3932
embed/trezorhal: move systick from vendor to trezorhal
6 years ago
Pavol Rusnak 21bb815945
embed/trezorhal: move mpu to trezorhal - enable it in firmware
6 years ago
Pavol Rusnak 2bebd0eec5
embed/trezorhal+unix: add copyright headers
6 years ago
Pavol Rusnak 3eab20e278
embed: refactor MIN/MAX macros in common.h
6 years ago
Pavol Rusnak 5ded086800
embed/trezorhal: introduce jump_to_unprivileged, disable mpu in bootloader
6 years ago
Pavol Rusnak c115faf2cd
embed/trezorhal/usb: correct handling of interface messages in usb_class_setup
6 years ago
Pavol Rusnak 936f0e3e26
embed: fix 3 TODO items
6 years ago
Pavol Rusnak 548b8cb25b
embed/trezorhal: move cmd_buffer into usb_vcp_state_t
7 years ago
Pavol Rusnak 40e20e2e9d
trezorhal: fix usb class behaviour
7 years ago
Pavol Rusnak 61b4e3d6e3
trezorhal: fix typos
7 years ago
Pavol Rusnak b8b8e38765
trezorhal: rename winusb_enabled to usb21_enabled
7 years ago
Pavol Rusnak 4f44c2577b
trezorhal: add option to programatically enable/disable WinUSB
7 years ago
Pavol Rusnak 488e516cbf
trezorhal: add device_class, etc. to usb object
7 years ago
Pavol Rusnak ebc585fd40
trezorhal: fix bug in flash_otp_write
7 years ago
Pavol Rusnak 1b712a0446
trezorhal: fix simple interface behaviour on windows
7 years ago
Pavol Rusnak 399d6d2f65
trezorhal: make webusb more robust
7 years ago
Pavol Rusnak 08c145c4da
trezorhal: fix winusb
7 years ago
Pavol Rusnak ba8224f598
trezorhal: remove configuration from usb string table
7 years ago
Pavol Rusnak 55d0416641
trezorhal: make usb stack more robust
7 years ago