Commit Graph

128 Commits (167d476fff06532c583bfb9e2813f8049e42f032)

Author SHA1 Message Date
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
Pavol Rusnak 749b80ba03
bootloader: fix touch detection at start
7 years ago
mcudev ee7e6134a2 bootloader, firmware: do not need touch interrupt handlers or to enable touch interrupts (#59)
7 years ago
mcudev 73897c1147 boardloader: remove micropython related code that enables debug features to get clock cycle counts (#58)
7 years ago
Pavol Rusnak e10d40f846
bootloader: restart into firmware after update, don't shutdown
7 years ago
Pavol Rusnak c689b1f2cd
bootloader: remove debug code
7 years ago
mcudev 4bda828cbd boardloader: disable flash data cache (#57)
7 years ago
Pavol Rusnak 17c3d2b56f
bootloader: implement UI according to mockup
7 years ago
Pavol Rusnak fdafae7d8d
trezorhal: remove timer1_get_source_freq function
7 years ago
mcudev 4f16aed757 display: handle TEON and COLMOD the same for both display types (#55)
7 years ago
Pavol Rusnak 4a14fb6c4d
boardloader: move periph_init to lowlevel.c
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 b1d9a59a79
unix: fix build
7 years ago
Pavol Rusnak 82050912c4
bootloader: implement WipeDevice
7 years ago
mcudev ca8d93ab5d boardloader, bootloader, firmware: factor out display_pwm_init (#52)
7 years ago
Pavol Rusnak 2010213338
bootloader: first UI steps
7 years ago
mcudev 0e2a1da99b display: remove redundant display commands and increase wait after reset (#51)
7 years ago
Pavol Rusnak 001298a90e
boardloader: erase storage on failed option_bytes
7 years ago
Pavol Rusnak e8e3ed98f3
boardloader: usability fixes
7 years ago
Pavol Rusnak b6f9df10bb
display: set minimum possible values for sram controller
7 years ago
Pavol Rusnak 46a0dd8648
display: fix DataSetupTime for ST7789V
7 years ago
mcudev e2b66436df display: tearing effect cleanup
7 years ago
mcudev 26852e5aee boardloader: display_init stm32f42x updates
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 06fc509cbb
boardloader: reorder calls so one can abort also by ejecting SD card
7 years ago
Pavol Rusnak 8a707ce40d
boardloader: check flash_option_bytes at start
7 years ago
mcudev 70594a9bfe startup: setup the stack protector for the stage before main function (#46)
7 years ago
Pavol Rusnak 4c9e2d45a5
bootloader: use display_fade
7 years ago
Pavol Rusnak 204f0c55e4
bootloader: use ensure
7 years ago
Pavol Rusnak bdae87ddde
boardloader: small changes to program flow and display output
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 73214017fa clear_otg_hs_memory: Delay after an RCC peripheral clock enabling
7 years ago
mcudev 7103404b90 RNG: Delay after an RCC peripheral clock enabling
7 years ago
Pavol Rusnak c5dfa37f3e
boardloader: don't call copy_sdcard twice
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 9a0c8f4687
build: introduce PRODUCTION flag
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