1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-19 04:48:12 +00:00
trezor-firmware/bootloader
Jochen Hoenicke c09590b54d Cleaner flash handling using FLASH_PTR
Use `FLASH_PTR` macro to convert a flash address to a const pointer.
For real hardware it is just a cast, for emulator we subtract the
`FLASH_ORIGIN` and use it as index into the memory mapped flash file.

Make write access to flash with volatile pointers

Also use FLASH_PTR in DebugMemory* for now.  This allows for reading and
writing the flash in the emulator or just crash it by reading outside
the flash...
2018-03-29 01:16:46 +02:00
..
combine fix combine/prepare script for python3 2017-02-04 11:20:58 +01:00
.gitignore bootloader source code 2014-10-23 18:09:41 +02:00
bootloader.c Cleaner flash handling using FLASH_PTR 2018-03-29 01:16:46 +02:00
bootloader.h bootloader: bump version to 1.4.0 2018-03-13 15:42:31 +01:00
ChangeLog docs: update changelogs 2018-03-21 12:29:38 +01:00
firmware_align.py bootloader: align during docker build 2017-07-19 12:52:46 +02:00
firmware_sign_split.py adapt python scripts to Python3 2017-02-01 18:07:47 +01:00
firmware_sign.py firmware_sign: Python 3 compatibility (#156) 2017-03-05 14:43:22 +01:00
Makefile introduce and use memzero instead of explicit_bzero 2018-01-18 15:21:48 +01:00
signatures.c bootloader: guard signatures_ok calls with firmware_present (or !brand_new_firmware) 2018-03-15 04:15:41 +01:00
signatures.h bootloader: refactor signatures_ok return value 2018-03-13 15:41:42 +01:00
usb.c Cleaner flash handling using FLASH_PTR 2018-03-29 01:16:46 +02:00
usb.h add project website (trezor.io) to license header 2017-11-05 17:47:23 +01:00