Commit Graph

224 Commits (cb4c5a72bf011f7822beb72b840000c565b91052)

Author SHA1 Message Date
matejcik 87433995b0 core: add BITCOIN_ONLY to mock file
4 years ago
Tomas Susanka 8859d103f4 core, legacy: bump versions
4 years ago
Ondřej Vejpustek 24ceb0ab6b crypto/bignum: change limb size to 29, add tests
4 years ago
Ondrej Mikle b01b24f090 core: change startup firmware file from .s to .S which enables preprocessing and fixes TT boot
4 years ago
Ondrej Mikle 10f0f107e0 core: Adds T1 core port FW flashing options for for openocd and jlink
4 years ago
Ondrej Mikle 0d65d684f0 core: T1 port can run on T1 bootloader with MEMORY_PROTECT=0
4 years ago
matejcik aa52fc3903 core/extmod: drop unused rfc6979 module
4 years ago
matejcik 050936d0d7 core: enable finalizers on extmod classes
4 years ago
matejcik 7f2e7b0003 core: add Ethereum constants to mocks
4 years ago
Ondrej Mikle 7eddafe487 core: better formatting for common parts of T1 and TT header
4 years ago
Ondrej Mikle c4c341b3f9 core: setup stack when running core on T1
4 years ago
Ondrej Mikle e429085e96 core: copy firmware header for T1 port into final binary
4 years ago
Ondrej Mikle d8115a7992 core: firmware header for T1 port
4 years ago
Pavol Rusnak 25cc836660
core/extmod: fix build of modtrezorui when TREZOR_MODEL is set to '1'
4 years ago
Tomas Susanka 47f104bceb core, legacy: bump versions
4 years ago
Ondřej Vejpustek c461692f3a core: implement random delay interrupts
5 years ago
matejcik 2ccebd3175 core: raise SystemExit when exitting emulator (now that sys.exit is removed)
5 years ago
matejcik 4bddeefea0 core: unify mpconfigports for emulator and board
5 years ago
matejcik d0f709b8cc core: fix and use MAKEMODULEDEFS instead of explicit registration
5 years ago
matejcik a6976355c3 core: remove readline from built firmware
5 years ago
Pavol Rusnak a7806d08d7
core/crypto: remove unused bip32.deserialize function
5 years ago
Pavol Rusnak 1695228d80
core/crypto: remove unused serialize_private function
5 years ago
Pavol Rusnak f07ff17fad
core/crypto: add missing field to Blake2b constructor
5 years ago
Pavol Rusnak 336a417233 core/bootloader: distinguish between a vendor change and downgrade with wipe
5 years ago
Ondrej Mikle 634ed5aabc
core: commands for flashing via JLink (#911)
5 years ago
matejcik 3789a3372b core/sdcard: modify exception handling in fatfs
5 years ago
Andrew Kozlik bfd834d1de storage: Add storage_ensure_not_wipe_code().
5 years ago
Dusan Klinec 2658e253fa xmr/bp: memory optimizations and improvements
5 years ago
Tomas Susanka 86b010a18b
Merge pull request #878 from trezor/matejcik/fatfs-corruption
5 years ago
matejcik 9ab84d2455 core/tests: thoroughly test modified APIs
5 years ago
matejcik b24411b900 core/sdcard: unmount instance when powering off sdcard
5 years ago
matejcik c81be584fb core/fatfs: ensure functions can only be called on a mounted filesystem
5 years ago
matejcik fa746e2990 core/fatfs: rework low-level FatFS API
5 years ago
Pavol Rusnak c896f02eb3
core/boardloader: use SRAM as SD card read buffer
5 years ago
Andrew Kozlik 2133f7cf29 core: Prevent data loss when writing to USB VCP.
5 years ago
Pavol Rusnak 39ce100608
Merge pull request #864 from trezor/prusnak/bootloader-text-break
5 years ago
matejcik 4ed6487a19 core/sdcard: add out-of-bounds checks to emulator
5 years ago
matejcik d0b1b171f1 core/sdcard: ensure emulator initializes the SD card when first needed
5 years ago
matejcik 5bd8d9b5bb core/sdcard: make allocating new SD card for emulator fast
5 years ago
matejcik b2084a19be core/trezorio: move sdcard functions to a submodule
5 years ago
matejcik 30529d218d core/sdcard: change SDCard methods to plain functions
5 years ago
matejcik 06b89c57c5 core/sdcard: return proper disk status flags to fatfs
5 years ago
Pavol Rusnak dc66bbe3d5
core/bootloader: split long vendor string
5 years ago
Pavol Rusnak 74802a107e
core/modtrezorui: add display_text_split
5 years ago
Pavol Rusnak c4babd3c0b
Merge pull request #846 from trezor/bootloader-read-retry
5 years ago
Pavol Rusnak 581e46ff87
Merge pull request #845 from trezor/prusnak/webusb-popup
5 years ago
Pavol Rusnak 2958a97c87
Merge pull request #830 from trezor/tsusanka/fw-upgrade
5 years ago
Pavol Rusnak 63dfd6c6ab
core/bootloader: make read more benevolent and read error more helpful
5 years ago
Pavol Rusnak 07cd73ce57
core: show webusb popup only in bootloader and only if firmware is not installed
5 years ago
matejcik c14429c445 all: shut down emulator on error_shutdown
5 years ago
Tomas Susanka 2c0504ad1c
Merge pull request #803 from trezor/passphrase
5 years ago
Pavol Rusnak 32f8f1cb61
core/embed: update fatfs to 0.14; use upstream version
5 years ago
Pavol Rusnak 73ed2f3450
legacy: small nitpicks related to the new passphrase handling
5 years ago
Tomas Susanka 1343583d21
core: bump version to 2.3.0
5 years ago
Tomas Susanka a02d7e3daf core/bootloader: request vendor header first
5 years ago
matejcik d28e33ef02 core/headertool: support generating vendor headers with explicit size
5 years ago
Pavol Rusnak 6dbed1424f
core+legacy: update nanopb api to version 0.4
5 years ago
Pavol Rusnak 3eb7775659
core/bootloader: regenerate protobuf messages
5 years ago
Pavol Rusnak 4647e7d686
core+legacy: use nanopb generator from pipenv
5 years ago
matejcik 75264a07a8
Emulator launcher scripts (#796)
5 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
matejcik 27c4c2dd50 core: do not let frozen emulator import live files
5 years ago
matejcik 9341f0d584
core: improve building of vendor headers
5 years ago
Pavol Rusnak 500156b9ba
core/embed: don't use local copy of inflate
5 years ago
Tomas Susanka 7c41b40dff
tests: introduce UI tests for core with diffs (#784)
5 years ago
Milan Rossa 8b31c6fcf4
core: increase stack size for unix port
5 years ago
Pavol Rusnak 9bc3af08b2
core: update mpconfigport.h from upstream (for both stm32 and unix)
5 years ago
Jan Pochyla 655ec0a70c core/unix: update main.c from upy 1.12
5 years ago
Jan Pochyla 7deade5a10 core/firmware: PendSV_Handler is defined in pendsv.c
5 years ago
Jan Pochyla ecc4313a34 core/usb: avoid naks in hid/webusb rx interfaces
5 years ago
Tomas Susanka 51ef963738 tests: introduce UI tests for core
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 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