2017-04-17 15:57:42 +00:00
|
|
|
#if defined TREZOR_STM32
|
2017-09-28 09:27:58 +00:00
|
|
|
|
2017-04-05 00:23:48 +00:00
|
|
|
#define NORCOW_STM32 1
|
2017-09-28 09:27:58 +00:00
|
|
|
|
|
|
|
#define NORCOW_START_SECTOR 2
|
2017-03-30 18:50:50 +00:00
|
|
|
#define NORCOW_START_ADDRESS 0x08008000
|
2017-09-28 09:27:58 +00:00
|
|
|
|
2017-04-17 15:57:42 +00:00
|
|
|
#elif defined TREZOR_UNIX
|
2017-09-28 09:27:58 +00:00
|
|
|
|
2017-04-17 15:57:42 +00:00
|
|
|
#define NORCOW_UNIX 1
|
2017-09-28 09:27:58 +00:00
|
|
|
|
2017-04-17 15:57:42 +00:00
|
|
|
#define NORCOW_FILE "/var/tmp/trezor.config"
|
2017-09-28 09:27:58 +00:00
|
|
|
|
2017-04-17 15:57:42 +00:00
|
|
|
#else
|
2017-09-28 09:27:58 +00:00
|
|
|
|
2017-04-17 15:57:42 +00:00
|
|
|
#error Unsupported TREZOR port. Only STM32 and UNIX ports are supported.
|
2017-09-28 09:27:58 +00:00
|
|
|
|
2017-03-30 18:50:50 +00:00
|
|
|
#endif
|