Post
Topic
Board Hardware wallets
Re: [ESHOP launched] Trezor: Bitcoin hardware wallet
by
stick
on 29/10/2014, 17:26:32 UTC
Has anyone successfully compiled the bootloader? It seems something wrong with the dependence in the Makefiles, because it complains /serialno.c:32: undefined reference to `desig_get_unique_id' Thanks.

it is not a trezor issue, but rather a bug in libopencm3 code for f2 family. fix:

diff --git a/lib/stm32/f2/Makefile b/lib/stm32/f2/Makefile
index 9291668..74d97e7 100644
--- a/lib/stm32/f2/Makefile
+++ b/lib/stm32/f2/Makefile
@@ -34,7 +34,7 @@ CFLAGS                = -Os -g \
 # ARFLAGS      = rcsv
 ARFLAGS                = rcs
 
-OBJS           = gpio.o rcc.o
+OBJS           = gpio.o rcc.o desig.o
 
 OBJS            += crc_common_all.o dac_common_all.o dma_common_f24.o \
                    gpio_common_all.o gpio_common_f0234.o i2c_common_all.o \