From 1d4152a36ff021d95c1ab9ad22bda7aae020bc0f Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Mon, 5 Aug 2019 15:42:29 +0200 Subject: [PATCH] target: Make sure variant_string is consistent in size It's a global symbol and LTO will complain if the one in this file and the one in EFM32 target are inconsistent. Signed-off-by: Sylvain Munaut --- src/target/samd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/samd.c b/src/target/samd.c index 588ca83..13e97fd 100644 --- a/src/target/samd.c +++ b/src/target/samd.c @@ -364,7 +364,7 @@ static void samd_add_flash(target *t, uint32_t addr, size_t length) target_add_flash(t, f); } -char variant_string[40]; +char variant_string[60]; bool samd_probe(target *t) { uint32_t cid = samd_read_cid(t);