mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
markdown: follow commonmark spec
This commit is contained in:
parent
b141e6b1e3
commit
cc525e97ce
20
README.md
20
README.md
@ -1,11 +1,10 @@
|
|||||||
|
# TREZOR Core
|
||||||
|
|
||||||
![TREZOR Core](docs/trezor_core.png)
|
![TREZOR Core](docs/trezor_core.png)
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/trezor/trezor-core.svg?branch=master)](https://travis-ci.org/trezor/trezor-core) [![gitter](https://badges.gitter.im/trezor/community.svg)](https://gitter.im/trezor/community)
|
[![Build Status](https://travis-ci.org/trezor/trezor-core.svg?branch=master)](https://travis-ci.org/trezor/trezor-core) [![gitter](https://badges.gitter.im/trezor/community.svg)](https://gitter.im/trezor/community)
|
||||||
|
|
||||||
This is the core of the upcoming TREZOR v2. It consists of several parts:
|
This is the core of the upcoming TREZOR v2.
|
||||||
|
|
||||||
* patched version of [MicroPython](https://github.com/micropython/micropython) - in `vendor/micropython`
|
|
||||||
* application logic - in `src`
|
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
@ -17,7 +16,7 @@ This is the core of the upcoming TREZOR v2. It consists of several parts:
|
|||||||
|
|
||||||
#### Debian/Ubuntu
|
#### Debian/Ubuntu
|
||||||
|
|
||||||
```
|
```sh
|
||||||
sudo dpkg --add-architecture i386
|
sudo dpkg --add-architecture i386
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install libsdl2-dev:i386 libsdl2-image-dev:i386
|
sudo apt-get install libsdl2-dev:i386 libsdl2-image-dev:i386
|
||||||
@ -26,21 +25,21 @@ make build_unix
|
|||||||
|
|
||||||
#### Fedora
|
#### Fedora
|
||||||
|
|
||||||
```
|
```sh
|
||||||
sudo yum install SDL2-devel.i686 SDL2_image-devel.i686
|
sudo yum install SDL2-devel.i686 SDL2_image-devel.i686
|
||||||
make build_unix
|
make build_unix
|
||||||
```
|
```
|
||||||
|
|
||||||
#### openSUSE
|
#### openSUSE
|
||||||
|
|
||||||
```
|
```sh
|
||||||
sudo zypper install libSDL2-devel-32bit libSDL2_image-devel-32bit
|
sudo zypper install libSDL2-devel-32bit libSDL2_image-devel-32bit
|
||||||
make build_unix
|
make build_unix
|
||||||
```
|
```
|
||||||
|
|
||||||
### OS X
|
### OS X
|
||||||
|
|
||||||
```
|
```sh
|
||||||
brew install --universal sdl2 sdl2_image
|
brew install --universal sdl2 sdl2_image
|
||||||
make build_unix
|
make build_unix
|
||||||
```
|
```
|
||||||
@ -53,11 +52,12 @@ Not supported yet ...
|
|||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
|
|
||||||
For flashing firmware to blank device (without bootloader) by `make flash`, please install [stlink](https://github.com/texane/stlink)
|
For flashing firmware to blank device (without bootloader) by `make flash`,
|
||||||
|
please install [stlink](https://github.com/texane/stlink).
|
||||||
|
|
||||||
#### Debian/Ubuntu
|
#### Debian/Ubuntu
|
||||||
|
|
||||||
```
|
```sh
|
||||||
sudo apt-get install gcc-arm-none-eabi libnewlib-arm-none-eabi
|
sudo apt-get install gcc-arm-none-eabi libnewlib-arm-none-eabi
|
||||||
make build_trezorhal
|
make build_trezorhal
|
||||||
```
|
```
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
# TREZOR Core API
|
# TREZOR Core API
|
||||||
|
|
||||||
Syntax used below is a valid Python function declaration with type hints defined in [PEP 0484](https://www.python.org/dev/peps/pep-0484/).
|
Syntax used below is a valid Python function declaration with type hints
|
||||||
|
defined in [PEP 0484](https://www.python.org/dev/peps/pep-0484/).
|
||||||
|
@ -31,7 +31,6 @@ TREZOR Core (second stage) bootloader consists of 2 parts:
|
|||||||
1. bootloader header
|
1. bootloader header
|
||||||
2. bootloader code
|
2. bootloader code
|
||||||
|
|
||||||
|
|
||||||
### Bootloader Header
|
### Bootloader Header
|
||||||
|
|
||||||
Total length of bootloader header is always 256 bytes.
|
Total length of bootloader header is always 256 bytes.
|
||||||
|
Loading…
Reference in New Issue
Block a user