commit | 4632d8de5f75cab816530ad7e657af14be126606 | [log] [tgz] |
---|---|---|
author | Evan Gates <evan@gnarbox.com> | Thu Jun 28 13:27:40 2018 -0700 |
committer | Fabio Utzig <utzig@utzig.org> | Fri Jun 29 11:18:18 2018 -0300 |
tree | 27c9e57f7f1379c2658e8555bae0759c930d639a | |
parent | b97ec0fee8752f3fa376107dd053a7c02384bb8c [diff] [blame] |
include soc.h in main.c While building with Zephyr 1.12 for the nucleo_f091rc I got undefined reference to __set_MSP() during linking. Including soc.h fixes the problem. Thanks carlesc. Signed-off-by: Evan Gates <evan@gnarbox.com>
diff --git a/boot/zephyr/main.c b/boot/zephyr/main.c index a1ad861..5633a14 100644 --- a/boot/zephyr/main.c +++ b/boot/zephyr/main.c
@@ -20,6 +20,7 @@ #include <misc/__assert.h> #include <flash.h> #include <drivers/system_timer.h> +#include <soc.h> #include "target.h"