Commit Graph

53 Commits (1da446a8fb0aae047cfa79ce2bc15cbae5b1229a)

Author SHA1 Message Date
Andrew Kozlik 1da446a8fb refactor: Move flash_init to emulator main.
2 years ago
Andrew Kozlik 106ab65e21 feat(core): Implement GetFirmwareHash message.
2 years ago
TychoVrahe 7912a7d0d3
build(core,storage): fix conditional compilation for different Trezor models
2 years ago
Pavol Rusnak 35d40cc164 fix(core): change logic of vendor header comparison
2 years ago
Ondrej Mikle 0b077fea8a fix(core & legacy): explicit compiler versions
3 years ago
Ondrej Mikle e982181148 style(core & legacy): buggy compiler checks
3 years ago
Ondrej Mikle 6ea4b7b211 fix(core & legacy): better styled compiler checks
3 years ago
Martin Milata bd005e33df refactor(core): decouple T1 button handling from touch
3 years ago
Martin Milata f06a57237b style(core): trezorhal/random_delays.c
3 years ago
Pavol Rusnak 8cfa5da1ce
docs: fix typos in comments
3 years ago
Ondřej Vejpustek b8b0ae09d9 fix(core): use unprivileged shutdown where needed
3 years ago
Ondřej Vejpustek 5984fd6ad7 feat(core): jump to unprivileged mode after shutdown
3 years ago
Ondřej Vejpustek 40b4f679f9 feat(core): implement wrapper for svc_shutdown
3 years ago
Ondřej Vejpustek 311288407e docs(core): document shutdown_privileged
3 years ago
Ondřej Vejpustek 4968d7da53 feat(core): implement svc shutdown
3 years ago
Ondřej Vejpustek cca9d4b1c4 refactor(core): rename shutdown to shutdown_privileged
3 years ago
Pavol Rusnak 23aa69caea fix(core): unify Features.revision reporting with legacy
3 years ago
Ondřej Vejpustek 6fd4739c5c feat(core): make random delays use chacha_drbg
3 years ago
Ondřej Vejpustek e1a5f42c81 feat(core): make chacha_drbg more robust
3 years ago
Ondřej Vejpustek 8ee17f69b3 refactor(core): move wait_random and rdi into separate file
3 years ago
mcudev e3539b0a73 core/embed/usb: add back usb fs code for t1 and redo fifo sizing
3 years ago
mcudev 6137a55b06 core/embed/usb: use all available usb endpoints and update the usb fifo sizing
3 years ago
Pavol Rusnak 3294a49cec
fix(core): don't assert reset flags to allow "reboot to bootloader"
3 years ago
Andrew Kozlik a8c500bffd feat(core): Ensure that WebAuthn runs on port 21326 by default for both production and debug emulator.
3 years ago
Pavol Rusnak efac5d56f5
fix(core): change touch i2c clock speed to 200 kHz
3 years ago
Ondrej Mikle ce3a6b649c feat(core): systemview header
3 years ago
Ondrej Mikle 5f837e12b9 feat(core): send messaged through systemview
3 years ago
Ondrej Mikle 60e4e06aa5 feat(core): measure systick with systemview
3 years ago
Pavol Rusnak 179645e3ad core: unify usage of TREZOR_MODEL
4 years ago
Ondrej Mikle c877dc8dd6 core: port storage to T1
4 years ago
Ondřej Vejpustek c461692f3a core: implement random delay interrupts
4 years ago
Andrew Kozlik 2133f7cf29 core: Prevent data loss when writing to USB VCP.
4 years ago
Tomas Susanka a02d7e3daf core/bootloader: request vendor header first
4 years ago
Pavol Rusnak 3de1b3aa54
core/embed: switch to unprivileged in main.c
4 years ago
Pavol Rusnak 7a2e0c3412
core/embed: don't call functions via supervisor if in privileged mode
4 years ago
Jan Pochyla ecc4313a34 core/usb: avoid naks in hid/webusb rx interfaces
4 years ago
Pavol Rusnak 8572a5a942
core: fix interrupt usage in usbd_conf
4 years ago
Ondrej Mikle 0064fda203
core: check whether USB structures are correct to avoid faults in shutdown
4 years ago
Pavol Rusnak a9454b216d
core: move delay.c from trezorhal to firmware, fix prodtest build
4 years ago
Pavol Rusnak a9e5149b95
core: reorganize source code to allow boardloader build
4 years ago
Pavol Rusnak 43da0d754a
core/embed: decrease SD card operations timeout to 5s
5 years ago
Pavol Rusnak b34675401c
core/embed: add explicit fault handlers
5 years ago
Pavol Rusnak c8c27dcd2f
core/embed: enable/disable SDIO/DMA interrupts via supervisor calls
5 years ago
Pavol Rusnak 990a91cd13
core/embed: enable DMA for SDIO operations
5 years ago
Pavol Rusnak dcff4ade01
core: use set_clr_card_detect to disable SD card pull-up resistor
5 years ago
Andrew Kozlik 2142b37f86 core/usb: Ensure that USB interface is not busy before writing.
5 years ago
Pavol Rusnak 1ec5d091fd core/usb: call wait_random just before returning the data
5 years ago
Pavol Rusnak 54d348228f
all: rename TREZOR to Trezor where possible
5 years ago
Andrew Kozlik c2bdd1cf32 core/common: Change delay_random() to wait_random().
5 years ago
Andrew Kozlik f677a0f0db core: Use PRNG when generating random delays.
5 years ago