Commit Graph

164 Commits (28e2970cfb6bf978aa0d18a01a0c33e4254df7a3)

Author SHA1 Message Date
Pavol Rusnak d2ecae71d7
trezorhal: return position of last touch event from touch_click
7 years ago
Pavol Rusnak 6b9751d30d
trezorhal: cleanup usb api
7 years ago
Pavol Rusnak 4f041e9f3a
trezorhal: update sdcard api
7 years ago
Pavol Rusnak 3033762618
trezorhal: make touch_init and usb_init return void, use ensure inside
7 years ago
Pavol Rusnak 79fe9162b5
trezorhal: simplify api for init functions, use bool and void rather than int
7 years ago
Pavol Rusnak b51ca0a16e
trezorhal: remove extra comment
7 years ago
mcudev fc7b1cfe81 flash_init: remove empty function from all stages
7 years ago
mcudev 167d476fff image_parse_header: remove undefined behavior and other updates (#61)
7 years ago
mcudev a0286bcc29 build: further cleanup common symbols (#63)
7 years ago
mcudev ee7e6134a2 bootloader, firmware: do not need touch interrupt handlers or to enable touch interrupts (#59)
7 years ago
mcudev 4bda828cbd boardloader: disable flash data cache (#57)
7 years ago
mcudev 45a4a944d0 boardloader, bootloader, firmware: only call periph_init in boardloader (#54)
7 years ago
mcudev ac89203e7c SDIO: remove SDIO_IRQHandler and interrupt config (#53)
7 years ago
Pavol Rusnak 6ea9b105e5
boardloader, bootloader: reorder erasing of sectors, check whether sector was really erased
7 years ago
Pavol Rusnak 82050912c4
bootloader: implement WipeDevice
7 years ago
Pavol Rusnak 001298a90e
boardloader: erase storage on failed option_bytes
7 years ago
mcudev e4aec8f302 code cleanup 3: add note about timer wrap and use increment operator
7 years ago
mcudev a1c33e32f0 code cleanup 2: explicit .bss, linker map, and simpler systick
7 years ago
mcudev 5b634098d9 code cleanup
7 years ago
Pavol Rusnak 4831287357
embed: move call to usb_clear to shutdown function in assembler
7 years ago
Pavol Rusnak 88894e7a8d
embed: disable stack protector for SysTick_Handler
7 years ago
Pavol Rusnak a7625877ef
embed: call clear_otg_hs_memory from fatal_error
7 years ago
mcudev 7103404b90 RNG: Delay after an RCC peripheral clock enabling
7 years ago
Pavol Rusnak b60a1ad79f
embed: add shutdown function to fatal_error
7 years ago
Pavol Rusnak 2fc69bed61
embed: rename trassert to ensure
7 years ago
Pavol Rusnak 8cc8272fb3
build: pass gitrev, use it in fatal_error
7 years ago
mcudev 0c1f609675 SystemInit: add more waiting just to be sure (#41)
7 years ago
mcudev be92d9a7ee vector table updates (#40)
7 years ago
Pavol Rusnak 66b6406b7c
boardloader, bootloader: add write-protection and downgrade-protection respectively
7 years ago
Pavol Rusnak 380d08f1d0
embed: introduce trassert (trezor assert)
7 years ago
Pavol Rusnak d003c250d8
boardloader: refactor flash_option_bytes from trezorhal to boardloader/lowlevel
7 years ago
Pavol Rusnak 7babde646e
embed: more cleanup
7 years ago
Pavol Rusnak 6413c2c23e
embed: rework memory layout, enable stack protector
7 years ago
Pavol Rusnak 10ebd43261
firmware: move nlr_jump_fail from common to firmware
7 years ago
Pavol Rusnak eb345046d3
trezorhal: move internal constants to common.c
7 years ago
Pavol Rusnak 69953a91c5
trezorhal: code cleanup, combine stm32_it.c + stm32_system.c into stm32.c
7 years ago
mcudev ead626404b boardloader: issue 34 (#36)
7 years ago
mcudev 9ea975d37d jump_to: reset registers to zero (#33)
7 years ago
mcudev 8e96978ce2 boardloader, bootloader, firmware stage switching updates (#30)
7 years ago
Pavol Rusnak 7bbfba1ac0
boardloader, bootloader: moving embed/common/* to embed/trezorhal/*
7 years ago
mcudev 8d3540c858 boardloader, bootloader: jump_to memory clearing and simplify code to asm
7 years ago
mcudev f4e72aa4cc rng updates (#24)
7 years ago
mcudev a381819ad1 clock updates (#21)
7 years ago
Pavol Rusnak 78f57d083c
add vendor trust to vendorheader
7 years ago
mcudev 430117dd16 flash_otp_write: uninitialized variable
7 years ago
Pavol Rusnak 2bc37a10fe
use different set of keys for boardloader/bootloader/vendorheader
7 years ago
Pavol Rusnak a055f4e8fb
boardloader+bootloader: remove unneded STM32 include
7 years ago
mcudev 3bcd75fd94 issue 12: startup related changes
7 years ago
Pavol Rusnak 11e223850f
trezorhal: enable CSS (Clock Security System)
7 years ago
mcudev 58bad110e2 hardfault handler update
7 years ago
Pavol Rusnak d50eeb581a
trezorhal: introduce flash_write_{byte,word}
7 years ago
Pavol Rusnak 67d8d4fa2e
modtrezorio: add FlashOTP class
7 years ago
Pavol Rusnak 66930f2e37
trezorhal: add flash_otp functions
7 years ago
Jan Pochyla 1da18c955b trezorhal/sbu: use PA2/PA3
7 years ago
Pavol Rusnak a67be06349
trezorhal: add io.SBU
7 years ago
Pavol Rusnak be598582f5
trezorhal: remove trezorhal/hal directory
7 years ago
mcudev 5c21c4a96b better support ILI9341 testing, make tearing effect synch optional, minor fixes
7 years ago
Jan Pochyla 29b90465ce micropython: update submodule
7 years ago
Pavol Rusnak ae17af2313
Revert "usb: disable HS mode & U2F iface for now"
7 years ago
Jan Pochyla b61676cf89 usb: disable HS mode & U2F iface for now
7 years ago
Jan Pochyla 115bd995eb trezorhal/usb: fix string descriptors
7 years ago
Jan Pochyla d2781d030d msg: rename to io
7 years ago
Jan Pochyla 4c987454eb modtrezormsg: merge to modtrezorio
7 years ago
Jan Pochyla 55bd4a0806 rename /micropython to /embed
7 years ago