Commit Graph

12 Commits

Author SHA1 Message Date
pscott
d541f1f524 Add pointer to msg_sender in Eth_plugin_finalize (#170)
* Add some PRINTF debug statements and fir additional screens init

* Memzero struture and use two pointers less

* Clang-format

* Use ADDRESS_LENGTH where possible; Add printf statements when failing to compare contracts

* clang-format

* Remove 'token1' and 'token2' locals

* Fix typo

* apply clang-format

* Add bip32path to sharedRO for plugins

* Change getEthAddressStringFromKey to accept char instead of uint8_t

* Update ethereum plugin sdk

* Add BYPASS_SIGNATURES compilation option

* Remove bip32path and pathLength from sharedRO; add msg_sender pointer to pluginFinalize.address

* clang format eth_plugin_interface

* Update submodule

* Set address BEFORE making the finalize call

* Update SDK

Co-authored-by: TamtamHero <10632523+TamtamHero@users.noreply.github.com>
2021-07-09 11:46:36 +02:00
pscott
0dbb693c59 clang-format 2021-06-08 10:25:15 +02:00
pscott
a61a155d0b Add additionalScreens field 2021-06-08 10:25:15 +02:00
Jean-Baptiste Bédrune
25c7582749 Better types in plugin interface 2021-06-08 10:24:52 +02:00
Jean-Baptiste Bédrune
ca8dd3ab3c Add version field in ethPluginInitContract_t 2021-06-08 10:24:52 +02:00
TamtamHero
b821c0d8a7 Add setExternalPlugin command 2021-06-08 10:24:50 +02:00
pscott
f893637d71 Clang-format 2021-04-27 10:37:22 +02:00
pscott
6cd4b6e2aa Revamp return results of plugins 2021-04-24 12:14:36 +02:00
pscott
c006233a78 Fix enum value for UNAVAILABLE 2021-04-24 12:02:25 +02:00
pscott
0af10691eb Verify return value of plugin 2021-04-23 19:15:30 +02:00
TamtamHero
17bd07a346 Apply clang-format 2020-12-01 16:20:13 +01:00
BTChip github
38da718b00 Plugins support WIP 2020-11-16 17:06:37 +01:00