1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-20 21:38:26 +00:00
Commit Graph

11 Commits

Author SHA1 Message Date
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
Pavol Rusnak
9588e8f273
update bootloader to 1.4.0 via firmware, run unsigned firmware in unprivileged mode 2018-03-20 15:44:20 +01:00
Pavol Rusnak
18d8cb3c56
add project website (trezor.io) to license header 2017-11-05 17:47:23 +01:00
Pavol Rusnak
c796800b2b
memory_protect: fix FLASH_OPTCR check 2017-08-31 13:43:31 +02:00
Pavol Rusnak
0c30a19300
memory_protect: update last commit 2017-08-31 11:32:47 +02:00
mcudev
5bb769a740 memory_protect: add flash interface register check (#218) 2017-08-31 11:25:25 +02:00
mruddy
90d214eb4b add ability for developers to easily avoid locking their flash memory sectors 2017-06-30 15:47:16 +02:00
mruddy
228a109e5f memory protection: do not write reserved bits (#138) 2017-01-26 16:07:45 +01:00
Pavol Rusnak
5f8a4f6da1 use hdnode_private_ckd_cached where appropriate 2015-01-26 20:24:07 +01:00
Pavol Rusnak
ea42f6af4e adapt to new opencm3 include structure 2014-06-19 00:12:31 +02:00
Pavol Rusnak
0d0a1ab5f2 import v1.0.0 2014-04-29 14:38:32 +02:00