Commit Graph

247 Commits (6be367bf8b591d48e1e74d709c34319cff9df1d1)

Author SHA1 Message Date
Dusan Klinec 2658e253fa xmr/bp: memory optimizations and improvements
4 years ago
Tomas Susanka 86b010a18b
Merge pull request #878 from trezor/matejcik/fatfs-corruption
4 years ago
matejcik 9ab84d2455 core/tests: thoroughly test modified APIs
4 years ago
matejcik b24411b900 core/sdcard: unmount instance when powering off sdcard
4 years ago
matejcik c81be584fb core/fatfs: ensure functions can only be called on a mounted filesystem
4 years ago
matejcik fa746e2990 core/fatfs: rework low-level FatFS API
4 years ago
Pavol Rusnak c896f02eb3
core/boardloader: use SRAM as SD card read buffer
4 years ago
Andrew Kozlik 2133f7cf29 core: Prevent data loss when writing to USB VCP.
4 years ago
Pavol Rusnak 39ce100608
Merge pull request #864 from trezor/prusnak/bootloader-text-break
4 years ago
matejcik 4ed6487a19 core/sdcard: add out-of-bounds checks to emulator
4 years ago
matejcik d0b1b171f1 core/sdcard: ensure emulator initializes the SD card when first needed
4 years ago
matejcik 5bd8d9b5bb core/sdcard: make allocating new SD card for emulator fast
4 years ago
matejcik b2084a19be core/trezorio: move sdcard functions to a submodule
4 years ago
matejcik 30529d218d core/sdcard: change SDCard methods to plain functions
4 years ago
matejcik 06b89c57c5 core/sdcard: return proper disk status flags to fatfs
4 years ago
Pavol Rusnak dc66bbe3d5
core/bootloader: split long vendor string
4 years ago
Pavol Rusnak 74802a107e
core/modtrezorui: add display_text_split
4 years ago
Pavol Rusnak c4babd3c0b
Merge pull request #846 from trezor/bootloader-read-retry
4 years ago
Pavol Rusnak 581e46ff87
Merge pull request #845 from trezor/prusnak/webusb-popup
4 years ago
Pavol Rusnak 2958a97c87
Merge pull request #830 from trezor/tsusanka/fw-upgrade
4 years ago
Pavol Rusnak 63dfd6c6ab
core/bootloader: make read more benevolent and read error more helpful
4 years ago
Pavol Rusnak 07cd73ce57
core: show webusb popup only in bootloader and only if firmware is not installed
4 years ago
matejcik c14429c445 all: shut down emulator on error_shutdown
4 years ago
Tomas Susanka 2c0504ad1c
Merge pull request #803 from trezor/passphrase
4 years ago
Pavol Rusnak 32f8f1cb61
core/embed: update fatfs to 0.14; use upstream version
4 years ago
Pavol Rusnak 73ed2f3450
legacy: small nitpicks related to the new passphrase handling
4 years ago
Tomas Susanka 1343583d21
core: bump version to 2.3.0
4 years ago
Tomas Susanka a02d7e3daf core/bootloader: request vendor header first
4 years ago
matejcik d28e33ef02 core/headertool: support generating vendor headers with explicit size
4 years ago
Pavol Rusnak 6dbed1424f
core+legacy: update nanopb api to version 0.4
4 years ago
Pavol Rusnak 3eb7775659
core/bootloader: regenerate protobuf messages
4 years ago
Pavol Rusnak 4647e7d686
core+legacy: use nanopb generator from pipenv
4 years ago
matejcik 75264a07a8
Emulator launcher scripts (#796)
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
matejcik 27c4c2dd50 core: do not let frozen emulator import live files
4 years ago
matejcik 9341f0d584
core: improve building of vendor headers
4 years ago
Pavol Rusnak 500156b9ba
core/embed: don't use local copy of inflate
4 years ago
Tomas Susanka 7c41b40dff
tests: introduce UI tests for core with diffs (#784)
4 years ago
Milan Rossa 8b31c6fcf4
core: increase stack size for unix port
4 years ago
Pavol Rusnak 9bc3af08b2
core: update mpconfigport.h from upstream (for both stm32 and unix)
4 years ago
Jan Pochyla 655ec0a70c core/unix: update main.c from upy 1.12
4 years ago
Jan Pochyla 7deade5a10 core/firmware: PendSV_Handler is defined in pendsv.c
4 years ago
Jan Pochyla ecc4313a34 core/usb: avoid naks in hid/webusb rx interfaces
4 years ago
Tomas Susanka 51ef963738 tests: introduce UI tests for core
4 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 6198509948
core: bump version to 2.2.1; update changelog
5 years ago
Milan Rossa 6d932a8a1d core/embed/unix/flash: Don't reopen flash emulation file.
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 046ff607d3
Merge branch 'sdcard-dma'
5 years ago
Milan Rossa 91007bafe9 core/unix/main: Print memory info (peak memory) when TREZOR_LOG_MEMORY env var is set. Part of #194
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
Andrew Kozlik a3b608d8dd storage, core: Reveal the wipe code status after the device is unlocked.
5 years ago
Andrew Kozlik a168d661cf core: Add support for ChangeWipeCode message.
5 years ago
Pavol Rusnak d761a57689
storage: introduce FLAGS_APPID
5 years ago
Pavol Rusnak 1caae698ca
storage: make FLAG_PUBLIC and FLAGS_WRITE part of public API
5 years ago
Pavol Rusnak 4462fb522c
core/nem: don't use mp_obj_new_str_of_type
5 years ago
Pavol Rusnak 58a865dd05
core/embed/unix: fix sdcard_init behaviour
5 years ago
Pavol Rusnak c617035a3e
core: bump version to 2.1.9
5 years ago
Pavol Rusnak 5fe2f7e59c common/protob: remove ButtonRequest.data field
5 years ago
Tomas Susanka 0511cc8b8c core: add final mypy fixes!
5 years ago
Pavol Rusnak ab62715606
core: bump version to 2.1.8
5 years ago
Pavol Rusnak 1bdc83838b
legacy+core: properly handle non-printable ascii characters
5 years ago
Andrew Kozlik c25a41aa57 core: Fix mypy warnings in FatFS and SD salt code.
5 years ago
Pavol Rusnak 5f980b50a0
core/monero: refactor bulletproof look-up-tables
5 years ago
Pavol Rusnak dcff4ade01
core: use set_clr_card_detect to disable SD card pull-up resistor
5 years ago
Pavol Rusnak 7394ecfa77
core: add exist_ok parameter to fatfs.mkdir
5 years ago
Pavol Rusnak 78041d261b
crypto: refactor bip39 api
5 years ago
Tomas Susanka eca0a719db core: bump version to 2.1.7
5 years ago
Andrew Kozlik 6350b1c61c core: Implement SD card protection.
5 years ago
Andrew Kozlik 4f01003637 storage: Add external salt parameter to unlock() and change_pin().
5 years ago
Pavol Rusnak 2711ce2a3d
Merge pull request #394 from trezor/andrewkozlik/fido2-squashed
5 years ago
matejcik cad297ed36 style: fix weirdness in modtrezorio-fatfs.h
5 years ago
Andrew Kozlik 84674a7463 core/usb: Add write_blocking() to trezor.io.HID.
5 years ago
Andrew Kozlik 2142b37f86 core/usb: Ensure that USB interface is not busy before writing.
5 years ago
Ondrej Mikle 59ee3750d1
core/modtrezorio: raise exception when directory listing fails on disk error or other error
5 years ago
Ondrej Mikle 24359ea074
core/modtrezorio: use upstream's fix of read-after-buffer
5 years ago
Ondrej Mikle 972a96f1a0
core/modtrezorio: raise error when no space left on FAT FS
5 years ago
Pavol Rusnak 743f57afdb
core/modtrezorio: use ff_unifdef.sh preprocessor
5 years ago
Pavol Rusnak 49a98a5015
core/modtrezorio: enable FatFS.mkfs only in emulator
5 years ago
Pavol Rusnak d40b7c0385
core/modtrezorio: enable LFN+Unicode in FatFS
5 years ago
Pavol Rusnak aa8d14c0ea
core/modtrezorio: add FatFS support
5 years ago
Pavol Rusnak 324cb651c6
core+legacy: update bootloader ChangeLogs
5 years ago
Tomas Susanka f5af4e4fe0 core: bump version to 2.1.6
5 years ago
Pavol Rusnak 908bbfffef
core: remove remaning utility code for Bitcoin only firmware
5 years ago
Pavol Rusnak c815bc410c
core: remove remaning Decred/Zcash code for Bitcoin only firmware
5 years ago
Pavol Rusnak 4036f2243b
core: introduce linker script for BITCOIN_ONLY
5 years ago
Pavol Rusnak 07ef01f3e4
core: introduce BITCOIN_ONLY flag
5 years ago
Tomas Susanka 0f742bc3a7 core: bump to 2.1.5, add changelog for 2.1.4
5 years ago
Andrew Kozlik 8297b81cd5 core/crypto: Add AES mode constants.
5 years ago
Tomas Susanka 0ac0daf148 core: bump to 2.1.4
5 years ago
Andrew Kozlik 0a594ea1e9
Merge pull request #280 from trezor/andrewkozlik/slip-0021
5 years ago
Tomas Susanka 4b1955dcd3 core/embed: add hint in fatal error on unix
5 years ago
Tomas Susanka 6af7a6b3d6 core: bump version to 2.1.3
5 years ago
Andrew Kozlik 217c910b4b cardano: Implement SLIP-0023 and add SLIP-0039 support for Cardano.
5 years ago
Tomas Susanka d2597d54c1 core/shamir: persistence
5 years ago
andrew 5f604b5fea core/seed: Add SLIP-0021 implementation and tests.
5 years ago
Jan Pochyla 0f6f05e4b7 core/typing: fix extmod docs and mocks
5 years ago
Jan Pochyla 3af75c0b8b core/typing: improve extmod types
5 years ago
Milan Rossa 22f562e275
core: add status to main_exit function
5 years ago
Pavol Rusnak 1ec5d091fd core/usb: call wait_random just before returning the data
5 years ago
Tomas Susanka 10f15a6952 core: bump version to 2.1.2
5 years ago
Tomas Susanka 49d6a35249 core: add slip39 keyboard
5 years ago
Pavol Rusnak 312224b7a3
core: fix style
5 years ago
Pavol Rusnak e432c37df0
core/sdcard: read/write now don't return bool, but rather throw an Exception instead
5 years ago
Pavol Rusnak c8bc21a393
core: bump SD card capacity to 64MB in emulator
5 years ago
Pavol Rusnak 54d348228f
all: rename TREZOR to Trezor where possible
5 years ago
Jan Pochyla 416226648c core: rotate touch coordinates by default
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
Roman Zeyde b538eb3375
core/secp256k1_zkp: refactor API into a Context class
5 years ago
Milan Rossa 779ff86214
core: redesign multiprofile support, add profile verbosity
5 years ago
Pavol Rusnak 11aac67c82
core: fix last commit
5 years ago
Pavol Rusnak ae749eedee
core/secp256k1_zkp: don't allocate static buffer
5 years ago
Pavol Rusnak f7053d96fe
all: remove extraneous whitespace
5 years ago
matejcik 0b50d671e1 make gen && make style
5 years ago
matejcik 482b4569f5 build: fix and auto-generate mock files
5 years ago
matejcik ffcb5e99cc mocks: fix shamir package
5 years ago
Pavol Rusnak f7d41cbbd7
core+legacy: drop NOUI and HEADLESS, SDL_VIDEODRIVER works fine
5 years ago
Pavol Rusnak 35945239eb
core/embed: use MP_ROM_INT instead of MP_OBJ_NEW_SMALL_INT where intended
5 years ago
matejcik 2e578572dd add EOS support
5 years ago
Andrew Kozlik 28c85dee8e
Merge pull request #85 from trezor/andrewkozlik/slip0039
5 years ago
Pavol Rusnak f27187e603
core: embed background images into the emulator binary
5 years ago
Pavol Rusnak 87f14965c4
core: finish frozen modules support
5 years ago
Pavol Rusnak eb1192bc2c
core: simplify emu.sh runner
5 years ago
Andrew Kozlik 0a99ad3f13 Merge remote-tracking branch 'origin/master' into andrewkozlik/slip0039
5 years ago
Pavol Rusnak 6e6ff78ce0
core: re-enable frozen modules in the emulator build
5 years ago
Andrew Kozlik e631983d6d Merge remote-tracking branch 'origin/master' into andrewkozlik/slip0039
5 years ago
Pavol Rusnak 1c00d868a9
core: bump versions of firmware to 2.1.1, bootloader to 2.0.4
5 years ago
Pavol Rusnak 2f77c53781
core: format last change
5 years ago
Pavol Rusnak a89a3bf6db
core: fix last commit
5 years ago
Pavol Rusnak c761351afa
core: add indeterminate flag to display_loader
5 years ago
Pavol Rusnak c995d9fa59
Revert "ui.display.loader: slice_span added for indeterminate loaders"
5 years ago
Dusan Klinec 9de96f6114
ui.display.loader: slice_span added for indeterminate loaders
5 years ago
Pavol Rusnak 8b06598474
core+legacy: rework code styling checks
5 years ago
Andrew Kozlik 1ee831f50c Merge remote-tracking branch 'origin/master' into andrewkozlik/slip0039
5 years ago
Andrew Kozlik c073d68a2d crypto/shamir: Improve error handling.
5 years ago
Tomas Susanka 5dc0a1ee0a core/extmod: return False or None consistently when a signature verification fails
5 years ago
Andrew Kozlik 0d21bca288 crypto: Move Shamir secret sharing to trezor-crypto.
5 years ago
Andrew Kozlik d2a399debf Merge remote-tracking branch 'core-local/andrewkozlik/slip0039' into andrewkozlik/slip0039
5 years ago
matejcik e5670856a2 MONOREPO CREATE FROM trezor-core
5 years ago