1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-11 02:19:21 +00:00
Go to file
2017-04-01 13:53:53 +02:00
assets
docs build: refactor binctl and firmware/loader image stuff 2017-04-01 02:53:52 +02:00
micropython bootloader: lock flash/turn off sdcard when header invalid 2017-04-01 13:53:53 +02:00
mocks
src rebase micropython, min_time -> peektime 2017-03-31 11:30:31 +02:00
tests
tools build: refactor binctl and firmware/loader image stuff 2017-04-01 02:53:52 +02:00
vendor rebase micropython, min_time -> peektime 2017-03-31 11:30:31 +02:00
.gitignore
.gitmodules vendor: remove norcow submodule 2017-03-30 21:02:05 +02:00
.travis.yml
emu.sh
LICENSE.md
Makefile trezorhal: don't set SCB->VTOR in SystemInit 2017-03-30 16:47:02 +02:00
Makefile.bootloader bootloader/loader: rename crypto.c/h to image.c/h, refactor 2017-04-01 13:41:07 +02:00
Makefile.firmware bootloader/loader: rename crypto.c/h to image.c/h, refactor 2017-04-01 13:41:07 +02:00
Makefile.loader bootloader/loader: rename crypto.c/h to image.c/h, refactor 2017-04-01 13:41:07 +02:00
README.md Adding gcc-multilib for debian/ubuntu 2017-03-28 15:02:02 +02: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 gcc-multilib
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