1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 20:19:23 +00:00
Go to file
2017-03-22 15:15:12 +01:00
assets
docs bootloader+loader: rework build, make clear what is bootloader and what is loader in docu 2017-03-20 16:00:10 +01:00
micropython bootloader: change stage2 to loader 2017-03-21 16:06:54 +01:00
mocks
src trezor.ui: fix of fix confirmation 2017-03-22 15:15:12 +01:00
tests modtrezorcrypto: add Blake2b 2017-02-28 18:47:27 +01:00
tools tools: fix firmwarectl to reflect loader rename 2017-03-20 16:03:02 +01:00
vendor modtrezorcrypto: use BLOCK_LENGTH and DIGEST_LENGTH across all hash functions 2017-03-20 21:07:20 +01:00
.gitignore
.gitmodules
.travis.yml travis: fix build 2017-03-20 16:04:43 +01:00
emu.sh
LICENSE.md convert license to markdown 2017-03-20 22:59:17 +01:00
Makefile build: reorg makefiles 2017-03-20 17:45:40 +01:00
Makefile.bootloader trezorhal: use display_print instead of mp_hal_stdout in our version of stm32_it.c 2017-03-21 16:06:54 +01:00
Makefile.firmware extract common stuff into trezorhal/common.[ch] 2017-03-21 02:09:17 +01:00
Makefile.loader trezorhal: use display_print instead of mp_hal_stdout in our version of stm32_it.c 2017-03-21 16:06:54 +01:00
README.md markdown: follow commonmark spec 2017-03-20 15:49:11 +01:00

TREZOR Core

TREZOR Core

Build Status gitter

This is the core of the upcoming TREZOR v2.

Documentation

Build instructions for emulator

Linux

Debian/Ubuntu

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libsdl2-dev:i386 libsdl2-image-dev:i386
make build_unix

Fedora

sudo yum install SDL2-devel.i686 SDL2_image-devel.i686
make build_unix

openSUSE

sudo zypper install libSDL2-devel-32bit libSDL2_image-devel-32bit
make build_unix

OS X

brew install --universal sdl2 sdl2_image
make build_unix

Windows

Not supported yet ...

Build instructions for ARM

Linux

For flashing firmware to blank device (without bootloader) by make flash, please install stlink.

Debian/Ubuntu

sudo apt-get install gcc-arm-none-eabi libnewlib-arm-none-eabi
make build_trezorhal

OS X

  1. Download gcc-arm-none-eabi
  2. Follow the install instructions
  3. To install stlink, run brew install stlink