Commit Graph

184 Commits (6a8ce5b5c001056fd28623127f8231442811f714)

Author SHA1 Message Date
tychovrahe 33fb590f44 refactor(core): decouple i2c driver and touch driver
1 year ago
matejcik ca5a68ebc5 fix(core): unify error strings
1 year ago
tychovrahe 9b8984896e refactor(core): unify error screens
1 year ago
tychovrahe 64bc94cbc9 feat(core): uninitialized welcome flow
1 year ago
tychovrahe 6e0c2578f8 fix(core): fix FMC initialization
1 year ago
matejcik 9244522721 fix(core): remove `shutdown()`
1 year ago
tychovrahe e30fdddd83 fix(core): clear model R display before turning it on
1 year ago
tychovrahe 5a991f3244 feat(core/rust): bootloader implementation in rust
1 year ago
tychovrahe ead61d1e90 refactor(core): improve flexibility of build, allow different touch panel driver, allow STM32F429
1 year ago
tychovrahe 52cd43bf29 fix(core): improve tearing effect prevention
1 year ago
tychovrahe 115f7daaaa feat(core): prevent installing and running of incompatible firmware, prevent bootloader downgrade
1 year ago
tychovrahe 3cc66301c3 fix(core): fix model T FMC timing
2 years ago
tychovrahe 4c7060186a fix(core): fix display blinking by increasing backlight pwm frequency
2 years ago
tychovrahe 0d733d8e22 feat(core): change display type for model R
2 years ago
tychovrahe a89d139dc9 feat(core): increase clock frequency to 180 MHz
2 years ago
tychovrahe 86f2dacc6e fix(core): re-introduce touch event filtering
2 years ago
tychovrahe f7b9bb4ef8 feat(core/rust): use dma2d to improve rendering performance, implement text over image and icon over icon functions
2 years ago
tychovrahe b9647d1296 fix(core): fix flashing usb disconnected error
2 years ago
Ondrej Mikle 77cdf4b43c fix(core): consider device in USB suspend connected if it was configured before
2 years ago
Ondrej Mikle a0287698d5 feat(core): show blue dot when USB data not connected
2 years ago
tychovrahe 6cf92fd748 feat(core): Introduce stack overflow detection by moving stack to the start of RAM
2 years ago
tychovrahe f538547d5b feat(core): optimize touch controller communication
2 years ago
TychoVrahe a762e75fee
fix(core): reintroduce touch controller initialization without power down/up in firmware, fix model R firmware initialization
2 years ago
tychovrahe c33f92bd72 feat(core): add RGB LED driver for Model R
2 years ago
matejcik 2aa427a6e3 feat(core/rust): make Rust buildable without Micropython
2 years ago
Ondrej Mikle 7b7318c3aa feat(core/boardloader): add fixed-address boardloader capablities field
2 years ago
Ondrej Mikle c563c987e1 feat(core): jump back and stay in bootloader for TT via reverse SVC call trampoline
2 years ago
tychovrahe 58041036f5 feat(core): set colors for monochromatic displays
2 years ago
tychovrahe 936c84bac6 feat(core): added button support for Model R
2 years ago
grdddj 6b5f578d02 feat(core): implement basic R emulator
2 years ago
Andrew Kozlik 822b1c344f feat(core): Return fw_vendor in firmware Features message.
2 years ago
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
3 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
5 years ago
Pavol Rusnak 7a2e0c3412
core/embed: don't call functions via supervisor if in privileged mode
5 years ago
Jan Pochyla ecc4313a34 core/usb: avoid naks in hid/webusb rx interfaces
5 years ago
Pavol Rusnak 8572a5a942
core: fix interrupt usage in usbd_conf
5 years ago
Ondrej Mikle 0064fda203
core: check whether USB structures are correct to avoid faults in shutdown
5 years ago
Pavol Rusnak a9454b216d
core: move delay.c from trezorhal to firmware, fix prodtest build
5 years ago
Pavol Rusnak a9e5149b95
core: reorganize source code to allow boardloader build
5 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
matejcik 835d5df175
core: reset i2c bus when detected busy
5 years ago
Pavol Rusnak f7053d96fe
all: remove extraneous whitespace
5 years ago
matejcik e5670856a2 MONOREPO CREATE FROM trezor-core
5 years ago