Skip to content

Commit 8435c0c

Browse files
committed
Merge remote-tracking branch 'benma/ethparams'
2 parents d54b576 + df61e94 commit 8435c0c

File tree

17 files changed

+2619
-14078
lines changed

17 files changed

+2619
-14078
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,6 @@ set(CRYPTOAUTHLIB-SOURCES
145145
)
146146
set(CRYPTOAUTHLIB-SOURCES ${CRYPTOAUTHLIB-SOURCES} PARENT_SCOPE)
147147

148-
set(ETHEREUM-SOURCES
149-
${CMAKE_SOURCE_DIR}/src/apps/eth/eth_params.c
150-
)
151-
set(ETHEREUM-SOURCES ${ETHEREUM-SOURCES} PARENT_SCOPE)
152-
153148
set(FIRMWARE-DRIVER-SOURCES
154149
${CMAKE_SOURCE_DIR}/src/usb/class/hid/u2f/hid_u2f.c
155150
)
@@ -412,7 +407,6 @@ add_custom_target(rust-bindgen
412407
--allowlist-var SD_MAX_FILE_SIZE
413408
--allowlist-function sd_free_list
414409
--allowlist-var BIP39_WORDLIST_LEN
415-
--allowlist-function app_eth_erc20_params_get
416410
--rustified-enum simple_type_t
417411
--rustified-enum multisig_script_type_t
418412
--rustified-enum output_type_t
@@ -654,7 +648,7 @@ if(CMAKE_CROSSCOMPILING)
654648

655649
target_sources(firmware.elf PRIVATE firmware.c)
656650
target_compile_definitions(firmware.elf PRIVATE PRODUCT_BITBOX_MULTI "APP_BTC=1" "APP_LTC=1" "APP_ETH=1" "APP_U2F=1")
657-
target_sources(firmware.elf PRIVATE ${FIRMWARE-U2F-SOURCES} ${ETHEREUM-SOURCES} ${PLATFORM-BITBOX02-SOURCES})
651+
target_sources(firmware.elf PRIVATE ${FIRMWARE-U2F-SOURCES} ${PLATFORM-BITBOX02-SOURCES})
658652

659653
target_sources(firmware-btc.elf PRIVATE firmware.c)
660654
target_compile_definitions(firmware-btc.elf PRIVATE PRODUCT_BITBOX_BTCONLY "APP_BTC=1" "APP_LTC=0" "APP_ETH=0" "APP_U2F=0")

0 commit comments

Comments
 (0)